0.1.8 • Published 1 year ago

@tubu/tubuio-sdk-node v0.1.8

Weekly downloads
12
License
MIT
Repository
github
Last release
1 year ago

JavaScript SDK for tubu.io

Example Usage

const Tubu = require('@tubu/tubuio-sdk-node');

// Create a new Tubu instance with api key
const app = new Tubu('APP_API_KEY');

// Create a new contract instance with the shortID
const contract = app.contract('CONTRACT_SHORTID');

// Call a send method from contract
contract
    .send('METHOD_NAME', { args: [], account: 'ACCOUNT_ADDRESS' })
    .then((result) => {
        console.log(result);
    })
    .catch((err) => {
        console.log(err);
    });

For more details visit the docs page.

License

MIT

0.1.8

1 year ago

0.1.7

2 years ago

0.1.6

4 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago