$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmt
Please sure you are always using the latest stable rust version by running:
$ rustup update
On 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-compiler
On 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/velas/velas-chain.git
$ cd velas-chain
$ cargo build
$ ./run.sh
Run the test suite:
$ cargo test --no-fail-fast
Info 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 nightly
Run the benchmarks:
$ cargo +nightly bench
The release process for this project is described here.