Skip to content

ERC721 Vyper chargeable mint with fullstack accompanying React & Express

License

Notifications You must be signed in to change notification settings

c1im4cu5/RecipeNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

RecipeNFT

A fun full stack project based in Web3, Vyper, Avalanche Blockchain, React (Frontend) and Express.js (Backend).

Basic Concept

An ERC721 contract with a custom chargeable mint function (see /contracts/ERC721-Chargable.vy smart contract). Site was originally built as an example of allowing users to mint tokens of their favorite family recipes. Users can/could attach a photo along with text for a title and description. Site will generate the IPFS hash for the photo and text, build the metadata for the ERC721 mint and custom mint their recipe for a fee that is attached to the mint and sent to the owner's wallet address.

Implementation

While the code was originally implemented for RecipeNFT.io, C1im4cu5 took it down after a couple of months. It ran via GCP Cloud Run with a link to Github for CI/CD.

User will need to alter the following:

  • Infura API and Secret
  • Contract is currently linked to deployed contract @ 0xf0B21A507774a85316e908e7669338Ab5b8A10eE
  • Web3 references to Avalanche Mainnet

Install

Please remember to have your JS environment installed. Package are provided for client and server. Users should nagivate to each folder (client/server):

npm install

Vyper ERC721 Custom Mint Contract

A base ERC-721 contract was altered by @ c1im4cu5. The contract can be found at contracts/ERC721-Chargable.vy

Contributing

Please ask if you'd like to contribute. I will NOT be adding to the repository.

Contact

Please feel free to contact me!

Telegram Channel
Telegram Contact