Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

DEPLOY/PROPOSE USING DEV BOOTSTRAP

VALIDATOR-PRIVATE-KEY=901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7

CONTAINER=sudo docker ps -q | head -n 1

docker pull rnode/rchain:dev

sudo docker run -u root --network host -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key <validator-private-key>

docker ps -a

sudo docker exec -it <container-name> /bin/bash

for i in `ls /opt/docker/examples/*.rho | sort -R | tail -n 3`; do echo "running deploy with ${i}"; /opt/docker/bin/rnode deploy ${i}; done

/opt/docker/bin/rnode propose

/opt/docker/bin/rnode show-blocks

/opt/docker/bin/rnode show-block <hash>

MASTER

https://repo.pyr8.io/rchain/downloads/master/

sudo -u rnode rnode run --data_dir /var/lib/rnode -b rnode://acd0b05a971c243817a0cfd469f5d1a238c60294@52.119.8.109:40400

docker pull rnode/rchain:master

sudo docker run -u root --network="host" -it rchain/rnode:master run -b rnode://acd0b05a971c243817a0cfd469f5d1a238c60294@52.119.8.109:40400

DEV

https://repo.pyr8.io/rchain/downloads/dev/

sudo -u rnode rnode run --data_dir /var/lib/rnode -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400

docker pull rnode/rchain:dev

sudo docker run -u root --network="host" -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400


With Validator

sudo docker run -u root --network="host" -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7

validator and port

sudo docker run -u root --network="host" -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 -p 7777

  • No labels