@digitalnative/cosmwasm
This is a WIP plugin for @nrwl/nx
adding support for Cosmwasm smart contracts
Nx helps building contracts faster with cloud computing with github integration.
Prerequisuite
Install Nx first.
Installation
> nx init
> yarn add @digitalnative/cosmwasm
Generators
> nx generate @digitalnative/cosmwasm:contract my_cosmwasm_contract
** WIP: cosmjs lib **
> nx generate @digitalnative/cosmwasm:js my_cosmjs_lib
Executors
> nx build my_cosmwasm_contract
> nx test my_cosmjs_lib
> nx lint my_cosmwasm_contract
> nx lint my_cosmwasm_contract __fail_on_warnings false
Options
The executors accept most of the same CLI args as the corresponding cargo
commands. When in doubt, run with the __help
flag to see all options with descriptions:
> nx build my_cosmwasm_contract __help