Testnets
Last updated
Was this helpful?
Was this helpful?
cp ~/smart_bch/smartbch/smartbchd ~/build/smartbchd
cd ~
rm -rf .smartbchd
~/build/smartbchd init mynode --chain-id 0x2711
wget https://github.com/smartbch/artifacts/releases/download/v0.0.5/dot.smartbchd.tgz
tar zxvf dot.smartbchd.tgz
cp -rf dot.smartbchd/* .smartbchd/~/build/smartbchd start --mainnet-genesis-height=602983regtest=1
[regtest]
bind=0.0.0.0
port=8331
rpcbind=0.0.0.0
rpcport=8332
zmqpubhashtx=tcp://0.0.0.0:8333
zmqpubhashblock=tcp://0.0.0.0:8333
rpcuser=test
rpcpassword=test
rpcthreads=4
rpcallowip=0.0.0.0/0
whitelistrelay=0
addnode=47.115.171.70:28331git clone https://github.com/smartbch/smartbch.git
cd smartbch
docker image build -f Dockerfile.optimized \
--build-arg SMARTBCH_BUILD_TAGS='cppbtree,params_amber' \
--build-arg SMARTBCH_VERSION=v0.4.2 \
--build-arg CONFIG_VERSION=v0.0.4 \
--build-arg CHAIN_ID=0x2711 \
-t smartbchd-amber:latest .cd somewhere
mkdir smartbchd_home
docker run \
-v path/to/smartbchd_home:/root/.smartbchd \
smartbchd:latest init mynode --chain-id 0x2711
wget https://github.com/smartbch/artifacts/releases/download/v0.0.4/dot.smartbchd.tgz
tar xvf dot.smartbchd.tgz
cp -rfv dot.smartbchd/* smartbchd_home/docker run \
-v path/to/smartbchd_home:/root/.smartbchd \
-p 0.0.0.0:18545:8545 \
-p 0.0.0.0:18546:8546 \
--ulimit nofile=65535:65535 \
-d smartbchd-amber:latest start --mainnet-genesis-height=602983