⚠
High Risk:This skill has significant security concerns. Review the findings below before installing.
leo-wallet
⚠Caution·Scanned 2/18/2026
Provides CLI guidance for interacting with the Aleo blockchain and installing the Leo/snarkOS toolchain. Contains network calls to https://api.explorer.aleo.org and a piped install command curl -sSf https://raw.githubusercontent.com/AleoHQ/snarkOS/mainnet/install.sh | bash, which instructs remote shell execution.
from clawhub.ai·ve932ca7·3.2 KB·0 installs
Scanned from 1.0.0 at e932ca7 · Transparency log ↗
$ vett add clawhub.ai/sakaen736jih/leo-walletReview security findings before installing
Leo Wallet CLI
Setup
Install snarkOS:
curl -sSf https://raw.githubusercontent.com/AleoHQ/snarkOS/mainnet/install.sh | bash
Install Leo (development):
curl -sSf https://raw.githubusercontent.com/AleoHQ/leo/mainnet/install.sh | bash
Check Balance via API
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo/mapping/account/ADDRESS" | \
python3 -c "import sys; print(sys.stdin.read())"
Get Latest Block
curl -s "https://api.explorer.aleo.org/v1/testnet3/latest/block" | python3 -m json.tool
Block Height
curl -s "https://api.explorer.aleo.org/v1/testnet3/latest/height"
Get Transaction
curl -s "https://api.explorer.aleo.org/v1/testnet3/transaction/TX_ID" | python3 -m json.tool
Get Block by Height
curl -s "https://api.explorer.aleo.org/v1/testnet3/block/BLOCK_HEIGHT" | python3 -m json.tool
Program Info
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo" | python3 -m json.tool
List Program Mappings
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo/mappings" | python3 -m json.tool
Network Stats
python3 -c "
import urllib.request
import json
base = 'https://api.explorer.aleo.org/v1/testnet3'
height = urllib.request.urlopen(f'{base}/latest/height').read().decode()
print(f'Latest Block: {height}')
"
Using snarkOS
Start a client node:
snarkos start --client
Get peer info:
snarkos developer get-peer-count
Leo CLI (Development)
Create new project:
leo new my_program
Build program:
leo build
Run program:
leo run main
Address Format
- Aleo addresses start with
aleo1 - Length: 63 characters
- Example: aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9dx
View Key Types
| Type | Prefix | Purpose |
|---|---|---|
| Address | aleo1 | Public identifier |
| View Key | AViewKey1 | Decrypt incoming |
| Private Key | APrivateKey1 | Full control |
Explorer APIs
| Network | Base URL |
|---|---|
| Testnet3 | https://api.explorer.aleo.org/v1/testnet3 |
| Mainnet | https://api.explorer.aleo.org/v1/mainnet (when live) |
API Endpoints
| Endpoint | Description |
|---|---|
| /latest/block | Latest block |
| /latest/height | Current height |
| /block/{height} | Block by height |
| /transaction/{id} | Transaction details |
| /program/{id} | Program source |
| /program/{id}/mappings | Program state |
Notes
- Aleo is privacy-focused; not all data is publicly visible
- Testnet3 is current test network
- Credits are the native currency
- Programs are written in Leo language
- Zero-knowledge proofs enable private transactions
- Mainnet launch expected - check aleo.org for updates