Skip to content

feat(solana): RFQ vault Anchor program, admin scripts and mainnet deployment - #23

Open
reddyismav wants to merge 2 commits into
mainfrom
feat/solana-rfq-vault
Open

reddyismav wants to merge 2 commits into
mainfrom
feat/solana-rfq-vault

Conversation

@reddyismav

@reddyismav reddyismav commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

New RFQ-only Anchor program in solana/rfq-vault (USDC vault), deployed to mainnet as RFQZUZRw2kkz88cxBQNQjfqPHFQTXhZYetEdZ5ctDnP (slot 475737045).

  • Solver-signed (secp256k1, EIP-191, low-S, per-deployment domain salt) fulfil, refund, mark-for-refund and swap fulfil (begin/end wrapping a 0x route, guarded against nesting).
  • Replay protection: a quote marker PDA per settled quote; deposit and settle deadlines are carried in the quoteId, and markers can only be closed a day after the settle deadline, so a closed quote can never settle again.
  • Roles: owner = AWS KMS Ed25519 (alias/solana-rfq-vault-owner, also the upgrade authority), solver = KMS secp256k1, executor/rent receiver = RFQ sponsor, guardian (pause), operator (rebalance to a fixed account).
  • scripts/admin.ts: status, initialize, owner handoff, KMS-signed upgrade and close. The program is intentionally not frozen so it can be closed to recover its rent.
  • deployments/solana.json: every address, role and transaction of the deployment.

Testing

  • 82 tests (77 LiteSVM integration incl. security and audit regressions, 5 unit). Full lifecycle rehearsed on a local validator before mainnet; deployed bytes verified against the build.

Related PRs (Solana RFQ vault rollout)

🤖 Generated with Claude Code

reddyismav and others added 2 commits November 30, 2026 15:53
…loyment record

Program RFQZUZRw2kkz88cxBQNQjfqPHFQTXhZYetEdZ5ctDnP: USDC vault with solver-signed fulfil, refund, mark-for-refund and swap fulfil, quote markers with deadlines carried in the quoteId, marker closing, owner/guardian/operator roles. 82 tests. Admin scripts sign owner actions with AWS KMS Ed25519.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…piter

Quote-only by default; --execute asks for a typed confirmation, then swaps SOL from the
deployer into exactly N USDC delivered straight to the vault's USDC account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant