Docs Category: Develop

Notes on Serialization

To Share and +4 nLEARNs Login with NEARSmart contracts need to be able to communicate complex data in a simple way, while also reading and storing such data into their states efficiently. To achieve such simple communication and efficient storage, smart contracts morph the data from their complex representation into simpler ones. This process of …

Notes on Serialization Read More »

Modules, Types & Structs

To Share and +4 nLEARNs Login with NEARimport Tabs from ‘@theme/Tabs’; import TabItem from ‘@theme/TabItem’; import {CodeTabs, Language, Github} from "@site/components/codetabs" When writing smart contracts you will leverage common programming concepts such: Modules Data types & Collections Classes & Structures Modules Modules help you to organize your code and reuse third-party libraries. The main module …

Modules, Types & Structs Read More »

table-func

To Share and +4 nLEARNs Login with NEAR | Function Name | SDK method | Description | | ———————- | ——————————- | ———————————————————————- | | SHA 256 | `env::sha256(value)` | Hashes a sequence of bytes using sha256. | | Keccak 256 | `env::keccak256(value)` | Hashes a sequence of bytes using keccak256. | | Keccak 512 …

table-func Read More »

Transferring Fungible Tokens

To Share and +4 nLEARNs Login with NEAR In 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 …

Transferring Fungible Tokens Read More »

Registering Accounts

To Share and +4 nLEARNs 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 …

Registering Accounts Read More »

Scroll to Top