executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
leo-walletInteract with Aleo blockchain - check balances, view transactions, and explore the privacy-focused network. Works with Leo Wallet addresses.
Independent GitHub snapshot · Automated classification · Original documentation governs
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
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo/mapping/account/ADDRESS" | \
python3 -c "import sys; print(sys.stdin.read())"
curl -s "https://api.explorer.aleo.org/v1/testnet3/latest/block" | python3 -m json.tool
curl -s "https://api.explorer.aleo.org/v1/testnet3/latest/height"
curl -s "https://api.explorer.aleo.org/v1/testnet3/transaction/TX_ID" | python3 -m json.tool
curl -s "https://api.explorer.aleo.org/v1/testnet3/block/BLOCK_HEIGHT" | python3 -m json.tool
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo" | python3 -m json.tool
curl -s "https://api.explorer.aleo.org/v1/testnet3/program/credits.aleo/mappings" | python3 -m json.tool
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}')
"
Start a client node:
snarkos start --client
Get peer info:
snarkos developer get-peer-count
Create new project:
leo new my_program
Build program:
leo build
Run program:
leo run main
aleo1| Type | Prefix | Purpose |
|---|---|---|
| Address | aleo1 | Public identifier |
| View Key | AViewKey1 | Decrypt incoming |
| Private Key | APrivateKey1 | Full control |
| Network | Base URL |
|---|---|
| Testnet3 | https://api.explorer.aleo.org/v1/testnet3 |
| Mainnet | https://api.explorer.aleo.org/v1/mainnet (when live) |
| 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 |