$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmtPlease sure you are always using the latest stable rust version by running:
$ rustup updateOn Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, etc. On Ubuntu:
$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make cmake protobuf-compilerOn Mac M1s, make sure you set up your terminal & homebrew to use Rosetta. You can install it with:
$ softwareupdate --install-rosetta$ git clone https://github.com/Nexis-AI/velas-chain.git
$ cd velas-chain$ cargo build$ ./run.shRun the test suite:
$ cargo test --no-fail-fastInfo about EVM integration is at our docs.
Start your own Development network locally, instructions are in the online docs.
testnet- public accessible via bootstrap.testnet.veladev.net.mainnet- public accessible via bootstrap.velas.com.
First install the nightly build of rustc. cargo bench requires use of the
unstable features only available in the nightly build.
$ rustup install nightlyRun the benchmarks:
$ cargo +nightly benchThe release process for this project is described here.