0.0.5 • Published 2 years ago
ergoscript.js v0.0.5
Ergoscriptjs
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: {},
},
]);