3 unstable releases

Uses old Rust 2015

0.2.0 Oct 2, 2017
0.1.3 Sep 11, 2017
0.1.2 Sep 9, 2017

#4 in #etcommon

Apache-2.0 and GPL-3.0 licenses

95KB
2K SLoC

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

  • debug_dumpBlock
  • debug_getBlockRlp
  • debug_traceBlock
  • debug_traceBlockByNumber
  • debug_traceBlockByHash
  • debug_traceBlockFromFile
  • debug_traceTransaction

Dependencies

~19MB
~332K SLoC