Skip to content
Termbook
App integrations

Origin & version control

Bind the frontend owner and keep the admitted code identity enforceable.

On this page

Register the application

POST /applications · signed owner request
{
  "name": "My Exchange",
  "origin": "https://trade.myexchange.com",
  "chainId": 10143
}

The API returns the application ID and a DNS challenge. Publish the supplied value as a TXT record at _termbook.trade.myexchange.com, then submit the signed POST /applications/:id/verify-origin request. Ownership is checked before verification and registration.

Signed requests

Owner requests use a server nonce bound to wallet, HTTP method, path, body hash, expiry and API domain. The SDK’s author client checks the challenge and signs it through the configured wallet. A nonce is single use; a signature for one body cannot authorize a different request.

Dependency upgrades

The definition pins target bytecode and proxy implementation identity. A changed dependency requires review, a new version and validation before new borrowing is admitted. Shared guards check approved identities during action execution; full lifecycle validation is not rerun before every trade.

A proxy must expose an enforceable upgrade identity or use an explicitly admitted trust model. An RPC implementation-slot read alone cannot enforce that identity inside the execution transaction. A trusted testnet monitor can pause borrowing after detecting an upgrade, with a detection window.

App tokens & versions

An active token resolves the integration’s version, capabilities, Core, network and public API configuration. Keep frontend actions within that version’s supported routes. If a token expires, its origin is wrong or the version is disabled, surface the error and request current configuration.

Documentation
8 results

Let’s talk

Tell us what you have in mind.

Supply liquidity