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.
警告
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:
- Download and install Node.js.
- Create a new javascript project using our quickstart guide.
- Read our docs on how to write smart contract.
Resources
- Documentation: https://docs.near.org/develop/contracts/anatomy
- Examples: https://docs.near.org/tutorials/welcome
- Github: https://github.com/near/near-sdk-js/