Code Monkey home page Code Monkey logo

nft-collectible-contract's Introduction

NFT Collectible Smart Contract

This is a companion code repository to Scrappy Squirrels' Medium article on writing an NFT Collectible Smart Contract.

About Scrappy Squirrels

This library was created as part of the Scrappy Squirrels Project.

Scrappy Squirrels is a collection of 10,000 randomly generated NFTs on the Ethereum Blockchain. Scrappy Squirrels are meant for buyers, creators, and developers who are completely new to the NFT ecosystem.

The community is built around learning about the NFT revolution, exploring its current use cases, discovering new applications, and finding members to collaborate on exciting projects with.

nft-collectible-contract's People

Contributors

rounakbanik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nft-collectible-contract's Issues

How would your code change with whitelisting option? (ERC721Tradable)

Thank you lads, this is the best tutorial on creating an NFT contract that I've seen so far (and I've seen a few)

My question is - how would you tweak your code to incorporate the whitelisting function (along the lines of ERC721Tradable in OpenSea documentation) so that payment is actually needed for the first NFT with all consequent ones being "free"?

Many thanks in advance!!)

Error in plugin @nomiclabs/hardhat-etherscan: The contract verification failed. Reason: Fail - Unable to verify

I just cant verify the contract:

$ npx hardhat verify --network rinkeby 0x55845aEe1ee8A1d42d0554FfEfDED290312d8cfe "ipfs://Qma5F27Z2mVgM3uBX9eBDGKpHHXcrXDK82iN1a6ypyxCtt"
Nothing to compile
Compiling 1 file with 0.8.4
Successfully submitted source code for contract
contracts/NFTCollectible.sol:NFTCollectible at 0x55845aEe1ee8A1d42d0554FfEfDED290312d8cfe
for verification on Etherscan. Waiting for verification result...
We tried verifying your contract NFTCollectible without including any unrelated one, but it failed.
Trying again with the full solc input used to compile and deploy it.
This means that unrelated contracts may be displayed on Etherscan...
Successfully submitted source code for contract
contracts/NFTCollectible.sol:NFTCollectible at 0x55845aEe1ee8A1d42d0554FfEfDED290312d8cfe
for verification on Etherscan. Waiting for verification result...
Error in plugin @nomiclabs/hardhat-etherscan: The contract verification failed.
Reason: Fail - Unable to verify

What might be the problem?

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.