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 --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 ${i}; done
for i in `ls /opt/docker/examples/tut-hello.rho | sort -R | tail -n 3`; do echo "running deploy with ${i}"; /opt/docker/bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 ${i}; done
Node Test testing branch
Code Block |
---|
sudo docker run -u root --network host -it rchain/rnode:testing run -b rnode://f4f20286feebc89d36d11b9e6ad726b6dd3d1490@52.119.8.51:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 |
...
You will need your validator-private-key from here https://docs.google.com/spreadsheets/d/18merD3OzaDk7nmxQ78SUZBzWLbxA-aOnmcdxpXrp_U0
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>
...
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