Code Monkey home page Code Monkey logo

boredcatsnftcollection's Introduction

Welcome to the Bored Cats Collection

This is a demonstration on how to create and deploy an NFT collection using IPFS.

Deployment Details

I deployed this to the Polygon Mainnet. The deployment went like this:

npx hardhat run scripts/deploy.js --network matic
BoredCats deployed to 0x0E956Ee37839965d809eC21357B3F97AD3D35FED

Then, I verified the contract deployment:

npx hardhat verify --network matic 0x0E956Ee37839965d809eC21357B3F97AD3D35FED
Nothing to compile
Successfully submitted source code for contract
contracts/BoredCats.sol:BoredCats at 0x0E956Ee37839965d809eC21357B3F97AD3D35FED
for verification on the block explorer. Waiting for verification result...

Successfully verified contract BoredCats on Etherscan.
https://polygonscan.com/address/0x0E956Ee37839965d809eC21357B3F97AD3D35FED#code

To deploy on Goerli I did a similar think:

npx hardhat run scripts/deploy.js

Compiled 1 Solidity file successfully
BoredCats deployed to 0x3Da3752a9fc4Ac65F1ADfeb4E108c75a5e8dcCD1

Then verified with:

npx hardhat verify --network goerli 0x3Da3752a9fc4Ac65F1ADfeb4E108c75a5e8dcCD1

Nothing to compile
Successfully submitted source code for contract
contracts/BoredCats.sol:BoredCats at 0x3Da3752a9fc4Ac65F1ADfeb4E108c75a5e8dcCD1
for verification on the block explorer. Waiting for verification result...

Successfully verified contract BoredCats on Etherscan.
https://goerli.etherscan.io/address/0x3Da3752a9fc4Ac65F1ADfeb4E108c75a5e8dcCD1#code

Then I deployed to Rinkeby:

npx hardhat run scripts/deploy.js

Compiled 1 Solidity file successfully
BoredCats deployed to 0x9047A22Ca6f9121d0edF1E7F855A0606dbC0CdA1

Now I verified:

npx hardhat verify --network rinkeby 0x9047A22Ca6f9121d0edF1E7F855A0606dbC0CdA1

Nothing to compile
Successfully submitted source code for contract
contracts/BoredCats.sol:BoredCats at 0x9047A22Ca6f9121d0edF1E7F855A0606dbC0CdA1
for verification on the block explorer. Waiting for verification result...

Successfully verified contract BoredCats on Etherscan.
https://rinkeby.etherscan.io/address/0x9047A22Ca6f9121d0edF1E7F855A0606dbC0CdA1#code

Then I went onto Rinkeby's Etherscan and minted an NFT directly from etherscan myself using the write to the contract functionality. I confirmed the NFT was minted via the transaction details and also by interacting with the read part of Etherscan.

That was it!

Contact

Twitter URL

License

This project uses the following license: MIT.

boredcatsnftcollection's People

Contributors

jesperkristensen58 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.