@signac/nxink
v0.0.22
Published
Nxink is a plugin for Nx to operate ink! smart contracts
Downloads
5
Readme
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