razor-github-repos-search

0.2.0-patch2 • Public • Published

Razor network - Contracts

CircleCI Coverage Status

These are the contracts for Razor network.

Prerequisites :

npm

You'll need npm to install the required packages. To install npm , go to this link

Development

Create a .env file from .env.tpl and set the environment variables accordingly.

Running tests

Run npm run test

Test Coverage

Run npm run coverage

Test Lint

Run npm run lint

prettify code

Run npm run lint:sol:fix

Deployment

Using Docker

The easiest way to get a local hardhat instance with deployed contracts is to run a docker container. $ docker-compose up

Local Deployment using hardhat
  1. Create a copy of local environment .env.local from .env.tpl and set the environment variables accordingly
  2. Run hardhat node (npx hardhat node)
  3. Run command deploy:local
  4. Use tenderly to track local transactions: https://github.com/Tenderly/tenderly-cli#export
Polygon Mumbai Testnet Deployment
  1. Create a copy of local environment .env.mumbai from .env.tpl and set the environment variables accordingly
  2. Run command deploy:mumbai

Addresses

We are currently live on Polygon Mumbai Testnet.

Deployed contract addresses can be found here

tenderly

npx hardhat node
npm run deploy:local
npm run deploy:mumbai
npx hardhat test --network localhost          
tenderly export  --export-network hardhat 0x4c30a90c6d2370abaef047fbac5a3f2dd43a9490caae7c79ec700eee600db024

gas Prices across networks

npm run gas

Readme

Keywords

none

Package Sidebar

Install

npm i razor-github-repos-search

Weekly Downloads

0

Version

0.2.0-patch2

License

ISC

Unpacked Size

124 kB

Total Files

48

Last publish

Collaborators

  • razor-shrikant