conflux-web-core-requestmanager

Web3 module to handle requests to external providers.

useless version
Last updated 10 months ago by liuis .
LGPL-3.0 · Repository · Original npm · Tarball · package.json
$ cnpm install conflux-web-core-requestmanager 
SYNC missed versions from official npm registry.

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'));

Current Tags

  • 1.2.2-alpha.1                                ...           latest (10 months ago)

2 Versions

  • 1.2.2-alpha.1 [deprecated]           ...           10 months ago
  • 1.2.2-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 2
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |