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

What is Learn NEAR smart contract by example?Mainnet
#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.
Socials
Discover More

NEAR DevHub
DevHub brings together individuals, projects, and organizations to build a decentralized NEAR developer ecosystem. We provide social structure and tools to fuel innovation, collaboration, and community within the NEAR ecosystem.

Lantstool
Your gateway to NEAR Protocol development

Race of Sloths
A fun way to contribute to open source. Contribute, get recognized, and boost your profile!

Encode Club
Learn, build and advance your career in emerging tech