mpc-wallet-test
v1.1.0
Published
``` import {generate, sign} from 'mpc-wallet-test'; const keys = await generate(); console.log(keys);
Downloads
8
Readme
example
import {generate, sign} from 'mpc-wallet-test';
const keys = await generate();
console.log(keys);
const shards = [
'<shard>',
'<shard>',
'<shard>'
];
const data = "trade data";
const signHash = await sign(data, shards);
console.log(signHash);