Skip to content

Releases: entropyxyz/cli

[0.1.1] Deadpool - 2024-11-06 (entropy-core compatibility: 0.3.0)

12 Nov 20:38
Compare
Choose a tag to compare

Fixed

  • TUI had a bug where it errored for fresh configs on statup

Full Changelog: v0.1.0...v0.1.1

[0.1.0] Carnage - 2024-11-06 (entropy-core compatibility: 0.3.0)

12 Nov 20:37
Compare
Choose a tag to compare

Added

  • programmatic CLI commands

    • changed: entropy now list help for commands you could launch
    • new: entropy account create
    • new: entropy account import
    • new: entropy account list
    • new: entropy account register
    • new: entropy program deploy
    • new: entropy -v or entropy --version displays CLI version
    • new: entropy -cv or entropy --core-version displays entropy core version
  • TUI

    • added: entropy tui - this is now the default way to launch the TUI
    • new: added faucet to main menu for TUI
    • updated faucet to use loading spinner to indicate to user the progress of the transfer
    • new: menu item to trigger a jumpstart to the network (needs to be run once for fresh test networks)
    • new: added colours to the logs for easier reading
  • documentation

    • updated: ./README.md
    • new: ./src/README.md - an guide to the source of the project
    • new: ./src/_template/* - an example "domain" with lots of notes
  • tests

    • new: ./tests/account.test.ts - tests for ./src/account/

    • updated: ./tests/balance.test.ts - tests for ./src/balance/

    • new: ./tests/common.test.ts - tests for ./src/common/

    • updated: ./tests/config.test.ts - tests for ./src/config/

    • new: ./tests/e2e.cli.sh - a shell script which is an early test for programmatic usage

    • new: ./tests/faucet.test.ts - tests ./src/faucet/

    • new: ./tests/global.test.ts -

    • new: ./tests/program.test.ts - tests for ./src/program/

  • programs

    • new: ./tests/programs/faucet_program.wasm - the faucet program!
  • packages

    • new: yocto-spinner for adding loading spinners to the cli
    • some minor package updates
  • github actions

    • new: CLA action

Changed

  • updated SDK version to v0.3.0 (entropy-core 0.3.0)
    • updated us to use four-nodes docker setup
  • logger to handle nested contexts for better organization of logs
  • update: ./src/common/utils.ts - removed isValidSubstrateAddress and imported the method in from the sdk
  • file restructure:
    • removed: src/flows/*
    • added
      • ./src/common/entropy-base.ts - base abstract class for all our domains main.js files
      • ./src/_template - docs explaining the new file structure pattern
      • ./src/account - new file structure for our CLI/TUI flows
        • NOTE: this contains register flow
      • ./src/balance - new file structure for our CLI/TUI flows
      • ./src/faucet - new file structure for our CLI/TUI flows
      • ./src/program - new file structure for our CLI/TUI flows
        • NOTE: this merges user-program + dev-program domains into a single domain
      • ./src/sign - new file structure for our CLI/TUI flows
      • ./src/transfer - new file structure for our CLI/TUI flows
  • folder name for user programs to match the kebab-case style for folder namespace
  • ascii art print out now shows up to date core version based, coming from SDK
  • updated how errors are handled with the register, the process will no longer exit and allow user's to continue using the CLI

Broke

  • config migration : remove all verifyingKeys from accounts

    • network reset means that while all account keys are preserved, all state such as verifyingKeys is lost
    • we want users to maintain the accounts they have set up, but reset the state that will no longer work
  • network now uses four-nodes docker setup

    • requires an update to /etc/hosts for local testing, should include line:
      127.0.0.1 alice-tss-server bob-tss-server charlie-tss-server dave-tss-server
      
  • for programmatic CLI

    • change account listing:
      • old: entropy list
      • new: entropy account list [options]
    • changed transfer:
      • old: entropy transfer [options] <source> <destination> <amount>
      • new: entropy transfer [options] <destination> <amount>
    • changed env: ENDPOINT => ENTROPY_ENDPOINT
  • for TUI

    • entropy now displays help, must now use entropy tui to launch TUI
    • "endpoint" configuration has changed
      • see entropy --help
        • change flag: --endpoint => --tui-endpiont
        • change env: ENTROPY_ENDPOINT => ENTROPY_TUI_ENDPOINT
      • This is because of collisions we were seeing with commander flags.
      • Does not effect programmatic CLI usage
      • We may revert this in a future release.
    • deploying programs now requires
      • *.wasm file for bytecode
      • *.json file path for configurationSchema
      • *.json file path for auxillaryDataSchema

What's Changed

Read more

Blade v0.0.3

17 Jul 19:30
bcc14a3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.2...v0.0.3

AntMan v0.0.2

12 Jul 18:24
b28240e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.1...v0.0.2