Gaotax2006 [ Feature ] Fix #1: MPC wallet with key management#53
Open
Gaotax2006 wants to merge 1 commit into
Open
Gaotax2006 [ Feature ] Fix #1: MPC wallet with key management#53Gaotax2006 wants to merge 1 commit into
Gaotax2006 wants to merge 1 commit into
Conversation
…ix kcolbchain#16: x402 server middleware; Fix kcolbchain#17: MPP sessions; Fix kcolbchain#18: ElizaOS plugin; Fix kcolbchain#20: Lucidly syUSD auto-park
Contributor
|
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. |
Author
|
Payment address for bounty: (Automated payment info — replace with your preferred payout method) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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