Skip to content

Solidity Smart contracts UniFi Staking platform for EVM (Ethereum) compatible chains

License

Notifications You must be signed in to change notification settings

OnGridSystems/uniFi-contracts

Repository files navigation

Smart contracts for UniFi

UniFi Ethereum contracts

Solidity License Pipeline

Install node packages (hardhat)

yarn install

Testing deploy

Create local environments

export MNEMONIC='<your MNEMONIC phrase>'
export INFURA_API_KEY=<your API key>

Run deploy

npx hardhat --network rinkeby deploy
npx hardhat --network rinkeby etherscan-verify --solc-input --api-key <Etherscan_API_Key>

npx hardhat --network mumbai deploy
npx hardhat --network mumbai etherscan-verify --solc-input --api-key <Etherscan_API_Key>