Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(console-wallet): add contract-definition init command #4164

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jun 6, 2022

Description

  • Adds tari_console_wallet contract-definition init command
  • Moves publish-contract-definition command to subcommand of contract-definition i.e. contract-definition publish

Motivation and Context

Generates an initial contract definition spec file for the user to edit. All contract definition related commands are under the contract-definition subcommand.

USAGE:
    tari_console_wallet contract-definition <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    help       Print this message or the help of the given subcommand(s)
    init       Generates a new contract definition JSON spec file that can be edited and passed
                   to other contract definition commands
    publish    Creates and publishes a contract definition UTXO from the JSON spec file

How Has This Been Tested?

Manually

@aviator-app aviator-app bot merged commit 8685e2f into tari-project:development Jun 7, 2022
@sdbondi sdbondi deleted the wallet-generate-contract-def-json branch June 7, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants