Full instructions for first-time contributors are found in the Multi-Signature Tutorial.
The steps below are a quick start if you have already set up your develoment environment, the casper node, the nctl testing tool, and the Casper client SDK.
You need the Rust toolchain to develop smart contracts.
$ cd contract
$ rustup install $(cat rust-toolchain)
$ rustup target add --toolchain $(cat rust-toolchain) wasm32-unknown-unknown
Create a WASM file that will be used by the JS client.
$ cargo build --release
$ cd client
$ npm install
- Set up nctl
- Update
client/src/utils.js
:- Set
baseKeyPath
to your nctl faucet key.
- Set
Run the client code.
$ cd client
$ node src/keys-manager.js
$ node src/keys-manager-set-all.js