Skip to main content
More and more code against these docs is written by an AI coding agent on a person’s behalf. This page says what an agent can rely on, where it must not guess, and what to read first.

What to rely on

  • Code blocks in the Quickstart and in Private Sub-accounts SDK were type-checked against the SDK source (version 1.4.3, with the old package names). They are illustrative: they need a data source, circuit files and addresses that you supply, and some need a HyperEVM build of the SDK. Blocks that were not checked say so.
  • Types and method names in the SDK reference were read from the SDK source. When the package README and this repo disagree, trust this repo. If something still looks wrong, read the TypeScript source.
  • The adaptor example in Integrate a DeFi protocol compiles against the protocol repo with Solidity 0.8.24. It has not been run against a pool.
  • Known gaps are stated as gaps. For example, the services package does not give you working tree sources, and the published SDK does not list HyperEVM. Reading more will not find a hidden fix. The workaround on the page is the real workaround.

Do not guess

An agent writing against Palliora DeFi gets these wrong when it guesses:

Read these first

  1. llms.txt for the map of the repo. Fetch the raw file, not a rendered page.
  2. palliora-defi.skill.md, a single dense file with the call pattern, the traps above and the common failures.
  3. Quickstart, then the SDK reference before you invent a signature.
  4. Troubleshooting before you add retry logic. Several failures, like a stale tree, are not fixed by retrying.

A starter prompt

The last sentence matters. An agent that is told to flag gaps will flag the tree sources and the circuit files. One that is not told will invent them.

Safety rules for agents

  • Never print, log or send a spending key, a view key, a wallet signature that creates an account, or a Sub-account key.
  • Never run against mainnet with a real wallet without the person’s go-ahead.
  • Do not publish a funding call twice. Check the outcome first.
  • Do not add analytics or error reporting that includes Sub-account addresses, indices or labels.

If you write docs for a project built on Palliora DeFi

Reuse this repo’s STYLE.md: simple language, no em dashes, code that runs or says plainly that it does not.