Documentation Index
Fetch the complete documentation index at: https://docs.privacyboost.io/llms.txt
Use this file to discover all available pages before exploring further.
Installation
This guide covers installing the Privacy Boost CLI tool.
Prerequisites
- Rust 1.70 or later (for building from source)
- An Ethereum RPC endpoint
- A private key with funds for transactions
Installation Methods
From Pre-built Binary
Download the latest release for your platform:
# macOS (Apple Silicon)
curl -L https://github.com/sunnyside-io/privacy-boost-sdk/releases/latest/download/privacy-boost-darwin-arm64.tar.gz | tar xz
sudo mv privacy-boost /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/sunnyside-io/privacy-boost-sdk/releases/latest/download/privacy-boost-darwin-x64.tar.gz | tar xz
sudo mv privacy-boost /usr/local/bin/
# Linux (x86_64)
curl -L https://github.com/sunnyside-io/privacy-boost-sdk/releases/latest/download/privacy-boost-linux-x64.tar.gz | tar xz
sudo mv privacy-boost /usr/local/bin/
# Linux (ARM64)
curl -L https://github.com/sunnyside-io/privacy-boost-sdk/releases/latest/download/privacy-boost-linux-arm64.tar.gz | tar xz
sudo mv privacy-boost /usr/local/bin/
From Source (Currently unavailable)
Build from the repository:
# Clone repository
git clone https://github.com/sunnyside-io/privacy-boost-sdk.git
cd privacy-boost
# Build CLI using Make
make cli
# Binary will be at dist/cli/privacy-boost
./dist/cli/privacy-boost --version
Cargo Install (Currently unavailable)
To install the privacy-boost crate from crates.io:
cargo install privacy-boost-cli
Verify Installation
privacy-boost --version
# privacy-boost 0.1.0
privacy-boost --help
Configuration
Configuration File
Create a configuration file at ~/.privacy-boost/config.toml:
# Network configuration
server_url = "https://test-api.privacyboost.io"
weth_contract_address = "0x4200000000000000000000000000000000000006"
rpc_url = "https://eth.llamarpc.com"
timeout_secs = 30
Environment Variables
Override configuration with environment variables:
export SERVER_URL="https://test-api.privacyboost.io"
export RPC_URL="https://mainnet.infura.io/v3/YOUR_KEY"
export WETH_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000006"
export PRIVATE_KEY="0x..."
Quick Example
# Login with private key
privacy-boost login --private-key $PRIVATE_KEY
# Check status
privacy-boost status
# Check balance
privacy-boost balance --token 0x...
# Deposit tokens
privacy-boost deposit --token 0x... --amount 1000000000000000000
# Send privately
privacy-boost send --token 0x... --amount 500000000000000000 --recipient 0x04...
# Withdraw
privacy-boost withdraw --token 0x... --amount 250000000000000000 --recipient 0x...
# View history
privacy-boost history
Commands
| Command | Description |
|---|
init | Initialize configuration file |
login | Connect wallet, derive privacy keys, and authenticate |
logout | Clear session |
status | Show connection status |
balance | Check a token balance |
balances | Check all token balances |
deposit | Deposit tokens to private balance |
withdraw | Withdraw to public address |
send | Send private transfer |
history | View transaction history |
sessions | List saved sessions |
resolve-identity | Look up identity by address or MPK |
Next Steps