1.2.2-alpha.1 • Published 4 years ago
conflux-web-core-requestmanager v1.2.2-alpha.1
conflux-web-core-requestmanager
This is a sub package of conflux-web
The requestmanager package is used by most conflux-web packages. Please read the documentation for more.
Installation
Node.js
npm install conflux-web-core-requestmanager
In the Browser
Build running the following in the conflux-web repository:
npm run-script build-all
Then include dist/conflux-web-core-requestmanager.js
in your html file.
This will expose the ConfluxWebRequestManager
object on the window object.
Usage
// in node.js
var ConfluxWebWsProvider = require('conflux-web-providers-ws');
var ConfluxWebRequestManager = require('conflux-web-core-requestmanager');
var requestManager = new ConfluxWebRequestManager(new Web3WsProvider('ws://localhost:8546'));
1.2.2-alpha.1
4 years ago
1.2.2-alpha.0
5 years ago