Signing and safety
In short: Frank asks, a human approves new markets, two more layers check, and only then does a separate signer sign. Frank itself never touches a key.
Frank never holds a key. When it wants to act on chain, the request passes through these stages.
- Pricing and approval (new markets only). Frank can only propose a token. The pricing service computes the terms from fresh prices, keeps total new
FRANKunder a ceiling, and refuses terms that wouldn't be backed or that stray too far from the market. An operator approves those exact terms. - Policy checks the request against limits in code: how much
FRANKa market can create, how many markets can be open, and whether the terms fit the on-chain bounds. - Executor simulates the transaction, records a one-time intent, gets it signed, then sends it. Each tool call has one intent id, so retries and crashes never act twice.
- Signer holds the only key. It signs only a short list of market and vault calls, always with value
0and with caps on how often it signs and on gas and fees.
Anything bigger — upgrades, bounds changes, vault caps — goes through the contracts' public timelocks and the admin, not through Frank. Vault admission itself waits 24 hours in public.
How secrets are split
| Part | Can reach | So a break here cannot… |
|---|---|---|
| The app (model, database) | signer, sandbox, the internet through the egress broker | …sign on its own, or read a real credential |
| The signer (the key) | the chain | …do anything but the allowed calls |
| The sandbox | Frank's machines | …reach the key or the model |
| The egress broker (credentials) | the internet, minus private networks | …be bypassed; it's the only way out |
Known secret values are also redacted from everything the model sees and every public room event.
More on what protects the treasury is in Security.