| Crates.io | stark-ark |
| lib.rs | stark-ark |
| version | 0.1.11 |
| created_at | 2025-12-28 11:57:00.251851+00 |
| updated_at | 2025-12-31 15:39:33.381904+00 |
| description | A secure, Rust-based CLI wallet and library for Starknet. |
| homepage | |
| repository | https://github.com/0xcrypto2024/stark-ark |
| max_upload_size | |
| id | 2008659 |
| size | 23,177,100 |
A secure, Rust-based CLI wallet and library for Starknet.
.env).Ensure you have Rust installed.
git clone https://github.com/your-username/stark-ark.git
cd stark-ark
cargo install --path .
Before using StarkArk, you need to configure the RPC endpoint and other settings.
Initialize Configuration: Run the following command to generate a default configuration file in your system's config directory:
stark-ark config init
Edit Configuration:
The command above will tell you where the file was created (e.g., ~/.config/stark-ark/.env on Linux). Open it and set your STARKNET_RPC_URL.
STARKNET_RPC_URL=https://starknet-sepolia.public.blastapi.io
Check Configuration: Verify your settings:
stark-ark config show
StarkArk can be used in Interactive Mode (by running without arguments) or CLI Mode.
Simply run:
stark-ark
Follow the on-screen prompts to create a wallet, manage accounts, and send transactions.
Generate a new private key and add it to your keystore.
stark-ark new
View all accounts managed by the keystore.
stark-ark list
Import an existing private key or a JSON account config (which allows custom salts/class hashes).
# Interactive import (recommended)
stark-ark import
# Or via command line (unsafe for history)
stark-ark import --key <PRIVATE_KEY_HEX_OR_JSON>
Check the STRK balance of a specific account (by index).
stark-ark balance --index 0
Deploy the account contract to the Starknet network. This is required before you can execute transactions (other than deploy). You need to fund the address with ETH/STRK first.
stark-ark deploy --index 0
Send STRK to another address.
stark-ark transfer --from-index 0 --to 0x123... --amount 1.5
Export the private key or full account configuration (JSON) for backup.
stark-ark export --index 0
View a link to active validators or check your configured default staker.
stark-ark validators
Delegate STRK tokens to a validator to earn rewards.
# Interactive mode (prompts for amount and validator)
stark-ark stake --index 0
# Non-interactive mode
stark-ark stake --index 0 --amount 10 --validator 0x123...
View both your wallet balance and your delegated (staked) amount.
stark-ark balance --index 0
MIT