# corpo CLI

Agent-facing CLI for forming and governing Wyoming DAO LLCs on Solana.

## Install

```bash
uvx corpo          # run directly
pip install corpo  # or install
```

## Quick Start

```bash
corpo init                    # generate keypair + config
corpo status                  # show identity & realm context
corpo realms                  # list all realms
corpo proposals --governance <addr>
corpo vote --proposal <addr> --proposal-owner-record <addr> --choice approve
```

## Formation (Phase 2)

```bash
corpo form draft --name "MyDAO LLC" --members 3
corpo form file --draft-id <id>
corpo form status --filing-id <id>
corpo quote --amount 500
corpo pay --quote-id <id>
```

## Config

`~/.corpo/config.toml`:

```toml
[identity]
keypair = "~/.corpo/keypair.json"

[network]
api_url = "https://api.corpo.dev"
rpc_url = "https://api.devnet.solana.com"
program_id = "GTesTBiEWE32WHXXE2S4XbZvA5CrEc4xs6ZgRe895dP"

[defaults]
realm = ""
governance = ""
governing_token_mint = ""
```

Resolution order: CLI flag > env var (`CORPO_*`) > config.toml > built-in default.
