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