Home

Awesome

SputnikVM Developer Environment

Build Status Build status

Development environment based on SputnikVM and etcommon.

Usage

You can either download svmdev from the release page, or build it by yourself by installing Rust, and run cargo run. We currently support Linux and MacOS, and Windows.

USAGE:
    svmdev [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --accounts <ACCOUNTS>      Additional accounts to be generated, default to 9.
    -b, --balance <BALANCE>        Balance in Wei for the account to be generated, default is 0x10000000000000000000000000000.
    -l, --listen <LISTEN>          Listen address and port for the RPC, e.g. 127.0.0.1:8545.
    -k, --private <PRIVATE_KEY>    Private key for the account to be generated, if not provided, a random private key will be generated.

After started, svmdev will print out the address and private key with balance for testing. It will then generate new blocks every ten seconds, and include all pending transactions that yet to be confirmed. You can then use the RPC endpoints below to test your blockchain application.

Supported RPC Endpoints

Below is a list of all the supported RPC endpoints by sputnikvm-dev.

Supported Debug Endpoints