Skip to content

sustia-llc/qxs

Repository files navigation

QXS

Quick start

git clone https://github.com/dynamiculture/qxs
cd qxs
npm i
# list hardhat tasks:
npx hardhat

install hardhat-shorthand

npm i -g hardhat-shorthand
hardhat-completion install
hh == npx hardhat

Rinkeby Testnet, Etherscan

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

Local test deployment

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

Deploy to rinkeby

hh run --network rinkeby scripts/deploy-rinkeby.ts

Verify on rinkeby

hh verify 0x8dbbd010B0B4B215C07feF16FEa9dA4Ea8e3FfA1 --contract contracts/QXS.sol:QXS --network rinkeby

check for code and abi

https://rinkeby.etherscan.io/address/0x8dbbd010B0B4B215C07feF16FEa9dA4Ea8e3FfA1#code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published