Why compile starcoin from source? Why not download a released binary? Because I want to contribute code to it, maybe in the future.

But the toolchain is awesome, the progress is very simple. Just two steps:

  1. Clone the code from GitHub

    git clone git@github.com:starcoinorg/starcoin.git
    
  2. Run scripts/dev_setup.sh:

    cd starcoin
    ./scripts/dev_setup.sh
    

Then we are ready to compile:

cargo build

Wait? You haven’t install Rust yet? Please refer to Getting started.

When it have done, then we can run our dev node:

./target/debug/starcoin -n dev console

A starcoin% is waiting for you.