Archives: Docs

Docs

Blog Posts

Login with NEARThe Blog post components enable your gateway to promote regular Near Social posts into fully fledged blog posts. In this article you’ll learn how to set up the required components so you can define a custom URL to show a clean feed of blog posts. Setup To set up the Blog post features …

Blog Posts Read More »

Registering Accounts

Login with NEARIn the previous tutorial, you looked at how to mint an initial circulating supply of tokens and how you could log events as per the events standard. You then deployed the contract and saw the FTs in your wallet balance. In this tutorial, you’ll learn about the storage management standard and how you …

Registering Accounts Read More »

Transferring Fungible Tokens

Login with NEARIn this tutorial, you’ll learn how to implement the core standards into your smart contract. You’ll implement the logic that allows you to transfer and receive tokens. If you’re joining us for the first time, feel free to clone this repository and follow along in the 4.storage folder. tip If you wish to …

Transferring Fungible Tokens Read More »

Defining a Fungible Token

Login with NEARThis is the first of many tutorials in a series where you’ll be creating a complete FT smart contract from scratch that conforms with all the NEAR FT standards. Today you’ll learn what a Fungible Token is and how you can define one on the NEAR blockchain. You will be modifying a bare-bones …

Defining a Fungible Token Read More »

Creating a Circulating Supply

Login with NEARIn the previous tutorial, you looked at what a fungible token was and how you could define one in your smart contract. In this tutorial, you’ll learn how to create a circulating supply belonging to the contract owner and view all the tokens, with their metadata, in the NEAR wallet. To get started, …

Creating a Circulating Supply Read More »

Cross Contract Call

Login with NEARThis example performs the simplest cross-contract call possible: it calls our Hello NEAR example to set and retrieve a greeting. It is one of the simplest examples on making a cross-contract call, and the perfect gateway to the world of interoperative contracts. info Advanced Cross-Contract Calls Check the tutorial on how to perform …

Cross Contract Call Read More »

Fungible Tokens Zero to Hero

Login with NEARIn this Zero to Hero series, you’ll find a set of tutorials covering every aspect of a fungible token (FT) smart contract. You’ll start by interacting with a pre-deployed contract and by the end you’ll have built a fully-fledged FT smart contract that supports every extension of the standards. Prerequisites To complete these …

Fungible Tokens Zero to Hero Read More »

Guest Book

Login with NEAROur Guest Book example is a simple app composed by two main components: A smart contract that stores messages from users, allowing to attach money to them. A simple web-based frontend that displays the last 10 messages posted. Obtaining the Guest book Example You have two options to start the Guest book Example. …

Guest Book Read More »

Self Upgrade & State Migration

Login with NEARThree examples on how to handle updates and state migration: State Migration: How to implement a migrate method to migrate state between contract updates. State Versioning: How to use readily use versioning on a state, to simplify updating it later. Self Update: How to implement a contract that can update itself. State Migration …

Self Upgrade & State Migration Read More »

Scroll to Top