0.0.7 • Published 3 years ago
o3-dapi-n3 v0.0.7
o3-dapi-n3
NEO3 Plugin for o3-dapi
Requires o3-dapi-core to operate.
npm i --save o3-dapi-n3
or
yarn add o3-dapi-n3
var o3dapiNeo3 = require('o3-dapi-n3');
import o3dapiNeo3 from 'o3-dapi-n3';
Example
import o3dapi from 'o3-dapi-core';
import o3dapiNeo3 from 'o3-dapi-n3';
o3dapi.initPlugins([o3dapiNeo3]);
o3dapi.NEO3.getNetworks()
.then(networks => console.log(networks));