Subcommands36 subcommands
starkli account
Account management commands
starkli account fetch
Fetch account config from an already deployed account contract
starkli account deploy
Deploy account contract with a DeployAccount transaction
starkli account oz
Create and manage OpenZeppelin account contracts
starkli account oz init
Create a new account configuration without actually deploying
starkli block
Get Starknet block
starkli block-hash
Get latest block hash
starkli block-number
Get latest block number
starkli block-time
Get Starknet block timestamp only
starkli call
Call contract functions without sending transactions
starkli chain-id
Get Starknet network ID
starkli class-at
Get contract class deployed at a certain address
starkli class-by-hash
Get contract class by hash
starkli class-hash
Calculate class hash from any contract artifacts (Sierra, casm, legacy)
starkli class-hash-at
Get contract class hash deployed at a certain address
starkli completions
Generate shell completions script
starkli declare
Declare a contract class
starkli deploy
Deploy contract via the Universal Deployer Contract
starkli invoke
Send an invoke transaction from an account contract
starkli mont
Print the montgomery representation of a field element
starkli nonce
Get nonce for a certain contract
starkli parse-cairo-string
Decode string from felt with the Cairo short string representation
starkli selector
Calculate selector from name
starkli signer
Signer management commands
starkli signer keystore
Keystore management commands
starkli signer keystore new
Randomly generate a new keystore
starkli signer keystore from-key
Create a keystore file from an existing private key
starkli signer keystore inspect
Check the public key of an existing keystore file
starkli signer keystore inspect-private
Check the private key of an existing keystore file
starkli signer gen-keypair
Randomly generate a new key pair
starkli state-update
Get state update from a certain block
starkli storage
Get storage value for a slot at a contract
starkli syncing
Get node syncing status
starkli to-cairo-string
Encode string into felt with the Cairo short string representation
starkli transaction
Get Starknet transaction by hash
starkli transaction-receipt
Get transaction receipt by hash