Getting Started¶
The mxw-sdk-js library is a compact and complete JavaScript library for Maxonrow blockchain.
Setup¶
Learn how to set up environment & create project.
Installing in Node.js¶
Install the mxw-sdk-js library from your project directory:
$ npm install --save mxw-sdk-js
Importing¶
var mxw = require('mxw-sdk-js');
const mxw = require('mxw-sdk-js');
import { mxw } from 'mxw-sdk-js';
Including in React Native¶
import { mxw } from 'mxw-sdk-js';
Including in React¶
import { mxw } from 'mxw-sdk-js';
Including in Vue.js¶
import { mxw } from 'mxw-sdk-js';
Including in Web Applications¶
For security purposes, it is usually best to place a copy of this script on the application’s server; but using the Maxonrow content distribution network (CDN) should suffice for a quick prototype.
<!-- This exposes the library as a global variable: mxw -->
<script src="https://cdn.maxonrow.com/scripts/mxw-sdk-js-v1.min.js"
charset="utf-8"
type="text/javascript">
</script>