NPM Docs

Welcome to libsimba-js


  

 

libsimba-js is a library simplifying the use of SIMBAChain APIs. We aim to abstract away the various blockchain concepts, reducing the necessary time needed to get to working code.

🏠 Homepage

📝 Documentation

Install

npm install @simbachain/libsimba-js

Usage

  • ES2105 module import
    import * as libsimba from '@simbachain/libsimba-js';
    libsimba.getSimbaInstance(...);
  • CommonJS module requires
    const libsimba  = require('@simbachain/libsimba-js');
    libsimba.getSimbaInstance(...);
  • AMD module requires
    require(['@simbachain/libsimba-js'], function (libsimba) {
    libsimba.getSimbaInstance(...);
    });
  • <script> tag import
    <!doctype html>
    <html>
    ...
    <script src="./dist/libsimba.js"></script>
    <script>
    // ...
    // Global variable
    libsimba.getSimbaInstance(...);
    // Property in the window object
    window.libsimba.getSimbaInstance(...);
    // ...
    </script>
    </html>

Examples

See here

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check issues page.

License

Copyright © 2019 SIMBAChain Inc.
This project is MIT licensed.