Docs Category: 2.develop

execution_outcome

To Share and +4 nLEARNs Login with NEARimport Tabs from ‘@theme/Tabs’; import TabItem from ‘@theme/TabItem’; ExecutionOutcome Structure Definition ExecutionOutcome is the result of execution of Transaction or Receipt ::info Transaction’s ExecutionOutcome In the result of the Transaction execution will always be a Receipt. :: ExecutionOutcomeWithIdView “`rust links=1 pub struct ExecutionOutcomeWithIdView { pub proof: MerklePath, pub …

execution_outcome Read More »

block

To Share and +4 nLEARNs Login with NEARimport Tabs from ‘@theme/Tabs’; import TabItem from ‘@theme/TabItem’; import CodeBlock from ‘@theme/CodeBlock’; Block Structure Definition Block is the main entity in NEAR Protocol blockchain. Blocks are produced in NEAR Protocol every second. It contains the info: about the Block producer (AccountId of the validator responsible for particular Block …

block Read More »

NEAR Lake Primitive Types

To Share and +4 nLEARNs Login with NEARNEAR Lake Primitive Types This article contains the primitive types used by the NEAR Lake Framework package. These types are used to define the data structures used by the framework as well as provide some popular helper functions. Block :::info Important Notes on Block All the entities located …

NEAR Lake Primitive Types Read More »

Login with NEAR

To Share and +4 nLEARNs Login with NEARRecently NEAR has approved a new standard that, among other things, enables users to authenticate into a backend service. The basic idea is that the user will sign a challenge with their NEAR wallet, and the backend will verify the signature. If the signature is valid, then the …

Login with NEAR Read More »

Updating Contracts

To Share and +4 nLEARNs Login with NEARimport {CodeBlock} from ‘@theme/CodeBlock’ import {CodeTabs, Language, Github} from "@site/components/codetabs" import Tabs from ‘@theme/Tabs’; import TabItem from ‘@theme/TabItem’; NEAR accounts separate their logic (contract’s code) from their state (storage), allowing the code to be changed. Contract’s can be updated in two ways: Through tools such as NEAR CLI …

Updating Contracts Read More »

Locking Accounts

To Share and +4 nLEARNs Login with NEARRemoving all full access keys from an account will effectively lock it. When an account is locked nobody can perform transactions in the account’s name (e.g. update the code or transfer money). How to Lock an Account near keys <dev-account> # result: [access_key: {“nonce”: …, “public_key”: ‘<key>’}] near …

Locking Accounts Read More »

Scroll to Top
Report a bug👀