@nftcloner/contracts

1.0.0-dev.0 • Public • Published

NFT Cloner - Smart Contracts

Development

Install dependencies

yarn

Compile typescript, contracts, and generate typechain wrappers

yarn build

Run tests

yarn test

Environment 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 productionize

Automated 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.

Package Sidebar

Install

npm i @nftcloner/contracts

Weekly Downloads

0

Version

1.0.0-dev.0

License

MIT

Unpacked Size

26 kB

Total Files

9

Last publish

Collaborators

  • luax.eth