Build from Source

Build starcoin from source.

  1. Clone source code

    git clone https://github.com/starcoinorg/starcoin.git
    cd starcoin
    
  2. Setup build environment

    ./scripts/dev_setup.sh
    
  3. Run debug build

    cargo build
    
  4. Run release build

    cargo build --release
    

The debug version starcoin at target/debug/starcoin, and release version at target/release/starcoin.