goal account

goal account

Create and manage Algorand accounts

Synopsis

Collection of commands to support the creation and management of accounts / wallets tied to a specific Algorand node instance.

goal account [flags]

Options

  -f, --default string   Set the account with this name to be the default account
  -h, --help             help for account
  -w, --wallet string    Set the wallet to be used for the selected operation

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

Commands

goal account addpartkey

Generate a participation key for the specified account

Synopsis

Generate a participation key for the specified account

goal account addpartkey [flags]

Options

  -a, --address string         Account to associate with the generated partkey (required)
  -h, --help                   help for addpartkey
      --roundFirstValid uint   The first round for which the generated partkey will be valid
      --roundLastValid uint    The last round for which the generated partkey will be valid

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account balance

Retrieve the balance for the specified account

Synopsis

Retrieve the balance for the specified account

goal account balance [flags]

Options

  -a, --address string   Account address to retrieve balance (required)
  -h, --help             help for balance

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account changeonlinestatus

Change online status for the specified account

Synopsis

Change online status for the specified account. Set online should be 1 to set online, 0 to set offline. The broadcast transaction will be valid for a limited number of rounds. goal will provide the TXID of the transaction if successful. Going online requires that the given account have a valid participation key.

goal account changeonlinestatus [flags]

Options

  -a, --address string     Account address to change (required)
  -f, --fee uint           The fee to set on the status change transaction (default 1)
  -h, --help               Help for changeonlinestatus
  -o, --online             Set this account to online or offline (-o=true default true)
  -v, --validRounds uint   The validity period for this registration (default 1000)

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account importrootkey

Import a .rootkey file into the default wallet

Synopsis

Import a .rootkey file into the default wallet.

goal account importrootkey [flags]

Options

  -h, --help   help for importrootkey

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account list

Show the list of Algorand accounts on this machine

Synopsis

Show the list of Algorand accounts on this machine. Also indicates whether the account is [offline] or [online], and if the account is the default account for goal.

goal account list [flags]

Options

  -h, --help   help for list

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account new

Create a new account

Synopsis

Coordinates the creation of a new account with KMD. The name specified here is stored in a local configuration file and is only used by goal when working against that specific node instance.

goal account new [flags]

Options

  -f, --default   Set this account as the default one
  -h, --help      help for new
  -o, --online    Set this account to online or offline when created (defaults to online=true) (default true)

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account newmultisig

Create a new multisig account

Synopsis

Create a new multisig account from a list of existing non-multisig addresses

goal account newmultisig [addr1 addr2 ...] [flags]

Options

  -h, --help              help for newmultisig
  -k, --threshold uint8   Number of signatures required to spend from this address (default 1)

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation

goal account rename

Change the human-friendly name of an account

Synopsis

Change the human-friendly name of an account

goal account rename [old name] [new name] [flags]

Options

  -h, --help   help for rename

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -w, --wallet string    Set the wallet to be used for the selected operation