Skip to content

dApp where users can create an edition certificate of their NFT and corresponding oracle to trigger OpenSea API.

License

Notifications You must be signed in to change notification settings

realNFT/rNFT-iExec-CertificateDApp

Repository files navigation

Actions Status license

rNFT-iExec-CertificateDApp

dApp where users can create an edition certificate of their NFT and corresponding oracle to trigger OpenSea API.

Overview

Nuxt SSR application for rNFT iExec CertificateDApp.

Hardhat repository with all iExec Oracle contract are in solidity/ folder.

  1. Thanks to frontend, users can ask to register NFT through a smart contract address and a tokenId
  2. If the API call (https://api.nftport.xyz/v0/nfts/{contract_address}/{token_id}) verification return a non null address, then the backend create thanks to iexec-oracle-factory-wrapper the oracle and push the Oracle Id into the smart contract solidity/contracts/CertificateMint.sol
  3. When it is done, the user can connect on iExec blockchain to mint a repoduction certificate. If he is the NFT owner on the Ethereum mainchain according to the iExec Oracle.

Summary :

  1. Oracle creation
  2. Certificate mint
  3. Wallet connect

Pages details

  1. Oracle - All users :
  • One form to fetch opensea URL of the NFT
  • Test API Call
  • Validation button
  1. Certificate - Logged users :
  • Select all mint choices for one NFT

  • If Oracle doesn't exists, create one

  • Mint the NFT

  • Deploy on Github Page

Solidity

  • Write smart contracts
  • Tests with 100% coverage
  • Workflows

Build Setup

# install dependencies
$ npm install


### for the Solidity part : go to solidity folder and run :

```console
$ npm i
$ npm run compile
# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out the documentation.

📄 License

rNFT iExec CertificateDApp is released under the MIT.

About

dApp where users can create an edition certificate of their NFT and corresponding oracle to trigger OpenSea API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published