... ETH 值。**** `mint(to, tokenId);` - 这将调用 OpenZepplin 的 ERC721 合约文件中包含的 mint 函数,并将选定的 NFT 实例化/转移给买方。 `_setTokenURI(tokenId, uri);` - 这将调用 OpenZepplin 的 ERC721 合约文件中包含的 **`_setTokenURIfunction`**,并将 N...
我想在区块浏览器和钱包里显示我的代币的图片, 怎么弄?
 如何获取指定地址所有持有的币种列表呀?
要实现 智能合约接收 usdt 还有智能合约向别人转usdt
本标准说明了在智能合约中实现代币的标准API。 该标准提供了代币的基本功能:如转移代币,授权代币给其他人(如链上第三方应用)使用 文档链接:https://learnblockchain.cn/docs/eips/eip-20.html
...为: ``` DeclarationError: Undeclared identifier. _registerInterface(IERC721Receiver.onERC721Received.selector); ``` 注册interface后.为什么还是报错? 该怎么理解registerInterface? 怎么写才是对的?
``` interface IERC20 { function transfer(address recipient, uint256 amount) external; function balanceOf(address account) external view returns (uint256); function transferFrom(address sender, address recipient, uint256 amount) external ; function decimals() external view return...