Gaotax2006 [ Feature ] Fix #1: MPC wallet with key management#53
Conversation
…ix kcolbchain#16: x402 server middleware; Fix kcolbchain#17: MPP sessions; Fix kcolbchain#18: ElizaOS plugin; Fix kcolbchain#20: Lucidly syUSD auto-park
|
Welcome to kcolbchain, @Gaotax2006 — glad you're here. 🌱 Here's what happens from this PR:
While you wait:
What happens after your first merge
Thanks for writing the code. We're building this to last. |
|
Payment address for bounty: (Automated payment info — replace with your preferred payout method) |
|
🤖 Audit verdict: New payment/wallet framework code with proper testing, no malicious payloads, credentials, or supply-chain risks detected. Audited by the kcolbchain PR pipeline. See pipeline docs. |
|
Merged — thanks, @Gaotax2006. That's 50 merged PRs to kcolbchain now. You're a Fellow — when paid research, partner-org work, or grant milestones come up, you're in the first invite pool. Next-up issues across the org: https://kcolbchain.com/invitations/ |
Fixes #1, Fixes #2, Fixes #16, Fixes #17, Fixes #18, Fixes #20
Multiple switchboard feature implementations in a single batch:
Issues covered
#1 — MPC Key Management: Agent wallet using threshold MPC (N parties, t-of-n signing). No single point of failure. Supports EVM chains.
#2 — A2A Payment Protocol: Escrow-based payment protocol with PaymentRequest/PaymentProof message format, escrow contract ABI, timeout/refund flows, event monitoring.
#16 — x402 Server Middleware: Flask + FastAPI adapters that return 402 Payment Required and verify inbound PaymentPayload with nonce-based idempotency.
#17 — MPP Sessions Adapter: Tempo MPP client for streaming micro-payments under a session cap. Integrates with GasBudgetTracker for unified spend enforcement.
#18 — ElizaOS Plugin: @kcolbchain/eliza-switchboard npm package implementing IAgentPlugin with actions: createWallet, signTransaction, checkBudget, payX402, openMPPSession.
#20 — Lucidly syUSD Auto-Park: Auto-park idle USDC into Lucidly syUSD vault. Per-wallet/per-chain targets, auto-rebalance after settlement, unpark-on-demand, yield reporting.
Files changed
switchboard/mpc_wallet.pyswitchboard/x402/server.pyswitchboard/x402/__init__.pyswitchboard/mpp/session.pyswitchboard/mpp/__init__.pyswitchboard/adapters/lucidly.pyswitchboard/__init__.pypackages/plugin-switchboard/package.jsonpackages/plugin-switchboard/tsconfig.jsonpackages/plugin-switchboard/src/index.tstests/test_mpc_wallet.pytests/test_x402_server.pytests/test_mpp_session.pytests/test_lucidly.pyAcceptance checklist