Skip to content

zkfairdomains/fns-contracts

Repository files navigation

fns-contracts

ZKFair Domains smart contracts

Install

to install dependencies, run the following command.

npm install 

Set .env

Set you API keys on .env file. rename .env.template file as .env

ALCHEMY_API_KEY=
ETHER_SCAN_API_KEY=
DEPLOYER_PRIVATE_KEY=

Compile

npx hardhat compile --network sepolia

Deploy

to deploy contracts on Ethereum Sepolia testnet, run the following command. ensure your account have sufficient balance of ETH.

npx hardhat run scripts/deploy.js --network sepolia

Verfiy

to verify your contracts on Ethereum Sepolia, you need to get your API key from etherscan.io and set your key on .env file

npx hardhat verify --network sepolia {{CONTRACT ADDRESS}} {{CONTRACT DEPLOYMENT PARAMETERS}}

About

ZKFair Domains smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published