This project implements a secure Solana wallet solution leveraging Threshold Signature Scheme (TSS) / Distributed Key Generation (DKG) for enhanced key management and an integrated Solana indexer for efficient blockchain data access.
- store: Handles all database interaction logic for storing and updating user details, tracking transaction history, and managing assets.
- backend: Contains all publicly available routes for authentication, executing swaps and transfer transactions, and checking user balances and details.
- mpc: Encapsulates all cryptography-related logic for the implementation of DKG/MPC wallets and their use in securely signing transactions.
- indexer: A Solana indexer that utilizes Yellowstone gRPC to subscribe to accounts and track their transactions, bridging web3 data to our web2 database.
- docker-compose.yml: Defines the services for hosting the required databases locally using Docker.
TSS/DKG wallets address single points of failure in crypto key management by distributing signing power across multiple parties. This ensures that the full private key is never exposed, yet together, the parties can create a valid signature. Currently, there are no mainstream solutions utilizing this technology for Solana wallets, despite the significant security improvements they offer. Furthermore, this project incorporates an indexer that stores all blockchain data related to a user in a web2 database, enabling instant access to this information without relying on delayed responses from an RPC.