Skip to content

ipopescu/keys-manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Casper Keys Manager

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.

Install

Set up the Rust toolchain

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

Compile Account Code (Smart Contracts)

Create a WASM file that will be used by the JS client.

$ cargo build --release

Install the JS packages

$ cd client
$ npm install

Prepare the local nctl network

  1. Set up nctl
  2. Update client/src/utils.js:
    • Set baseKeyPath to your nctl faucet key.

Run

Run the client code.

$ cd client
$ node src/keys-manager.js
$ node src/keys-manager-set-all.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.4%
  • Rust 38.3%
  • Makefile 0.3%