1.0.6 • Published 10 months ago

c2wasm-cli v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

C2WasmCli

Add .env variables

Copy the .env.sample to .env.

Update the API_HOST variable

Global Usage (For using as a cli)

Install:

npm i -g c2wasm-cli

Use:

c2wasm-cli contracts build

This will build the contracts directory and output the wasm files into the build directory.

SDK Usage (For using as an sdk)

npm install c2wasm-cli

import { buildDir } from "c2wasm-cli";

const dirPath = "my/path/to/hooks/root/dir"
const outDir = "my/build/wasm/directory"
await buildDir(dirPath, outDir);

Development / Deployment

Build Repo

yarn run build

Build Executable Package

pkg .

Publish NPM Package

npm publish

1.0.6

10 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago