AlvaroLuken / the-graph-nft-dapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple dApp Creation Flow

  1. MetaMask
  • Detect ethereum provider object, request accounts from user
  • ethereum.request({ method: ‘eth_requestAccounts’ });
  • Declare a provider to be the Web3Provider!
  1. Contract
  • Create an Ethers.js Contract instance loaded up with the deployed contract address, ABI and a signer (the MetaMask account connected from Step #1)
  1. Button Create a function that interacts with contract and hook it to a button on front-end

About


Languages

Language:HTML 35.3%Language:JavaScript 29.2%Language:CSS 24.0%Language:Solidity 11.5%