Skip to content

Initial Release: v0.2.0

Compare
Choose a tag to compare
@miraclx miraclx released this 01 Sep 08:35
· 148 commits to main since this release
219c10b

Crate Link: https://crates.io/crates/cargo-near/0.2.0

Full Changelog: https://github.com/near/cargo-near/commits/v0.2.0

cargo-near

Cargo extension for building near-sdk-rs smart contracts and ABI schemas on NEAR

Usage

To build a NEAR smart contract (while in the directory containing contract's Cargo.toml):

$ cargo near build

To generate an ABI for a contract (while in the directory containing contract's Cargo.toml):

$ cargo near abi

See cargo near --help for a complete list of options.

Installation

From crates.io:

$ cargo install cargo-near

To install from source:

$ git clone https://github.com/near/cargo-near
$ cargo install --path cargo-near