Learn NEAR Smart Contracts

Run code in your browser. Deploy to TestNet in one click.

Contact Team rocket-launchPlay Ground

Cover

gauge-low

One-Click Deploy

Deploy your contracts to NEAR TestNet with a single click.

Get started in 5 minutes

Setting up your first contract should be the easiest part of getting started. With clear instructions, copy-paste-ready examples, and quick deployment, you’ll be up and running in minutes—not hours.

No guesswork, no complexity—just your first successful call, fast.

rocket-launchGet started

index.js
import { NearBindgen, view } from "near-sdk-js";

@NearBindgen({})
class Contract {
  constructor({ greeting } = { greeting: "hello" }) {
    this.greeting = greeting;
  }

  @view({})
  get_greeting() {
    return this.greeting;
  }
Examples Playground

Learn more about the platform

Read guides, watch tutorials, and learn more about working with the developer platform and deploying your custom smart contract with it.

book-openGuides

Join a community of developers

Join our Discord community and follow us in X, in just a few steps.

Cover

discord

Discord community

Join our Discord community to post questions, get help, and share resources with like-minded developers.

Cover

github

GitHub

Our product is 100% open source and built by developers just like you. Head to our GitHub repository to learn how to submit your first PR.

Last updated

Was this helpful?