Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Important: If you're upgrading snforge to version 0.48.0 or later, please read the 0.48.0 Migration Guide.

delete

Delete an account from accounts-file and its associated snfoundry profile.

--name, -n <ACCOUNT_NAME>

Required.

Account name which is going to be deleted.

--url, -u <RPC_URL>

Optional.

Starknet RPC node url address.

Overrides url from snfoundry.toml.

--network <NETWORK>

Optional.

Use predefined network with a public provider

Possible values: mainnet, sepolia.

--network-name

Optional.

Network in accounts-file associated with the account. By default, the network passed as --network of RPC node.

--yes

Optional.

If passed, assume "yes" as answer to confirmation prompt and run non-interactively