LEARN · DOCUMENTATION
Documentation
Pages from 3 sources, kept in sync: the official NEAR documentation, documentation from teams building on NEAR, and readmes from their code. Search all of it, or start from a path below.
483pages
synced 4h ago3 sources
1 more source12 pages
Official
Token Standards
Compare NEAR's smart contract standards for fungible tokens, NFTs, and MultiTokens. Beyond the native NEAR token, smart contracts can define their own tokens. NEAR provides …
Nov 1, 2026
Official
Duplicate token IDs
Prevent callers from redeeming the same treasury token more than once by repeating its ID. A treasury can let users burn share tokens to redeem a proportional share of i…
Nov 1, 2026
Official
NEAR Native Token
… secure the network through staking. NEAR (Ⓝ) is the native token of NEAR Protocol. You can transfer it between accounts, use it to pay for network resources, and stake it to help …
Nov 1, 2026
Official
Token Faucet
Learn how to get free testnet tokens for development and testing on the NEAR blockchain A faucet provides free testnet tokens for testing and developm…
Nov 1, 2026
Official
Decentralized Exchanges (DEX)
…ct with decentralized exchanges on NEAR Protocol, including token swapping, liquidity pools, and integration with Ref Finance DEX. A Decentralized Exchange (DEX) is an application …
Nov 1, 2026
Official
The Standard
Learn how Non-Fungible Tokens (NFT) are defined on NEAR In contrast with fungible tokens, non-fungible tokens (NFT) are unitary and therefore u…
Nov 1, 2026
Official
Implementation Details
…ain bridge infrastructure that enables secure and efficient token transfers between NEAR Protocol and various other blockchain networks. This document provides a detailed technical…
Nov 1, 2026
Official
What are Primitives?
Learn about blockchain primitives including Fungible Tokens (FT), Non-Fungible Tokens (NFT), Decentralized Autonomous Organizations (DAO), and LinkDrops as building blocks f…
Nov 1, 2026
Official
Balance Deduction
…ember to always deduct a user's balance before sending them tokens in a cross-contract call Between a cross-contract call and its callback, any public method of your contract can e…
Nov 1, 2026
Official
Using NFTs
Learn about NEAR non-fungible tokens (NFT) following NEP-171 and NEP-177 standards - mint, transfer, query, and trade unique digital assets with compr…
Nov 1, 2026
Official
The Standard
Learn how Fungible Tokens (FT) are defined on NEAR Besides the native NEAR token, users have access to a multitude of tokens created by ins…
Nov 1, 2026
Official
Refund NEAR tokens
Return attached NEAR tokens to the original user when a cross-contract call fails. When your contract sends attached NEAR tokens in a cross-c…
Nov 1, 2026
Official
Fungible Token Implementation
…ansfer calls. The best practice for implementing a fungible token contract is to use the contract-tools crate. However, if you need to implement your own, be careful to avoid commo…
Nov 1, 2026
Official
Using FTs
…sfer, and integrate FT in your dApp Wanting to use Fungible Tokens (FT) in your dApp? Here you will find all the information you need to get started creating your own tokens, regis…
Nov 1, 2026
Official
Introduction
…bout Lockup contracts on NEAR – smart contracts that escrow tokens with time-based release schedules, supporting lockups, vesting, staking, and termination by foundation. Lockup co…
Nov 1, 2026
Official
Factory
Learn how a factory creates fungible token contracts on sub-accounts using a global contract ID. A factory is a smart contract that creates sub-accounts and …
Nov 1, 2026
Official
Require one yoctoNEAR
…ol over the account, including the ability to transfer NEAR tokens * Function-call keys are requested by third-party apps to sign transactions on behalf of the user. They can only …
Nov 1, 2026
Official
Avoiding Token Loss
Learn about scenarios that can lead to token loss in NEAR Protocol and how to prevent them, including key management, account deletion, and smart contract fail…
Nov 1, 2026
Official
Token transfer flow
Learn all steps involved on a token transfer. This section explains the flow of token transfers in the NEAR Protocol, detailing how tokens are moved b…
Nov 1, 2026
Official
Staking NEAR Tokens
… delegate to validators, track rewards, and withdraw staked tokens safely. You can delegate NEAR tokens to a validator to help secure the network and earn staking rewards. This tut…
Nov 1, 2026
Official
Deploying Your Own Contract
…t on NEAR At its core, the Liquid Staking Contract issues a token that follows the Fungible Token (NEP-141) standard. When you stake NEAR, you don’t just lock it away — you receive…
Nov 1, 2026
Official
Winning an NFT
…oned off we need the account ID of the NFT contract and the token ID of the NFT. We will specify these when the contract is initialized; amend init to add nft_contract and token_id…
Nov 1, 2026
Official
Creating a NFT Contract
Learn how to create a non-fungible token (NFT) using Contract Tools package In this tutorial, you will create a non-fungible token (NFT) using the NEAR SDK…
Nov 1, 2026
Official
Contract Events
…1.0.0","event":"nft_mint","data":[{"owner_id":"alice.near","token_ids":["1"]}]} *** Defining and Emitting Events The near-sdk provides a high-level macro-based API for defining and…
Nov 1, 2026
Official
Creating a FT Contract
Learn how to create a fungible token (FT) using Contract Tools package In this tutorial, we will create a fungible token (FT) using the NEAR SDK Contra…
Nov 1, 2026
Official
Architectural Overview
Understand NEAR's accounts, transactions, data flow, tokens, storage, and network. NEAR is a blockchain for applications built with smart contracts. Users interact with thes…
Nov 1, 2026
Official
Using Liquid Staking
…d Staking on NEAR — a smart contract that issues a fungible token representing staked NEAR, enabling instant liquidity and validator diversification. Liquid staking is a modern alt…
Nov 1, 2026
Official
Lockup Contracts
…bout Lockup contracts on NEAR – smart contracts that escrow tokens with time-based release schedules, supporting lockups, vesting, staking, and termination by foundation. Looking t…
Nov 1, 2026
Official
Fungible tokens
Integrate NEP-141 fungible tokens, including balance queries, storage registration, transfers, and metadata. Fungible tokens on NEAR follow the NEP…
Nov 1, 2026
Official
Creating Deterministic Accounts
Create a deterministic fungible-token account using a published global contract and initial storage. A deterministic account starts with contract code a…
Nov 1, 2026
Showing 1 to 30 of 105Search all sources →