A Guide to using the factom.js library to write a simple Node.js application using Factom

BackgroundThe Factom Protocol is a general purpose data protocol (and soon to be tokenization platform) that started in 2014. The following is a "Hello World" tutorial using the factom.js library.TutorialIn this tutorial we will be using the factom.js library to write a simple Node.js application using Factom. Along the way we will learn the important concepts of Factom and all the fundamental operations to interact with the blockchain.RequirementsNode.js 8+ npm (or yarn) Docker (if using Factom Dev Stack to run the local Factom blockchain)SetupSetting up a local Factom blockchainFor this tutorial we will be running our own local Factom blockchain to make our development experience smoother:We have a faster block time (few seconds instead of 10 minutes on mainnet/testnet).We have immediate access to Factoids to interact with the blockchain (for free).We avoid potential availability/connectivity/latency inconveniences.In this tutorial we'll be using the simplest solution, Factom Dev Stack (FDS), that only requires you to have Docker installed. There exist other ways to set up a developer sandbox which can you can lookup here.Install Factom Dev Stack globally on your machine.Continue reading the tutorial

Submitted March 13, 2019 at 08:32PM

No comments:

Post a Comment