ethlocker / zapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zapper contracts

Getting Started

You need to install hardhat and openzeppelin packages.

npm install

Setup

Create an environment file named .env and fill the next environment variables.

ETHERSCAN_APIKEY=YOUR ETHERSCAN API KEY
MNEMONIC=YOUR MNEMONIC
INFURA_KEY=YOUR INFURA KEY
COINMARKETCAP=YOUR COINMARKETCAP API KEY

Build

npm run compile

Deployments

You can see the available scripts located at package.json.

Rinkeby deployment

npm run deploy:rinkeby

Mainnet deployment

npm run deploy:mainnet

Test

npm run test

We are using the solidity version 0.6.12.

About


Languages

Language:Solidity 71.2%Language:JavaScript 28.8%