Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
near-sdk-as
Advanced tools
Collection of packages for developing NEAR smart contracts in AssemblyScript
Collection of packages used in developing NEAR smart contracts in AssemblyScript including:
runtime library
- AssemblyScript near runtime librarybindgen
- 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.yarn add -D near-sdk-as
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/..
See the sdk's as-pect tests for an example of creating unit tests. Must be ending in .spec.ts
in a assembly/__tests__
.
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.
FAQs
Collection of packages for developing NEAR smart contracts in AssemblyScript
The npm package near-sdk-as receives a total of 27 weekly downloads. As such, near-sdk-as popularity was classified as not popular.
We found that near-sdk-as demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.