1.0.0-dev.0 • Published 4 years ago
@nftcloner/contracts v1.0.0-dev.0
NFT Cloner - Smart Contracts
Development
Install dependencies
yarnCompile typescript, contracts, and generate typechain wrappers
yarn buildRun tests
yarn testEnvironment Setup
Copy .env.example to .env and fill in fields
Commands
# compiling
npx hardhat compile
# deploying
npx hardhat deploy
# verifying on etherscan
npx hardhat verify --network goerli {DEPLOYED_ADDRESS}
# replace `goerli` with `mainnet` to productionizeAutomated Testnet Deployments
The contracts are deployed to Rinkeby on each push to master and each PR using the account 0x7f686f9B2740e09469a4A5A0F2eDE2d317D4aeE5. This account's mnemonic is stored in GitHub Actions as a secret and is injected as the environment variable MNEMONIC. This mnemonic shouldn't be considered safe for mainnet use.
1.0.0-dev.0
4 years ago