Docs Category: Basics

Gas – Advanced

To Share and +4 nLEARNs Login with NEARCosts of complex actions Let’s cover some more complex gas calculations: deploying contracts and function calls. Deploying Contracts The basic action cost includes two different values for deploying contracts. Simplified, these are: deploy_contract_cost: 184765750000, deploy_contract_cost_per_byte: 64572944, These values can be queried by using the protocol_config RPC endpoint. The …

Gas – Advanced Read More »

Validators

To Share and +4 nLEARNs Login with NEARThe NEAR network is decentralized, meaning that multiple people collaborate in order to keep it safe. We call such people validators. In order to make sure that all the transactions in the network are valid, i.e. that nobody is trying to steal money, the validators follow a specific …

Validators Read More »

technical_stuff

To Share and +4 nLEARNs Login with NEARInteraction with NEAR is done with JSON RPC API via HTTP calls. With the API, you can call smart contracts, send transactions, manage keys and get information about blockchain data and status. The NEAR CLI abstracts some actions, such as deploying a contract, but eventually, all actions are …

technical_stuff Read More »

State

To Share and +4 nLEARNs Login with NEARAny state that you want to save to the blockchain needs to be explicitly saved by the smart contract by interacting with a data container object (data collection). SDK collections provide an interface to the blockchain storage, a standard key-value store where keys are strings and the values …

State Read More »

Smart Contracts

To Share and +4 nLEARNs Login with NEAR :::info Smart Contracts are the back-end of your application that perform logic and store data on the blockchain. All smart contracts on NEAR must be compiled to WebAssembly or simply WASM. Currently, Pagoda supports two languages Rust and JavaScript (pre-release) with custom software development kits (SDKs) to …

Smart Contracts Read More »

Runtime

To Share and +4 nLEARNs Login with NEARThis section contains videos that explore the core Runtime, its operation, and how it implements cross-contract calls. Runtime Overview An in-depth code overview of NEAR Runtime. <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/Xi_8PapFCjo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> Runtime Action and Data Receipts An in-depth code review of …

Runtime Read More »

Scroll to Top
Report a bug👀