0.1.5 • Published 3 months ago

bunzz v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Bunzz CLI

The Bunzz Command Line Interface (CLI) tool provides a streamlined method for developers to interact with the Bunzz platform. This guide outlines how to install and use the Bunzz CLI.

Installation

Prerequisites: You will need to have Node.js and npm or yarn installed on your system. If you do not have these, you can download and install them from Node.js and Yarn. With npm:

npm install -g bunzz

With yarn:

yarn global add bunzz

With pnpm:

pnpm install -g bunzz

Usage

The Bunzz CLI provides several commands that enable you to clone, build, and deploy projects. Here is a summary of these commands:

  • bunzz -h: Show help information and version details.

  • bunzz clone directory: Clone a contract documented by DeCipher. The options you can use with this command include:

    • -e, --env <env>: Environment to clone from prod, local.
  • bunzz build: Compile all smart contracts in the current directory.

  • bunzz deploy options: Send the ABI and bytecode of a contract to the DeCipher frontend for deployment. The options you can use with this command include:

    • -p, --path <path>: Path to the contract to deploy (default: ".")
    • -c, --contract <contract>: Name of the contract to deploy. (default will be taken from bunzz.config.js)
    • -e, --env <env>: Environment to deploy to prod, local.

To learn more about a specific command and its options, you can type bunzz help [command].

Example usage

Here are some examples of how to use the Bunzz CLI:

  • To get help on the clone command:

    bunzz clone -h
  • To clone, build, and deploy a contract:

    bunzz clone 1_0x1234567890abcdef1234567890abcdef12345678 optionalDirectoryName
    cd optionalDirectoryName
    bunzz build
    bunzz deploy
0.1.5

3 months ago

0.1.4

6 months ago

0.1.3

7 months ago

0.1.2

9 months ago

0.1.1

10 months ago

0.1.0

10 months ago

1.0.4

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago