@renproject/contracts
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

Contract Index

renproject.github.io/contracts-ts/

An index of smart contract addresses used by Ren, available as website and an npm package.

npm usage

import { mainnet, chaosnet, testnet, devnet } from "@renproject/contracts";

console.log(mainnet.addresses.tokens["REN"].address);

Deploying

To deploy the front-end: yarn deploy.

To deploy to npm: yarn publish.

If you see React type errors:

Run the following command before running yarn publish:

rm -r node_modules/@types/*/node_modules/@types/react 

Preview

Preview

Readme

Keywords

none

Package Sidebar

Install

npm i @renproject/contracts

Weekly Downloads

41

Version

0.6.1

License

none

Unpacked Size

1.38 MB

Total Files

20

Last publish

Collaborators

  • ryanren
  • xnyl
  • jazg
  • noah-ren
  • bzlwang