Full Node Instructions
Last updated
Last updated
After successfully creating the binaries, you can proceed to run the full node.
Generate data directories for each of the 4 nodes
Prepare multiaddr string for bootnode
Copy and paste the
Running all servers and node.
Let’s see the steps one by one -
To do so, navigate to your root directory and create a new folder. For consistency, let's name this folder "run", though you're free to choose any name you prefer.
This will navigate you to the "TAN-chain-network" directory and create a new folder named "run" within it. This folder will serve as the directory for running your full node.
Once you're inside the "run" folder, you can proceed with initializing the data directories for your TAN-chain node.
This will generate the data directory for node one with name “test-chain-1”.
test-chain-1 here acts as a prefix for node directory. You can name it as per your convenience.
Example 🎉-
After initializing the data directory, it's time to create the genesis file.
To create the genesis.json
file and populate it with the contents provided, follow these steps:-
In your terminal, ensure you are still within the "run" directory.
Create a new JSON file named genesis.json
using your preferred text editor or terminal command. For example-
Open the genesis.json
file in your text editor or using a command-line text editor like nano
or vim
.
Paste the copied contents into the genesis.json
file.
Save and close the file. If you're using a text editor, follow its specific instructions for saving and closing files.
Once you've completed these steps, your genesis.json
file should be created and populated with the appropriate content.
Copy the contents of the genesis file from the .