calldata / meke-contract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meke Protocol

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

Test

Run the Mocha tests:

$ yarn test

setup deploy env

refer to .env.example

Deploy contract to netowrk (requires Mnemonic and infura API key)

npx hardhat deploy --tags ArbTest --network ArbitrumTest

Validate a contract with etherscan (requires API ke)

npx hardhat verify --network <network> <DEPLOYED_CONTRACT_ADDRESS> "Constructor argument 1"

About

License:MIT License


Languages

Language:Solidity 79.0%Language:TypeScript 12.6%Language:JavaScript 8.3%Language:Shell 0.1%