Near Sdk As

Tools for building NEAR smart contracts in AssemblyScript
Alternatives To Near Sdk As
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Manticore3,369113 days ago723July 07, 2022261agpl-3.0Python
Symbolic execution tool
Brownie2,38120a day ago112May 29, 2022394mitPython
A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
Echidna2,001
a day ago131agpl-3.0Solidity
Ethereum smart contract fuzzer
Remix Project1,8696a day ago18June 06, 2022662mitTypeScript
Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
Swc Registry703
15 days ago34mitSolidity
Smart Contract Weakness Classification and Test Cases
Damn Vulnerable Defi Foundry348
7 days ago2mitSolidity
Damn Vulnerable DeFi - Foundry Version
Scilla240
23 days ago135gpl-3.0OCaml
Scilla - A Smart Contract Intermediate Level Language
Web3 Bootcamp233
3 days agoSolidity
Open-Sourced Turkish Smart Contract Developer Bootcamp by ITU Blockchain
Vertigo148
16 days ago17January 31, 202116lgpl-3.0Python
Mutation Testing for Ethereum Smart Contracts
Boilerplate137
10 hours ago7mitTypeScript
sCrypt project boilerplate
Alternatives To Near Sdk As
Select To Compare


Alternative Project Comparisons
Readme

near-sdk-as

Collection of packages used in developing NEAR smart contracts in AssemblyScript including:

  • runtime library - AssemblyScript near runtime library
  • bindgen - AssemblyScript transformer that adds the bindings needed to (de)serialize input and outputs.
  • near-mock-vm - Core of the NEAR VM compiled to WebAssembly used for running unit tests.
  • @as-pect/cli - AssemblyScript testing framework similar to jest.

To Install

yarn add -D near-sdk-as

Project Setup

To set up a AS project to compile with the sdk add the following asconfig.json file to the root:

{
  "extends": "near-sdk-as/asconfig.json"
}

Then if your main file is assembly/index.ts, then the project can be build with asbuild:

yarn asb

will create a release build and place it ./build/release/<name-in-package.json>.wasm

yarn asb --target debug

will create a debug build and place it in ./build/debug/..

Testing

Unit Testing

See the sdk's as-pect tests for an example of creating unit tests. Must be ending in .spec.ts in a assembly/__tests__.

License

near-sdk-as is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

Popular Smart Contracts Projects
Popular Testing Projects
Popular Blockchain Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Testing
Sdk
Smart Contracts