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.
npm install @simbachain/libsimba-js
- ES2105 module import
import * as libsimba from '@simbachain/libsimba-js';
libsimba.getSimbaInstance(...);
- CommonJS module require
const libsimba = require('@simbachain/libsimba-js');
libsimba.getSimbaInstance(...);
- AMD module require
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>
See here
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Copyright © 2019 SIMBAChain Inc.
This project is MIT licensed.