๐Ÿš€ AssemblyScript SDK

To Share and +4 nLEARNs
AssemblyScript is a dialect of TypeScript programming language that compiles to WebAssembly. The syntax resembles JavaScript, but with strict and static typing. One can think of it as a mix of TypeScript’s high level syntax and C’s low-level capabilities. Thanks to this, the resulting WebAssembly modules can profit from predictable performance while guaranteeing a small binary size. However, this comes with the tradeoff of having to strictly type all variables and structures, and therefore not having any, union types or undefined variables.

::caution
Because of its maturity and safety features, we strongly recommend to use Rust when writing financial contracts.

::

Get Started Now!

Create your first Assemblyscript contract in minutes:

  1. Download and install Node.js.
  2. Create a new project using our quickstart guide.
  3. Continue reading what is a smart contract?.

Resources

  1. Github: https://github.com/near/near-sdk-as
  2. Examples: https://docs.near.org/tutorials/welcome
Scroll to Top