ZKFair Domains smart contracts
to install dependencies, run the following command.
npm install
Set you API keys on .env file. rename .env.template file as .env
ALCHEMY_API_KEY=
ETHER_SCAN_API_KEY=
DEPLOYER_PRIVATE_KEY=
npx hardhat compile --network sepolia
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
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}}