Skip to content

saribmah/civilization-contracts

Repository files navigation

Civilization

  • Hardhat: compile and run the smart contracts on a local development network
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

yarn install

Compile

Compile the smart contracts with Hardhat:

yarn compile

Deploy contract to network (requires Mnemonic and Infura API key)

npx hardhat run --network goerli ./scripts/deploy.ts

Validate a contract with etherscan (requires API key)

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

About

Contract for Civilization Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published