工具包、热重载、可视化测试和库 NFT gas 优化[36] 指南 Nethereum (.Net 库) v4.3.0[37]:改进了以太坊登录、以及对 ERC 代币和 ENS 合约、日志处理的支持 useDapp : https://github.com/Nethereum/Nethereum/releases/tag/4.3.0 [38] v1.0: https://medium.com/truefieng/usedapp
/styles/Home.module.css"; import { useEthers, useContractFunction } from "@usedapp/core"; import { useState /styles/globals.css"; import { DAppProvider } from "@usedapp/core"; const config = { multicallAddresses 与 Moralis 类似,useDapp带有activateBrowserWallet功能,用来激活 metamask/浏览器钱包,以及像useContractFunction这样的 hook 函数,与智能合约交互 Uniswap: https://github.com/Uniswap/interface [76] 完整代码的代码在这里: https://github.com/PatrickAlphaC/nextjs-usedapp-metamask-connect
Foundry 项目配置指南[32] Hardhat 项目模板[33] (基于 Typescript): 添加使用 Foundry 的测试 create-eth-app v1.8.0[34]: 集成 useDapp
本教程不涉及任何前端开发,但如果你有兴趣了解如何开始 Web3 dapp 开发,请随时在 dev.to 上查看教程: 在 React 中构建 Web3 Dapp, 并使用 MetaMask 登录[4] 使用 useDapp MetaMask 登录: https://dev.to/jacobedawson/build-a-web3-dapp-in-react-login-with-metamask-4chp [5] 使用 useDapp
UseDapp Usedapp[123]是另一个开源项目,它有很多用于web3的插件,我在一些项目中使用过它,并且很喜欢。 Opensea: https://opensea.io/ [122] 模板: https://github.com/ethereum-boilerplate/ethereum-boilerplate [123] Usedapp : https://github.com/EthWorks/useDApp [124] Drizzle: https://trufflesuite.com/drizzle/ [125] Dapp大学关于使用