For the complete documentation index, see llms.txt. This page is also available as Markdown.

Anchor Server

The Anchor Server is the SDK that helps developers build and operate anchor services. It provides the server-side infrastructure to run an anchor that other users can discover and interact with.

Purpose

The Anchor Server SDK provides:

  • HTTP server infrastructure with built-in request routing

  • Request validation and authentication

  • Signature verification for client requests

  • Metadata publishing for service discovery

  • Queue management for async operations

  • Error handling with standardized error responses

Who Uses It

Anchor Servers are operated by:

  • Financial institutions providing fiat on/off ramps

  • Liquidity providers offering FX services

  • Bridge operators enabling cross-chain transfers

  • KYC providers offering identity verification

  • Payment processors facilitating settlements

Advantages of the SDK

Building an anchor from scratch requires handling many complex concerns:

  • Secure authentication and signature verification

  • Service metadata formatting and publishing

  • Request/response validation

  • Asynchronous operation management

  • Error handling and status codes

The Anchor Server SDK handles all of this, letting you focus on your business logic. It provides:

  1. Standardized APIs: All anchors implement the same interfaces, making integration easier for clients

  2. Security: Built-in signature verification and authentication

  3. Reliability: Queue management and retry logic for async operations

  4. Discoverability: Automatic metadata publishing for the Resolver

  5. Compliance: Structured patterns for KYC and regulatory requirements

Example: Running an FX Anchor Server

https://github.com/KeetaNetwork/keetanet-examples/blob/main/src/anchor/fx-server.ts

Last updated