git clone https://github.com/dynamiculture/qxs
cd qxs
npm i
# list hardhat tasks:
npx hardhat
npm i -g hardhat-shorthand
hardhat-completion install
hh == npx hardhat
Get ether on Rinkeby: https://faucet.rinkeby.io/
Create free accounts on: https://infura.io https://etherscan.io
Create .env (listed in .gitignore) supplying the following values:
RINKEBY_PRIVATE_KEY=
INFURA_API_KEY=
ETHERSCAN_API_KEY=
Clean, compile and test:
hh clean
hh compile
hh test
npm hardhat coverage
hh node
On a new terminal, go to the repository's root folder and run this to deploy your contract:
hh run --network localhost scripts/deploy.ts
hh run --network rinkeby scripts/deploy-rinkeby.ts
hh verify 0x8dbbd010B0B4B215C07feF16FEa9dA4Ea8e3FfA1 --contract contracts/QXS.sol:QXS --network rinkeby
https://rinkeby.etherscan.io/address/0x8dbbd010B0B4B215C07feF16FEa9dA4Ea8e3FfA1#code