Catalog npm
Back to packageRELEASE DETAILS

3.1.4

npm

@0x/web3-wrapper

Wraps around web3 and gives a nicer interface

Published14 Nov 2018
Direct dependencies24
Transitive dependenciesNot calculated

README

Current package documentation

@0x/web3-wrapper

Web3-wrapper is a JSON-RPC client for Ethereum nodes. It is a type-safe alternative to Web3.js written in TypeScript.

Read the Documentation.

Installation

yarn add @0x/web3-wrapper

If your project is in TypeScript, add the following to your tsconfig.json:

"compilerOptions": {
    "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}

Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0x/web3-wrapper yarn build

Or continuously rebuild on change:

PKG=@0x/web3-wrapper yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 24

Native requirements
24 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
~4.0.4runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.5runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^2.0.5runtime
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^1.0.17runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^1.1.2runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/json-schemas
Environment
{
  "local_name": "@0x/json-schemas",
  "alias": false,
  "peer_metadata": null
}
^2.1.1runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^3.0.4runtime
nyc
Environment
{
  "local_name": "nyc",
  "alias": false,
  "peer_metadata": null
}
^11.0.1development
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^4.1.0development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
0.13.0development
dirty-chai
Environment
{
  "local_name": "dirty-chai",
  "alias": false,
  "peer_metadata": null
}
^2.0.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
ganache-core
Environment
{
  "local_name": "ganache-core",
  "alias": false,
  "peer_metadata": null
}
0xProject/ganache-core#monorepo-depdevelopment
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
chai-bignumber
Environment
{
  "local_name": "chai-bignumber",
  "alias": false,
  "peer_metadata": null
}
^2.0.1development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^7.1.0development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^1.0.10development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
@types/ganache-core
Environment
{
  "local_name": "@types/ganache-core",
  "alias": false,
  "peer_metadata": null
}
^2.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "3a5aeb874e4d19dce8fd1abb6e9f58da72ef9a6c",
  "tarball": "https://registry.npmjs.org/@0x/web3-wrapper/-/web3-wrapper-3.1.4.tgz",
  "fileCount": 45,
  "integrity": "sha512-15hEeXFRZxcCSHTMOBx2sZRwtzwo+/33xx03+Yxspg6+3CSQuE7J4s57H84EuEerrm2smM7f2dMrWsrz3G5V6Q==",
  "signatures": [
    {
      "sig": "MEUCIQDWJZawyWVi2+hkLJz2uMTnDzlImkDVOpkFRWnRx9x6HQIgFawrjqVsmgliV6mlNbqD5SWq/jItVcgGdwrWIhjcqj8=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 159948,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7DxwCRA9TVsSAnZWagAATPEP/Rd5dmpzEobDImqdO45d\ne/+R7crxSXLpIiH2PtDpzwOHDZXVhrfcAjjDmcgvb+BHQab32nEO+DUdN5bA\nH0OXT+xBgbQBndwKH/xW1FzUO748yx11QAnk09g89UErx3vedMIr4/zWpYUC\nU0s1oUn1hnXekJi3ZePoxdAkEwVNjj6wvUvCqB+YUcNVcpahnFCtzYOcJ8r+\nNpmO8N0kx5c6lmCGiI0KHR3un6h7P52WUr+WHSV/fwBOAo8lhlVr68qo4t8L\nkFd+SNCI9VROYhx1mP3EPsDXPWEj1nDHOLrxxhreREG2We2ytKvom/fdi9No\nueZl+4g/FeG0ysXbEXyGNi68x/2JnU6J3QCNEhrYEE6nojr4Qj1VJdv608JR\niKIvsc2vKCcFF31AHCBdGHlYGOsziIi/Ef7rCjqNR1dytXksBSVsgXVEf3Hf\noA5nHEZERBufausi5XfxAthoiww8mLexBNYpEPXN2zr6GOy7oW90xoROGHSd\nMFVhXx9uCl0CXbtSeTq/ocU7nkmGh4jHEtodNdG0KaCkEB39OPEsUUS0b5eB\nqN2JI1u203BElTHX2MOMAA2H0Iw+pYlaUVP07+wCEyoeyHvn2nYuFuxwhpkD\nsWAlhVfioo/x7LzoJoQdDBiLxBwRDwrYNxUJxizPXGu4B2dMguyUzgcwQEqE\nJLgS\r\n=ejMB\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/tools

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:2f095f499d91ab80b4896dfbbc86234f2f9fa0a9dcb51e9d4d1788f93a29c92f

Other collected versions

8.0.17 Apr8.0.018 Aug7.6.516 Mar7.6.416 Mar7.6.326 Feb7.6.219 JanView all collected versions →