1.0.4 • Published 1 year ago

casper-manager v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Casper Manager

Snap to enable MetaMask users interaction with Casper dapps.

For detailed documentation and integration instructions see our helper.

RPC Methods

casper_getAccount

Take one optional parameter which is addressIndex. Default to 0.

Define the index of the Casper address to derive.

casper_sign

Take 3 arguments :

deployJson -> A JSON formatted deploy.

addressIndex -> Default to 0. Define the index of the Casper address to derive.

casper_signMessage

Take 2 arguments :

message -> Your message to sign. Ex: Hello World

addressIndex -> Default to 0. Define the index of the Casper address to derive.