@cryptolions/msig-tool
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@cryptolions/msig-tool

Web tool to build multi-signature transaction on EOSIO chains

Installation


$ npm install --save @cryptolions/msig-tool

Usage


import { Msig } from '@cryptolions/msig-tool';
...
const config = {
    expirationDate: new Date(),
	nameOfProposal: 'Test msig',
	proposerName: 'cryptolions1'
}
const rpc = new JsonRpc('https://api.waxtest.alohaeos.com');
const msig = new Msig({ accountName: 'cryptolions1', permission: 'active' }, config, rpc);
const actionExample = {
	account: 'eosio.token',
	name: 'transfer',
	authorization: [{ actor: 'cryptolions1', permission: 'active' }],
	data: {
		from: 'cryptolions1',
		to: 'cryptolions2',
		quantity: '1.0000000 WAX',
		memo: 'Msig tool',
	}
}

msig.generateMsig([actionExample]).then(res => {
    ...
})

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11
1.0.01

Package Sidebar

Install

npm i @cryptolions/msig-tool

Weekly Downloads

2

Version

1.0.1

License

MIT / Apache 2.0 / GPLv3 / Unlicense

Unpacked Size

14.6 kB

Total Files

10

Last publish

Collaborators

  • viromy
  • ansigroup
  • orange1337