Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DEPLOY/PROPOSE USING DEV BOOTSTRAP

...

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>

...

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

nano helloworldfromjeremy.rho

Code Block
new helloWorld in {
  contract helloWorld(@name) = {
    new ack in {
      @"stdoutAck"!("Hello, ", *ack) |
      for (_ <- ack) {
        @"stdoutAck"!(name, *ack) |
        for (_ <- ack) {
          @"stdout"!("\n")
        }
      }
    }
  } |
  helloWorld!("JeremyBusk")
}


MASTER

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

...

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