Skip to content

CEGC is a Decentralized Application where you can mint a Ethereum Gift Card NFT for you or any wallet address, then you can redeem the NFT and withdraw it to your wallet.

Notifications You must be signed in to change notification settings

sam-shariat/crypto-ethereum-giftcard-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEGC - Crypto Ethereum Gift Cards

CEGC is a Decentralized Application where you can mint a Ethereum Gift Card NFT for you or any wallet address, then you can redeem the NFT and withdraw it to your wallet.


This project was bootstrapped with :

👇 Features

working

  • working on GOERLI testnet ( Get Goerli Testnet Faucet )
  • Mint customizable ERC721 Token (NFT) with your desired value
  • Redeem NFT and withdraw the value to the destination wallet
  • Transfer NFT to a destination wallet
  • Get the latest Eth price from chainlink

👇 Getting Started

Prerequisites

Run locally

  1. Clone repo

    git clone https://github.com/sam-shariat/crypto-ethereum-giftcard-nft.git
  2. Install packages

    npm install or yarn install
  3. Run application

    npm start or yarn start
  4. Open development server on http://localhost:3000

(back to top)

💻 Development: Connect to testnet wallet

(back to top)

💼 Building The Package

  • You need to add these configs to webpack for building this package
  • webpack.config.js can be found at node_modules/react-scripts/config
{ ...currentConfig,
    resolve: {
      fallback: {
        "fs": false,
        "tls": false,
        "net": false,
        "path": false,
        "zlib": false,
        "http": false,
        "https": false,
        "stream": false,
        "crypto": false,
        "os": require.resolve("os-browserify/browser"),
        "crypto-browserify": require.resolve('crypto-browserify'),
         // if you want to use this module also don't forget npm i crypto-browserify 
      }
}
  • Then Run
npm build or yarn build 
  • build files will be distributed to 'build' folder

(back to top)

✍️ Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

About

CEGC is a Decentralized Application where you can mint a Ethereum Gift Card NFT for you or any wallet address, then you can redeem the NFT and withdraw it to your wallet.

Topics

Resources

Stars

Watchers

Forks