#entropy #beacon #cosmos #cosmwasm #entropic

app entropycli

Entropy CLI for developing using the Entropic Labs Entropy Beacon

9 stable releases

1.0.10 Feb 11, 2023
1.0.9 Feb 7, 2023
1.0.8 Jan 25, 2023
1.0.6 Nov 17, 2022

#2033 in Magic Beans

Download history 14/week @ 2024-02-21 8/week @ 2024-02-28 1/week @ 2024-03-13 32/week @ 2024-03-27 25/week @ 2024-04-03

57 downloads per month

Apache-2.0

105KB
3K SLoC

EntropyCLI - Entropy Beacon Tooling

EntropyCLI is a command line tool for interacting with the Entropy Beacon. Developers can use EntropyCLI to facilitate local development of applications that integrate with the Entropy Beacon. Check out the Documentation for more information.

Installation

Developers can get started with EntropyCLI by installing it with cargo:

cargo install entropycli

Usage (Local Development)

To get started, EntropyCLI can be used to create a new Entropy Beacon project, which creates a entropy.json configuration file in the current directory. To create a new project, run the following command, and follow the prompts:

entropy beacon init

The initialization process will also prompt the developer to deploy a local instance of the Entropy Beacon to the network they have selected. To manually deploy a local instance of the Entropy Beacon, run the following command:

entropy beacon deploy

Once the Entropy Beacon has been deployed, EntropyCLI can be used to interact with the Entropy Beacon and to respond to incoming requests. To start this process, run the following command:

entropy beacon dev

This "dev" mode has three main functions:

  1. "Auto-submit Entropy" -- EntropyCLI will automatically submit random entropy to the Entropy Beacon as requests come in.
  2. "Manual-submit Entropy" -- EntropyCLI will prompt the developer to submit entropy to the Entropy Beacon as requests come in. This is useful for testing specific entropy values, and is not random. In production, this is obviously impossible.
  3. "Fetch Active Requests" -- EntropyCLI will output request information to the console as requests come in. This is useful for debugging request specifics.

Usage (Worker Deployments)

EntropyCLI can also be used to manage Entropy Worker deployments, although this is a beta feature. The documentation for this feature has not yet been written.

Dependencies

~21–35MB
~612K SLoC