Catalog npm
Back to packageRELEASE DETAILS

6.23.3

npm

@0x/contract-addresses

Used to get known addresses of deployed 0x contracts

Published12 Sept 2022
Direct dependencies7
Transitive dependenciesNot calculated

README

Current package documentation

@0x/contract-addresses

A tiny utility library for getting known deployed contract addresses for a particular network.

Installation

yarn add @0x/contract-addresses

Import

import { getContractAddressesForChainOrThrow } from '@0x/contract-addresses';

or

var getContractAddressesForChainOrThrow = require('@0x/contract-addresses').getContractAddressesForChainOrThrow;

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

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 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
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
}
^6.2.0development
gitpkg
Environment
{
  "local_name": "gitpkg",
  "alias": false,
  "peer_metadata": null
}
git+https://github.com/0xProject/gitpkg.gitdevelopment
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
4.6.3development
@types/mocha
Environment
{
  "local_name": "@types/mocha",
  "alias": false,
  "peer_metadata": null
}
^5.2.7development
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^7.1.5development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "54b04b58000f2382f5e38c3901d134a6bc4af08c",
  "tarball": "https://registry.npmjs.org/@0x/contract-addresses/-/contract-addresses-6.23.3.tgz",
  "fileCount": 19,
  "integrity": "sha512-0wQmcUSLWAOQQzbWrS5J0wtX9NJ9LpoiUm5UfoHqaQvf2qh85qafoBMpAF9UkYBtFh9rT1viTxfEU2B657jgSg==",
  "signatures": [
    {
      "sig": "MEQCIAmdtXHrCe5DH8BT3KxuE7ULr5brRX0uVNbDYHrkg0BMAiAThOTyUMgkEQo9jITwxlCkaN8DR4Binyn8nWqqDhHj5Q==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 107837,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH1a0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrftg//apFNSVtTEtd+vfyzWuffSOygrnzaPPNHtuA6Pn6/npBe6XXd\r\n76iwvqMUo0sH4wlS4cMeH9ZpoLjynW237dzhBRfcT5JkN3K/jOys7c7XLNyd\r\nBEPAoJyZ9Fu3ud0eWPwThfREf2g50FDGPDC7EzndGTwGahuw3JSlTYwNP+WX\r\nwn9cH1QCp1/at5PjND/yfyzuJE9o5LR298dWxkq4e8kdrZ4ho1UcOMypWfYJ\r\nqyRp3Jo5/rtpV3lVv8RBhxg4NpXhj4Kj7V1u559YSp3ibxlzuC0u4VQuuoYh\r\nZgj/29whQGNtI+wP8XXMY8+dLXh+BYw12cdiRwlzq3ckemRyMVs4Z6n6px0P\r\nbkZO45n21+HyvkLO+dvz4pMxRPbRXf9XRC3j+QQwYJfM/0IkpOU7ObV7aGLY\r\nVJ3EL38oM9gOlViHHKjAzwf65Kc2UhgFhVwVauHx0xOkvDPUQDvp3/t2CRmq\r\nGlFijp4egDbHUl5w0q0/9G4/bLyQmRbtmyGM58As4yWxxB62aRG/BOctF1Uy\r\nMlx90/gQx8cxkxZl5WYEfrKP31gbQYq9OYFNVWGQV7GtdYZxz13LNxHwY3ol\r\nBvVrCVxNQi2aA2Uq2dTuOGBrnAu6jKnaj8YXqzGdTk/LOoyb27GVD2WA5/Ph\r\nvJd9r3mUEmegYTVF50SQ4XE5mym/adp0Mpo=\r\n=bkqI\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/protocol

Shared repository data · GitHub

License detected in repository
Not collected

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 20 Oct, 22:22 UTC

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

Record identity

package_version:797102efe1f0eb11bec002a80c5d73abf003ae0915d60e7c327f48e37ef32aee

Other collected versions

8.13.016 Nov8.12.029 Aug8.11.018 Aug8.10.09 Aug8.9.021 Jul8.8.019 JulView all collected versions →