1 core machine with 2 GB RAM, running Linux or Mac, with Docker and Docker Compose installed.
At least 100 GB storage for chain data. (Estimated storage requirement: 40 GB per year)
Please make sure that your TCP port 26656 is connectable from external network.
- upgrade Cosmos SDK and Tendermint version
- now only validators can submit and vote for governance proposals
- inflation rate reduced to 1% (i.e. targeting to mint 10,000,000 LikeCoin for the first year)
- port 26657 is not necessary for P2P connections
- expected blocks per year is adjusted to 6311520 (i.e. 5 seconds per block)
- Clone the project
- Build the Docker image
- Initialize the node and account keys
- Generate genesis transaction
- Share with validators the genesis transaction
- After aggregating genesis transactions, we will generate a genesis.json, with a determined genesis time
- Replace the old genesis.json with the new one
- Start up the node and wait for genesis time
- At genesis time, the nodes will connect and start to generate blocks automatically
Run git clone https://github.com/likecoin/likecoin-chain --branch sheungwan --single-branch, then cd likecoin-chain.
The commit hash of the software used is 61c2d9627ad62496a72d8d70d558fc28c7cdb57a.
Run ./scripts/build.sh.
Download genesis-likecoin-chain-sheungwan-partial.json
Run ./scripts/init.sh MONIKER genesis-likecoin-chain-sheungwan-partial.json 913bd0f4bea4ef512ffba39ab90eae84c1420862@34.82.131.35:26656, where MONIKER is your node's custom name.
When asked, enter and repeat a passphrase for protecting your account key.
This will create .liked and .likecli directories, with node config and keys initialized.
Run ./scripts/gentx.sh.
The script will ask for some information about your node, including description, amount to delegate, identifier (optional) and website (optional).
For the amount, please enter 1000000000nanolike (which represents 1 LikeCoin). After the mainnet launch, we will assign some delegations to validators.
After that, you will need to input the passphrase which you set for your keys to sign the genesis transaction.
After running ./scripts/gentx.sh, the genesis transaction will be generated and stored in ./.liked/config/gentx/ folder, as a JSON file.
Please share with validators this JSON file on Slack in order to generate the genesis.json.
(update: the genesis.json is available here, sha256: 0580aee33ab35f7481cd323b81789e40de6a42437b23d8fb6a5c2aaf6fa20680)
Put the genesis.json we sent to you into ./.liked/config/ to replace the partial one.
Run docker-compose up -d. This will create and run the Docker containers in background.
To see if the node is running well, you can input docker-compose logs to see if there is any error.
In the genesis.json, there is a field genesis_time, which indicates the time (in UTC) when will the nodes connect and generate the first block. At the genesis time, the node will automatically connect to other nodes and start to generate blocks.