xdc3-core

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
xdc3-core
1.3.134163 years ago5 years agoMinified + gzip package size for xdc3-core in KB

Readme

xdc3-core
!NPM Packagenpm-imagenpm-url !Dependency Statusdeps-imagedeps-url !Dev Dependency Statusdeps-dev-imagedeps-dev-url
This is a sub-package of xdc3repo.
The core package contains core functions for xdc3repo packages.
Please read the documentationdocs for more.

Installation

Node.js

npm install xdc3-core

Usage

const core = require('xdc3-core');

const CoolLib = function CoolLib() {
    // sets _requestmanager and adds basic functions
    core.packageInit(this, arguments);
};

CoolLib.providers;
CoolLib.givenProvider;
CoolLib.setProvider();
CoolLib.BatchRequest();
CoolLib.extend();
...

Types

All the TypeScript typings are placed in the types folder.