xdc-web
Version:
XinFin JavaScript API wrapper repository
44 lines (26 loc) • 651 B
Markdown
This is a sub package of [web3.js][repo]
The core package contains core functions for [web3.js][repo] packages.
Please read the [documentation][docs] for more.
```bash
npm install web3-core
```
```js
// in node.js
var core = require('web3-core');
var CoolLib = function CoolLib() {
// sets _requestmanager and adds basic functions
core.packageInit(this, arguments);
};
CoolLib.providers;
CoolLib.givenProvider;
CoolLib.setProvider();
CoolLib.BatchRequest();
CoolLib.extend();
...
```
[]: http://web3js.readthedocs.io/en/1.0/
[]: https://github.com/ethereum/web3.js