Düğüm Çalıştırma
Docker ile tam bir düğüm veya doğrulayıcı düğüm çalıştırmak için aşağıda belirtilen adımları izleyin:
Aşağıdaki komutu kullanarak Docker görüntüsünü indirin:
docker pull 5 irechain / 5 ire - node: mainnet
Docker görüntüsünü çalıştırın
For a full node, run the following command:
docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-node:mainnet --no-telemetry --base-path /5ire/data/ --chain /5ire/specs/5ire-mainnet-specRaw.json --bootnodes /ip4/44.229.117.8/tcp/30333/p2p/12D3KooWHZ98etYokeswbKfCbUrgU2U2RjEaH1t1HprVGcLcFcnD --pruning archive --rpc-external --rpc-cors all
For a validator node, run the following command:
docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-node:mainnet --no-telemetry --base-path /5ire/data --chain /5ire/specs/5ire-mainnet-specRaw.json --bootnodes /ip4/44.229.117.8/tcp/30333/p2p/12D3KooWHZ98etYokeswbKfCbUrgU2U2RjEaH1t1HprVGcLcFcnD --validator
For validators that need to connect to an external app, --rpc-methods Unsafe
may need to be used, however security risks are involved (for more info, refer to the Substrate documentation ).
For a validator node with —rpc-methods Unsafe, run the following command:
docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-node:mainnet --no-telemetry --base-path /5ire/data --chain /5ire/specs/5ire-mainnet-specRaw.json --bootnodes /ip4/44.229.117.8/tcp/30333/p2p/12D3KooWHZ98etYokeswbKfCbUrgU2U2RjEaH1t1HprVGcLcFcnD --validator --rpc-external --rpc-cors all --rpc-methods Unsafe
Not
The above commands assume that the user has installed Docker on the server according to the Docker guidelines.
If the current user hasn’t been added to the docker
group then the user will need to prepend sudo
to the command before running.
Next Steps
Now that you have successfully completed the node setup, head over to the Validator app section to get onboarded and contribute to the security of the 5ireChain network.