Socket
Socket
Sign inDemoInstall

@ahalabs/cli

Package Overview
Dependencies
57
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ahalabs/cli

CLI for NEAR Development


Version published
Maintainers
2
Install size
11.0 MB
Created

Readme

Source

Build tool for NEAR smart contracts

Currently supports Rust Contracts.

npm install -g @ahalabs/cli@ahalabs/cli

Setup

Get pinata account and add your API key to ENV

export PINATA_API_KEY=""
export PINATA_API_SECRET=""

rust installation

rustup

rustup target add wasm32-unknown-unknown

Commands

build

'build' compiles a workspace of contracts and generates wit, ts, and json. The json is then pinned to IPFS using Pinata. The resulting IPFS content address is written to a custom section in each contract binary.

Currently we use the json name for the custom section.

Keywords

FAQs

Last updated on 07 May 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc