Docs Category: 4.tools

wallet-selector

To Share and +4 nLEARNs Login with NEARNEAR Wallet Selector An easy-to-navigate modal that allows users to select their preferred wallet to easily interact with the NEAR protocol. Launched in March 2022 by the NEAR Foundation, this simple modal will appear whenever users are given the option to “Connect Wallet” to the NEAR blockchain. Initial …

wallet-selector Read More »

Interacting with a Contract

To Share and +4 nLEARNs Login with NEARHere 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 Login with NEARRust 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 Login with NEARimport 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 »

Utils

To Share and +4 nLEARNs Login with NEARNEAR => 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

Scroll to Top