Run a PoS node using source code

Install docker, then

step 1. Create container
$ docker run -d -it --privileged=true --name cfxbuildinstance01 -it gspos/cfxbuild:0.0.1

step 2. Enter container
$ docker attach cfxbuildinstance01

step 3. Clone conflux-rust
$ git clone https://github.com/Conflux-Chain/conflux-rust

step 4. Swtich to pos_testnet branch and build it
$ cd conflux-rust
$ git checkout pos_testnet
$ cargo build --release

step 5. Copy build file to folder run
$ cp target/release/conflux run/

step 6. Run build node.
$ cd run; sh start.sh

Dockhub page : https://hub.docker.com/r/gspos/cfxbuild

[shared by GS PoS Pool]

1 Like