# Learn NEAR smart contract by example

> Learn NEAR Smart Contracts by Doing - Run code in your browser. Deploy to TestNet in one click.

**Categories:** Ecosystem Support, Developer Support
**Phase:** mainnet
**Updated:** 2026-05-27

## What is Learn NEAR smart contract by example?

#Learn NEAR Smart Contracts by Doing

**What it does:**  
NEAR by Example is an interactive learning platform that teaches developers how to build smart contracts on the NEAR blockchain through hands-on coding. Users can write, test, and deploy smart contracts directly in their browser—no setup, no wallets, no complex environments.

**Why try it?**  
- **Learn by doing:** Write and run code instantly with immediate feedback.  
- **AI-powered assistance:** Get explanations, bug fixes, and suggestions from an AI tutor.  
- **One-click deployment:** Deploy to NEAR TestNet with a single click and see real results.  
- **Language flexibility:** Code in JavaScript, TypeScript, or Rust—choose your stack.  
- **Curated examples:** Explore 60+ interactive examples across topics like access control, tokens, cross-contract calls, and more.  

Perfect for developers at any level—whether you're new to blockchain or looking to level up your NEAR skills.  


## Links

- Website: https://near.peersurf.xyz/
- Medium: https://linktr.ee/learnnear
- GitHub: https://github.com/orgs/Learn-Near-AI/repositories

## Related categories

- [Ecosystem Support](https://nearcatalog.xyz/category/ecosystem-support)
- [Developer Support](https://nearcatalog.xyz/category/developer-support)

---
Canonical HTML: https://nearcatalog.xyz/project/learn-near-smart-contract-by-example