@mutadev/account
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@mutadev/account

Account system for Muta framework,

Signature

const Account = require('@mutadev/account');

const account = new Account('0x...');
account.signTransaction({
  service: '...',
  method: '...',
  payload: '{...}',
  sender: '0x...',
});

Multi-signature

const Account = require('@mutadev/account');

const account = new Account('0x...');
// a signed transaction from another account
const signedTransaction = {};

account.signTransaction(signedTransaction);

Readme

Keywords

none

Package Sidebar

Install

npm i @mutadev/account

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

15.1 kB

Total Files

12

Last publish

Collaborators

  • homura