GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "https://github.com/nibbstack/erc721/src/contracts/tokens/nf-token-metadata.sol"; import "https://github.com/nibbstack/erc721/src/contracts/ownership/ownable.sol"; /** * @dev This is an example contract implementation of NF...
🥸 本教程翻译自官网:[https://docs.alchemy.com/docs](https://docs.alchemy.com/docs)。对部分内容进行了修改。教程中所有实例经过本人实践,代码可见:https://github.com/ChuXiaoYi/web3Study 使用Solidity开发智能合约并在区块链上部署可能一开始听起来有些吓人:Solidity、安全性、gas优化、开发环境和gas费用,...
Goat 🐐 (Great Onchain Agent Toolkit) is an open-source library enabling AI agents to interact with blockchain protocols and smart contracts via their own wallets. Readme Keywords ai agents web3 npm igoat-plugin-erc721 Repository github.com/goat-sdk/goat ...
当前实现的基准测试见:github.com/loomnetwork/。 发现如下(认为对每个ERC721合约的safeTransferFrom调用消耗102569 gas): · 每个区块的gas上限约为800万,那么每个区块中最多可以移动78个ERC721通证,大概相当于每秒6.4次交易。有了Plasma,可以将一个Plasma块的内容有效的压缩在1个根链中,并允许任意数量的硬币在1个...
Keywords ai agents web3 npm i@goat-sdk/plugin-erc721 Repository github.com/goat-sdk/goat Homepage ohmygoat.dev Weekly Downloads 27 Version 0.1.22 License MIT Unpacked Size 32.4 kB Total Files 44 Last publish 25 days ago Collaborators
import "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol"; import "https://github.com/0xcert/ethereum-erc721/src/contracts/ownership/ownable.sol"; contract newNFT is NFTokenMetadata, Ownable { constructor() { ...
ERC其实就是Github上程序员们提交的改进意见(EIP),经过委员会审核通过以后就成了ERC,ERC20就是第20个改进意见。其实ERC20本身没有特别高深的东西,你可以理解成一个智能合约的标准模板,就是一个智能合约里列了几个限制条件。比如一个币的供应总量,名称,小数点后最多几位数等等。相信大家都听说过之前网上有个教程...
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md 就是一种发布并能检测到一个智能合约实现了什么接口的标准 这么做的原因: it is sometimes useful to query whether a contract supports the interface and if yes, which version of the interface, in order to adapt the way in which the...
Github上已经有ERC721的实现了,地址:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol 不过这是solidity的实现,并且基于公链,如果要基于联盟链,可以看一下我的这篇文章基于Hyperledger Fabric实现ERC721 参考 https://github.com/ethereum/EIPs/blob/master/EIPS...