Ninjas Practicing Multidimensionality

    @tubu/tubuio-sdk-node

    0.1.6 • Public • Published

    tubu.io logo

    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

    Keywords

    Install

    npm i @tubu/tubuio-sdk-node

    DownloadsWeekly Downloads

    2

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    16.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • tubuarge
    • safakoks
    • berkaykorkmaz