Documentation

Contacts

All contact operations live under the eiou contact … namespace. Identifiers accept a name, an address, or a pubkey-hash — pubkey-hash is the most stable identifier across restores. From the host, prepend docker exec <container> to every command shown below. Every CLI command also accepts a --json output flag for machine-readable responses; see the API reference for the response envelope.

ExampleBare form — locators, public key, fee earnings, total available credit
eiou info
Same as above plus a per-currency balance breakdown
eiou info detail
Write the auth code to a 5-minute tmpfs file and print its path — never echoed to stdout or logs
eiou info --show-auth
ExampleDefault view — 5 most recent transactions
eiou overview
Same view but with the last 10 transactions instead — pass any positive integer
eiou overview 10
ExampleBare form — just address and name; defaults to VWL, --fee 0, --credit 0
eiou contact add http://bob:8080 Bob
Set the fee, credit limit, and currency explicitly — the typical case
eiou contact add http://bob Bob --fee 0.1 --credit 1000 --currency VWL
Full form — also requests reciprocal credit and attaches a short note for the receiver
eiou contact add http://bob Bob --fee 1.0 --credit 100 --currency VWL --requested-credit 500 --message "Hey, it's Dave"

Mutual-add shortcut: if both sides run contact add against each other (without either side running accept), the cross-request is auto-finalized to accepted for the matching currency. Each side keeps the fee/credit it published in its own add — they don't have to match. Use add + accept when the receiving side wants to set its own fee/credit based on what the requester proposed.

Example
eiou contact pending
ExampleSingle-currency accept — one --currency / --fee / --credit triplet
eiou contact accept <pubkey-hash> --currency VWL --fee 0.1 --credit 1000
Accept multiple currencies in one call by repeating the triplet — here VWL and EUR with different terms
eiou contact accept <pubkey-hash> --currency VWL --fee 0.1 --credit 1000 --currency EUR --fee 0.05 --credit 500
Example
eiou contact apply <hash> --accept VWL:0.01:1000 --decline EUR --defer XRP
Example
eiou contact decline <pubkey-hash>
ExampleResolve by display name — the easiest form once you've added the contact locally
eiou contact view Bob
Resolve by node URL — useful when you don't remember the local name
eiou contact view http://bob
Resolve by pubkey-hash — the most stable identifier; survives renames and address changes
eiou contact view <pubkey-hash>
ExampleAll contacts grouped by status — no filter
eiou contact list
Filter to fully connected contacts only
eiou contact list --status accepted
Filter to outstanding requests (incoming and outgoing)
eiou contact list --status pending
Filter to contacts you've blocked
eiou contact list --status blocked
Example
eiou contact search Alice
ExampleRename only — no --currency needed since the display name is shared across all currencies
eiou contact update Bob --name Robert
Change the fee for one currency — --currency is required because fees are stored per-currency
eiou contact update Bob --fee 1.5 --currency VWL
Change the credit limit on a different currency — same shape, different field
eiou contact update Bob --credit 500 --currency EUR
Combined update — rename the contact and overwrite both fee and credit on the same currency in one call
eiou contact update Bob --name Robert --fee 2.0 --credit 1500 --currency VWL
Example
eiou contact ping Bob
ExampleBlock — rejects all incoming traffic from this contact and stops them routing through you
eiou contact block Bob
Reverse the block — restores both directions; balances were never touched
eiou contact unblock Bob
Example
eiou contact delete Bob

contact currency add

Propose a new currency on a contact you're already connected on. The remote receives a P2P request and can accept it (with their own fee/credit terms) or decline it. --fee and --credit are required.

eiou contact currency add Bob EUR --fee 0.05 --credit 500

contact currency accept

Accept a single per-currency request that's pending on an existing contact. You set your own --fee and --credit for this currency — they don't have to match the requester's.

eiou contact currency accept Alice EUR --fee 0.05 --credit 500

contact currency decline

Decline an incoming per-currency proposal. A notification is sent to the requester so their outgoing-pending row drops on their side immediately — this is the right command when you want the proposer to know the answer is no.

eiou contact currency decline Alice EUR

contact currency list

Show every currency configured for a single contact, with each row's status (pending / accepted / declined) and direction (incoming / outgoing). Useful when a contact spans several currencies and you want to see what's active.

eiou contact currency list Bob

contact currency remove

Remove a currency configuration from your local database. Local-only — the remote contact is not notified. Use this to clean up a stale outgoing-pending row on your side, not to reject an incoming proposal (use currency decline for that).

eiou contact currency remove Bob EUR