Catalog npm
PACKAGE EXPLORERView in registry

@0xproject/contract-wrappers

npm

Smart TS wrappers for 0x smart contracts

0xprojectethereumexchangetokens
Versions collected20
Direct dependencies44From release 2.0.2
Last observed21 Oct, 09:32 UTC

README

Current package documentation

@0xproject/contract-wrappers

Smart TS wrappers for 0x smart contracts. The wrappers have simplified interfaces, perform client-side validation on transactions and throw helpful error messages.

Read the Documentation.

Installation

Install

npm install @0xproject/contract-wrappers --save

Import

import { ContractWrappers } from '@0xproject/contract-wrappers';

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

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

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/contract-wrappers yarn build

Or continuously rebuild on change:

PKG=@0xproject/contract-wrappers yarn watch
yarn build

or continuously rebuild on change:

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.

Versions 20

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.2Registry latest4 Oct 201844
2.0.128 Sept 201845
2.0.025 Sept 201845
1.0.525 Sept 201845
1.0.421 Sept 201845
1.0.319 Sept 201845
1.0.218 Sept 201845
1.0.15 Sept 201845
1.0.1-rc.527 Aug 201844
1.0.1-rc.424 Aug 201844
1.0.1-rc.314 Aug 201845
1.0.1-rc.226 Jul 201845
1.0.1-rc.126 Jul 201845
1.0.0-rc.119 Jul 201845
0.1.118 Jul 201845
0.1.09 Jul 201845
0.0.519 Jun 201845
0.0.429 May 201845
0.0.329 May 201845
0.0.222 May 201845

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:32 UTC

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

Record identity

package:f018e3700958d0640d84a2f4976fe76551da0b257505bc5ce93cc87f9c2652a9