Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

NFT

> 开发工具
Open source

Example implementations of tokens to represent unique assets, such as collectibles or deeds, using the NEP-171 spec (similar to ERC-721)

386 stars0 likes2 views
WebsiteGitHub

About

Example implementations of tokens to represent unique assets, such as collectibles or deeds, using the NEP-171 spec (similar to 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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcliready-to-userust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

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