won-web3-core

Web3 core tools for sub packages. This is an internal package.

Usage no npm install needed!

<script type="module">
  import wonWeb3Core from 'https://cdn.skypack.dev/won-web3-core';
</script>

README

web3-core

This is a sub package of [won-web3.js][repo]

The core package contains core functions for [web3.js][repo] packages. Please read the [documentation][docs] for more.

Installation

Node.js

npm install won-web3-core

Usage

// in node.js
var core = require('won-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();
...