ergoscript.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Ergoscriptjs

npm package Build Status Issues Commitizen Friendly Semantic Release

Install

npm install ergoscript.js

Usage

Basic transaction of send token

const txInstance = new Transaction([
  {
    funds: {
      ERG: 100000,
      tokens: [{ tokenId: 'token id', amount: '1' }],
    },
    toAddress: 'address',
    changeAddress: 'address',
    additionalRegisters: {},
  },
]);

Package Sidebar

Install

npm i ergoscript.js

Weekly Downloads

4

Version

0.0.5

License

MIT

Unpacked Size

33.5 kB

Total Files

21

Last publish

Collaborators

  • nirvanush