Skip to content

ganeshlore/chain-adaptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chain-Adaptor

A Node.js module that returns the RPC Url form ChainSense LTD.

Installation

npm install chain-adaptor --save
yarn add chain-adaptor
bower install chain-adaptor --save

Usage

Javascript

var adaptor = require('chain-adaptor');
var eth = adaptor.adaptor('eth');
Output should be : new Web3('url');

TypeScript

import { adaptor } from 'chain-adapto';
console.log(adaptor('eth'))
Output should be rpc url

AMD

define(function(require,exports,module){
  var adaptor = require('chain-adapto');
});

Test

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published