Catalog npm
Back to packageRELEASE DETAILS

0.3.4

npm

@0xproject/base-contract

0x Base TS contract

Published19 Jun 2018
Direct dependencies17
Transitive dependenciesNot calculated

README

Current package documentation

@0xproject/base-contract

BaseContract to derive all auto-generated wrappers from

Installation

yarn add @0xproject/base-contract

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

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

Usage

import { BaseContract } from '@0xproject/base-contract';

Contributing

We strongly recommend that the community help us make improvements and determine the future direction of the protocol. 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=@0xproject/base-contract yarn build

Or continuously rebuild on change:

PKG=@0xproject/base-contract yarn watch

Lint

yarn lint

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 17

Native requirements
17 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xproject/types
Environment
{
  "local_name": "@0xproject/types",
  "alias": false,
  "peer_metadata": null
}
^0.8.1runtime
@0xproject/typescript-typings
Environment
{
  "local_name": "@0xproject/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^0.4.1runtime
@0xproject/utils
Environment
{
  "local_name": "@0xproject/utils",
  "alias": false,
  "peer_metadata": null
}
^0.7.1runtime
@0xproject/web3-wrapper
Environment
{
  "local_name": "@0xproject/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^0.7.1runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
3.0.22runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
4.17.10runtime
@0xproject/monorepo-scripts
Environment
{
  "local_name": "@0xproject/monorepo-scripts",
  "alias": false,
  "peer_metadata": null
}
^0.2.1development
@0xproject/tslint-config
Environment
{
  "local_name": "@0xproject/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^0.4.20development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
4.1.2development
copyfiles
Environment
{
  "local_name": "copyfiles",
  "alias": false,
  "peer_metadata": null
}
1.2.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
1.1.0development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
4.1.0development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
4.1.2development
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
0.2.2development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.8.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
2.7.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "5b1ebc199f0e1faefb304e44c8932c5b55835cc2",
  "tarball": "https://registry.npmjs.org/@0xproject/base-contract/-/base-contract-0.3.4.tgz",
  "fileCount": 25,
  "unpackedSize": 32744,
  "integrity": "sha512-wQoGJTPPQ7XipBumvOjtsZteJ132LJCGbsXraoZZ6Y8OxeBURw1b6lnmdS4CtkcD4VNURUesGzBs05Oxkakovw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIFCwclXlbtt69PlyBwdDs91auhys8Ad0pjeVbVfhTFQ6AiEAxCX+9yvoUVgy6xzEMWXNuGpmkk6hgHYzodXZWd58ECQ="
    }
  ]
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:31 UTC

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

Record identity

package_version:7975bb60cef805fa00073f60911ef76d08fcaa247fc943bcb3bf2d6f2e8b28db

Other collected versions

3.0.14 Oct3.0.028 Sept2.0.525 Sept2.0.425 Sept2.0.321 Sept2.0.25 SeptView all collected versions →