

But we DO want the priv_validator.json - so copy it from the new app path like we did before and this time name it priv_validator2.json

Run node chat-node.js to generate a new genesis and priv-validator.json - this time we don't want the new genesis file. Eventually we will delete them from this repo. We need to copy the priv_validator to our repo so we can add these to the genesis as well as use them for our validator servers. Next copy the validator file in the same way to this directory but rename it with a 1 ie mv ~/.lotion/networks/7fff170ea744955c7055dc540d3f68431fd7d2b50b3ca9729c2b2be00a03046e173989453/priv_validator.json.Now you have a genesis file for your app. Copy the genesis.json file from the path above and paste it in the home directory of this repo.This will wipe all blockchain data each time the app is run. In chat-node.js set devMode: true in the Lotion Options.3 Validator Lotion nodes will do the trick. Creating Your Own Blockchainįirst you will need to create a private/public key pair for each Validator you will have on the blockchain. You will need hosting if you are to launch your own blockchain.
#Devslopes github code
Use this code on the billing page: DODEVSLOPES15 Get $15 FREE credit for Digital Ocean hosting. Lotion & Tendermint use Proof of Stake for consensus (which means no miner nodes needed!). Lotion uses Tendermint for p2p, security, consensus and more. This blockchain app uses LotionJS - which is really the world's first Javascript interface for blockchain development. Create your own blockchain following the steps below.To join a bunch of developer nerds in a global chat simply:
