Docs Category: Front-end

Exploring NEAR Protocol APIs

To Share and +4 nLEARNs Login with NEAR[ This workshop ] includes several activities: a client-side playground to better understand how near-api-js works a console-based challenge to practice using near-cli to manage keys, create accounts and deploy contracts a monitoring challenge to apply lessons about near-api-js and JSON RPC API into a single interface Prerequisites …

Exploring NEAR Protocol APIs Read More »

NEAR-API-JS (JavaScript Library)

To Share and +4 nLEARNs Login with NEAR near-api-js is a JavaScript/TypeScript library for development of decentralized applications on the NEAR platform. It works in conjunction with our RPC endpoints to help you connect your application to the NEAR blockchain. Resource Description Cheatsheet / Quick Reference Quick easy way to get started with the most …

NEAR-API-JS (JavaScript Library) Read More »

Examples Using near-api-js

To Share and +4 nLEARNs Login with NEAROverview This page includes several examples of using near-api-js presented as a collection of code snippets. near-api-js is a JavaScript/TypeScript library for development of DApps on the NEAR platform that can be used from any client or server-side JavaScript environment. Every code snippet on this page will work …

Examples Using near-api-js Read More »

JavaScript

To Share and +4 nLEARNs Login with NEARWhat follows is a brief overview of how to invoke contracts from a client-side JavaScript context. near-api-js supports both client and server-side JavaScript. Wiring smart contract functions to the window You need to do two things in order to access your smart contract calls on the front-end. Defining …

JavaScript Read More »

Front-end Introduction

To Share and +4 nLEARNs Login with NEARApplications on NEAR have two distinct parts, like a back-end and front-end of a web app: Smart Contract(s): Storing and modifying data on the chain. Contracts need to expose methods that allow clients to "view" and "change" state. Interactions with Smart Contract(s): Like with a cloud API, you …

Front-end Introduction Read More »

Scroll to Top