Using a Docker container
Sync Chain Data
Using Docker to run a Mainnet node
Generating a network p2p key (Necessary for new Mainnet nodes starting 3.52.0)
docker run --name creditcoin-validator -p 30333:30333 -v <your local data path>:/creditcoin-node/data gluwa/creditcoin3:3.66.0-mainnet key generate-node-key --chain mainnet --base-path <your-base-path> --binError: NetworkKeyNotFound("/data/chains/creditcoin3/network/secret_ed25519")docker run \
--name creditcoin-validator \
-p 30333:30333 \
-v <your local data path>:/creditcoin-node/data \
gluwa/creditcoin3:3.66.0-mainnet `# Enter latest mainnet image` \
--name "validator name" `# name the validator` \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" `# (optional) opt in to telemetry` \
--public-addr "/dns4/<yourhostname or ip>/tcp/30333" `# REPLACE <yourhostname or ip> with the public IP address or host name at which your node can be reached` \
--chain /mainnetSpecRaw.json `# we want to connect to mainnet` \
--bootnodes "/dns4/cc3-bootnode.creditcoin.network/tcp/30333/p2p/12D3KooWLGyvbdQ3wTGjRAEueFsDnstZnV8fN3iyPTmHeyswSPGy" \
--validator `# if we want to run a validator node` \
--base-path /creditcoin-node/data `# the base path to store the node's data` \
--port 30333 # the port to use for node-to-node communicationsdocker run \
--name creditcoin-validator \
-p 30333:30333 \
-v <your local data path>:/creditcoin-node/data \
gluwa/creditcoin3:3.66.0-mainnet \
--name "validator name" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
--public-addr "/dns4/<yourhostname or ip>/tcp/30333" \
--chain /mainnetSpecRaw.json \
--bootnodes "/dns4/cc3-bootnode.creditcoin.network/tcp/30333/p2p/12D3KooWLGyvbdQ3wTGjRAEueFsDnstZnV8fN3iyPTmHeyswSPGy" \
--validator \
--base-path /creditcoin-node/data \
--port 30333Using Docker to run a Testnet node
Generating a network p2p key (Necessary for new Testnet nodes starting 3.47.0)
Last updated