Docs Category:

Interacting with a Contract

To Share and +4 nLEARNs NEAR Wallet Here we enumerate case scenarios, and point to where the documentation is present. Integrating Contracts into a Web App If you are developing a website (or a web-app), then you will be using near-api-js to communicate with the blockchain. Go to the website for more information about it. …

Interacting with a Contract Read More »

Rust SDK

To Share and +4 nLEARNs NEAR Wallet Rust is a programming language designed for performance and safety. It is syntactically similar to C++, but can guarantee memory safety without resorting to garbage collection. Rust has proven to be a mature and secure language, which makes it ideal to write smart contracts. Because of this, Rust …

Rust SDK Read More »

Interacting with the Wallet

To Share and +4 nLEARNs NEAR Wallet import Tabs from ‘@theme/Tabs’; import TabItem from ‘@theme/TabItem’; Wallet interaction is possible only in the browser, because NEAR’s Wallet is web-based. Most frequent action is Sign In. Your user is redirected to the Wallet page to authorize your application. Once the user has Signed In, an access key …

Interacting with the Wallet Read More »


To Share and +4 nLEARNs NEAR Wallet NEAR => yoctoNEAR // converts NEAR amount into yoctoNEAR (10^-24) const { utils } = nearAPI; const amountInYocto = utils.format.parseNearAmount(“1”); Function parseNearAmount YoctoNEAR => NEAR // converts yoctoNEAR (10^-24) amount into NEAR const { utils } = nearAPI; const amountInNEAR = utils.format.formatNearAmount(“1000000000000000000000000”); Function formatNearAmount


To Share and +4 nLEARNs NEAR Wallet When you instantiate an instance of Contract you need to specify the names of the functions you have on your smart contract. Then the new instance of Contract will have methods with the same names as your smart contract functions. For example if you deployed a contract with …

Contract Read More »

Scroll to Top
🕺New partnerships = cool giveaways! 5 lucky winners will get (L)Earners NFTs!🏆
This is default text for notification bar