Setting up a Node
Learn how to start the mining process by setting up a node
MaxxChain Node Setup
These instructions are for Ubuntu users, will work for version 18,20,22
Setup a user
Create a user ubuntu and provide sudo permission
Make him sudo
Try not to use root to install. Use ubuntu user to continue with steps below.
Default Ports
Allow ports 30303, 8545 on firewall with the following command
🚨 Security Alert 🚨
If you are mining do not open port (8545)
Switch to the ubuntu user we just created above
Install Go Lang:
🚨 Make sure you are in /home/ubuntu folder 🚨
Installing MaxxChain Node
Clone Repo and build geth
Add geth to path (optional)
Setup genesis Block
If you want to run MaxxChain Testnet node use 👇
If you will be running a MaxxChain Mainnet node use 👇
Start Geth and Node Sync
Chain Id's for MaxxxChain Mainnet and Testnet
Mainnet = 10201
Testnet = 10203
🚨 Important note 🚨
Make sure to replace the --networkid 10201 with the appropiate chain id depending if you want to run the MaxxChain mainnet or the testnet.
Connect to geth console to add seed peers
Give permission to the executable bash file
Run the command to install community defined MaxxChain peers onto your geth
If you are running MaxxChain mainnet
If you are running MaxxChain testnet
Congratulations you have your geth full node up and running.
If you wish to support the MaxxChain community by dedicating your node to the public to further allow other nodes connect with your node you can use the instruction below
Start Geth Node Using
Where your_server_public_address is the ip address of your server that is publicly available
Make sure you are in the go-ethereum directory then run this command to get your node peer url
If that is successful you will see a long string starting with enode:// and ending with your server_ip:30303, share this string with the
MaxxChain team/Dev team and it will be included in our community peers list on our github https://github.com/maxxchain/bootnodes/blob/main/mainnet-nodes.txt
Thank you for reading, if you have any issues setting this up you can ask more questions on the telegram and we will come to your rescue.
Last updated