Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-wasm-contract

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-wasm-contract

[![npm version](https://badge.fury.io/js/%40nxrs%2Fcargo.svg)](https://badge.fury.io/js/%40digitalnative%2Fcosmwasm)

  • 0.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

nxcw

npm version

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.

npm i -g nx

Installation

> npx create-nx-workspace
> yarn add nxcw

Generators

Generate each cosmwasm contract starter from each cosmos chain

> nx generate nxcw:osmosis my_cosmwasm_contract

** WIP: cosmjs lib **

> nx generate nxcw:js my_cosmjs_lib

Executors

Build a contract or Typescript library

> nx build my_cosmwasm_contract

Run unit tests in a library or contract

> nx test my_cosmjs_lib
> nx test my_cosmwasm_contract

Render dependancy graph for your cosmwasm contract

> nx graph 

graph

Cloud build

Integrate with nx cloud build server to save compilation time for rust cosmwasm contracts.

Screen Shot 2022-07-08 at 4 10 07 AM

Check a Rust project with clippy

nx lint my_cosmwasm_contract

Don't fail on warnings:

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:

```sh
> nx build my_cosmwasm_contract __help

FAQs

Package last updated on 08 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc