How andywu0913/tron-tss works
Project type and purpose
• This is a Go-based distributed demo application showing multi-party threshold ECDSA (TSS) key generation and signing for the Tron blockchain.
• It supports two modes:
• Single-process (“all_in_one”) demo where all TSS logic runs in one binary
• Distributed demo with one coordinator node plus five party nodes
File structure
• cmd/
• secret_manager_all_in_one/ – all-in-one demo binary
• secret_manager_coordinator/ – orchestrator service for distributed mode
• secret_manager_party_1–5/ – five separate party services
• config/
• config.go – loading and parsing of configuration
• data/
• JSON fixtures and checkpoint data used by both demos
• internal/
• secret_manager_coordinator/ – key generation and signing request handlers
• secret_manager_party/ – party-side TSS handlers for keygen and signing
• tron/ – Tron network RPC client
• utils/ – shared helpers (hashing, storage, TSS primitives)
• types/
• shared type definitions (e.g. Tron transaction types, protocol messages)
README for additional insights
• Outlines how to run the two modes
• Emphasizes multi-party collaboration without any party holding the full key
• Describes step-by-step demo workflow
Elements
• Clear, concise labels for each component (e.g. “Coordinator Service”, “Party Node #1”)
• Blue rectangles for services (coordinator, parties)
• Orange cloud for external Tron network