Skip to main content

JavaScript SDK

JavaScript is the most popular programming language, used by nearly 14 million developers worldwide. You can write smart-contracts in JavaScript or Typescript, and our SDK will pack them with a lightweight runtime. This can then be compiled into a single Wasm file that can be deployed into the NEAR network.

caution

This SDK is currently in Alpha.

The JavaScript runtime has not been fully audited. For creating smart contracts that hold value please use near-sdk-rs.

Help contribute!


Create Your First Javascript Contractโ€‹

Create your first Javascript contract in minutes:

  1. Download and install Node.js.
  2. Create a new javascript project using our quickstart guide.
  3. Read our docs on how to write smart contract.

Resourcesโ€‹

  1. Documentation: https://docs.near.org/develop/contracts/anatomy
  2. Examples: https://docs.near.org/tutorials/welcome
  3. Github: https://github.com/near/near-sdk-js/