New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

near-sdk-as

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

near-sdk-as

Collection of packages for developing NEAR smart contracts in AssemblyScript

  • 3.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
decreased by-66.67%
Maintainers
5
Weekly downloads
 
Created
Source

near-sdk-as

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

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.

FAQs

Package last updated on 06 Jul 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc