🗜️Compile witnet-rust from Source Code
Install compilation dependencies
Rust
witnet-rust
is being developed using the Rust programming language. You need to install Rust on your system to be able to compile the source code. Follow installation instructions for your operating system provided on rustup.rs
Compilation dependencies
Clone source code from Witnet GitHub repository
Get the latest genesis_block.json
Compile and run with cargo
cargo
By default, this line will run a Witnet node and connect to the Testnet using the default configuration:
For more witnet-rust
commands you can read the witnet-rust CLI documentation.
Building a release
This one-liner will build a releasable standalone binary compatible with the architecture of your computer's processor:
The resulting binary will be located at ./target/release/witnet
.
Last updated