Skip to content

Latest commit

 

History

History
45 lines (23 loc) · 2.31 KB

File metadata and controls

45 lines (23 loc) · 2.31 KB

TEE Node Documentation

Reading Guide

Overview

  1. Architecture — System context, operating modes (Base vs Extension), components, trust model, and safety limits. Read this first.

  2. Concepts & Glossary — Definitions for all core entities (wallets, policies, extensions, roles, cryptographic primitives). Reference this whenever you encounter unfamiliar terms.

How It Works

  1. Configuration — Environment variables, constants, config server endpoints, and startup sequence.

  2. Action Processing — How actions flow from proxy to processor: fetching, validation, routing, signature verification, and threshold checks.

Operations

  1. Wallet Operations — Key generation, deletion, storage model, and nonce-based replay protection.

  2. Backup & Restore — How wallets are backed up and restored: Shamir-based data-provider backup and direct TEE-to-TEE backup (machine-path authorized). Security properties and limitations.

  3. XRP Signing — Fee schedules, delayed delivery via goroutines, multisig support, and resource limits.

  4. VRF — Verifiable Random Function proof generation and on-chain verification.

  5. FDC Proving — Flare Data Connector attestation, signature validation, and threshold rules.

  6. TEE Attestation — Registration flow, Google Cloud attestation tokens, and production vs test mode.

  7. Extensions — How extension mode works, action forwarding, and the sign/decrypt API available to extensions.

Security & Internals

  1. Security Model — Trust boundaries, what the proxy can and cannot do, governance & machine-path authorization, replay protection, resource limits, and known edge cases.

  2. Cryptography — All algorithms: ECDSA, VRF, ECIES, Shamir secret sharing, additive key splitting, hash functions.

Development

  1. Deployment — Building, reproducible Docker images, GCP Confidential Space setup, and running.

  2. Package Map — All packages, their purpose, and dependency flow.

  3. Testing — Test structure, utilities, and how to write new tests.