Our great sponsors
-
hardhat
Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The NFT will automatically show up on OpenSea, if you are the owner of the NFT contract, by virtue of the OpenZepplin Ownable pattern (i.e. there is an owner function which returns your address) then you can "claim" the contract on OpenSea which will allow you to name the collection and change the "collection profile" on OpenSea and set the OpenSea royalty settings and so on. The demo contract in this README.md uses that Ownable pattern.
The mint function shown in the README.md file could be modified to behave in a similar way. Deploying the contract could be handled with HardHat, or the bytecode built by something like HardHat and the ABI could be used to deploy it via the frontend such as here, and then hooked up to the mint function in a similar way to this (but you would also add a value to the function call which would then mean that you could send a certain amount of ETH with the function call, using "overrides" or "options", shown here.
Related posts
- Upgradeable smart contracts
- How do I deploy an ethereum contract with hardhat and my Trezor wallet?
- Hardhat Smartcontract Lottery (Raffle) Using TypeScript and latest versions of everything
- What is the best way to test dapps?
- BlockX is the first to offer block rewards and gas fees to developers. Whether you are a dApp or Protocol developer, grabbing this opportunity by its horns will be worth it. Join Now.