Giter Site home page Giter Site logo

c1im4cu5 / recipenft Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 11.08 MB

ERC721 Vyper chargeable mint with fullstack accompanying React & Express

License: MIT License

HTML 1.74% CSS 2.71% JavaScript 74.99% Vyper 20.46% Dockerfile 0.10%
erc-721-contract erc721 erc721-contract-code express express-js expressjs infura nfts react reactjs

recipenft's Introduction

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

recipenft's People

Contributors

c1im4cu5 avatar dependabot[bot] avatar

Stargazers

 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.