@ahalabs/cli
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @ahalabs/cli

Weekly Downloads

5

Version

0.1.1

License

Apache-2.0

Unpacked Size

34.6 kB

Total Files

11

Last publish

Collaborators

  • chadoh
  • sirwillem