Skip to content
Retr0 Academy
Build a NEAR dApp

Course · Intermediate

Build a NEAR dApp

This course is the frontend half of NEAR development. You will learn view versus change calls, connect a wallet the way current docs recommend (NEAR Connect + near-api-js), send function calls, and ship a mini project that talks to the live diploma contract.

0 of 5 lessons complete

What you will build

A small diploma-checker front end you can run in the Playground, then the final project: deploy your own contract to testnet and get it verified on chain as "Shipped" on your public verify page.

Prerequisites

  • Web3 Fundamentals (accounts, keys, view vs change).
  • JavaScript enough to read async functions. The Foundations JavaScript course is enough.
  • NEAR Smart Contracts helps you know what you are calling, but you can start this course after Fundamentals if you only call existing contracts.

Lessons

  1. 01View vs Change CallsView methods read contract state for free over RPC. Change methods are signed transactions. Call the live diploma contract right now.2 min
  2. 02Connect a WalletConnect a wallet, read state with near-api-js, and send a function call. Official docs now recommend NEAR Connect; Wallet Selector is deprecated for new apps.2 min
  3. 03Calling Contract MethodsChoose gas and deposit correctly, pass arguments that match the ABI, handle failures, and refresh state with a view call after a change call.2 min
  4. 04Mini Project: Diploma CheckerPut it together: a small front end that calls verify_diploma on testnet, shows the result, and links to the public verify page. Optional: connect a wallet with NEAR Connect.3 min
  5. 05Final Project: Ship to ChainDeploy your own small Rust contract to a NEAR testnet account you control, call it, and submit it. The server checks it on chain and links it to your public verify page.5 min
Take the Build a NEAR dApp quiz