accounts

accounts

Manage Starknet accounts

accounts [OPTIONS] COMMAND [ARGS]...

change-password

Change the password of an existing account

accounts change-password [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

create

Create an account keypair

accounts create [OPTIONS] ALIAS

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--class-hash <class_hash>

The class hash of the account contract.

--constructor-calldata <constructor_calldata>

Comma separated list of calldata, default uses keyfile or known inputs.

--salt <salt>

The default address salt to use when deploying.

Arguments

ALIAS

Required argument

delete

Delete an existing account deployment

accounts delete [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--network <network>
--address <address>

The contract address of the account

Arguments

ALIAS

Required argument

deploy

Deploy an account

accounts deploy [OPTIONS] ALIAS

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--network <network>
--funder <funder>

Use another an account to help fund

--constructor-calldata <constructor_calldata>

Comma separated list of calldata, default uses keyfile or known inputs.

Arguments

ALIAS

Required argument

export

Export an account private key

accounts export [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

import

Add an existing, deployed account

accounts import [OPTIONS] ALIAS

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--network <network>

Required

--address <address>

The contract address of the account

--class-hash <class_hash>

The class hash of the account contract.

--salt <salt>

The contract address salt used when deploying the contract.

Arguments

ALIAS

Required argument

list

List your Starknet accounts

accounts list [OPTIONS]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG