0.0.22 • Published 2 years ago

@signac/nxink v0.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

nxink

Nxink is a plugin for Nx to operate ink! smart contracts

Prerequisite

install cargo-contract

Generators

> nx generate nxink:ink my-ink-contract

Executors

# Build a contract
> nx build my-ink-contract

# Run unit tests in a library
> nx test my-ink-contract

# Check a Rust project with `clippy`
> nx lint my-ink-contract
# Don't fail on warnings:
> nx lint my-ink-contract --fail-on-warnings false

Options

The executors accept most of the same CLI args as the corresponding cargo contract commands. When in doubt, run with the --help flag to see all options with descriptions:

> nx build my-ink-contract --help