1.主页 1.展示最近上架的NFTs Listing NFT in L1 currency 1.如果你持有该NFT,你可以修改定价 2.如果不,你可以买 2.出售页面 1.你可以上架自己的NFT 2.提款余额
Moralis Indexer NextJs Link TailwindCSS
链下服务通过Moralis Server(The graph protocol)监听上架出售下架等索引事件 moralis frq for hardhat proxy server moralis-admin-cli connect local hardhat dev chain add moralis sync services and watch events use Moralis Cloud Function to update NFT status after one block useMoralisQuery Hook 使用useWeb3Contract Hook 获取tokenURI 然后用useEffect渲染页面 use IPFS gateway NextJs Image web3uikit Card Modal Input useNotification Form