第一个 NFT
第 1 步:选择一个 SDK
第 2 步:运行示例
git clone git@github.com:aptos-labs/aptos-core.git ~/aptos-corecd ~/aptos-core/ecosystem/typescript/sdk/examples/typescriptyarn installyarn run simple_nftcd ~/aptos-core/ecosystem/python/sdkcurl -sSL https://install.python-poetry.org | python3 poetry updatepoetry run python -m examples.simple-nft
第 3 步:理解输出
第 4 步:深入了解 SDK
第 4.1 步:初始化客户端
第 4.2 步:创建本地账户
第 4.3 步:创建链上账户
第 4.4 步:创建一个集合
第 4.5 步:创建一个代币
第 4.6 步:读取代币和集合的元数据
第 4.7 步:读取代币余额
第 4.8 步:提供和领取代币
第 4.9 步:代币的安全单边转账
第 4.10 步:实现代币单边转账
Last updated