百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

NFT

> 开发工具
开源

使用 NEP-171 规范 (类似于 ERC-721) 来实现用于表示独一无二资产(如收藏品或契约)的令牌的示例实现

386 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

使用 NEP-171 规范 (类似于 ERC-721) 来实现用于表示独一无二资产(如收藏品或契约)的令牌的示例实现

Non-fungible Token (NFT) Example ️

This repository contains an example implementation of a non-fungible token contract in Rust which uses near-contract-standards and workspaces-rs tests.

Note: If you'd like to learn how to create an NFT contract from scratch that explores every aspect of the NEP-171 standard including an NFT marketplace, check out the NFT Zero to Hero Tutorial.

How to Build Locally?

Install cargo-near and run:

bash
cargo near build

Note: to avoid issues, be sure to update your Rust compiler with rustup update stable

How to Test Locally?

bash
cargo test

How to Deploy?

To deploy manually, install cargo-near and run:

bash
# Create a new account
cargo near create-dev-account

# Deploy the contract on it
cargo near deploy 

# Initialize the contract
near call  new_default_meta '{"owner_id": ""}' --accountId 

Basic methods

…

Useful Links

  • cargo-near - NEAR smart contract development toolkit for Rust
  • near CLI - Iteract with NEAR blockchain from command line
  • NEAR Rust SDK Documentation
  • NEAR Documentation
  • NFT Zero to Hero Tutorial
  • NEAR StackOverflow
  • NEAR Discord
  • NEAR Telegram Developers Community Group
  • NEAR DevHub: Telegram, Twitter

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcliready-to-userust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具