@ahalabs/cli
v0.1.1
Published
CLI for NEAR Development
Downloads
23
Readme
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 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.