Skip to content

feat: confidential transfers helper functions#1096

Draft
catmcgee wants to merge 3 commits intosolana-program:mainfrom
catmcgee:main
Draft

feat: confidential transfers helper functions#1096
catmcgee wants to merge 3 commits intosolana-program:mainfrom
catmcgee:main

Conversation

@catmcgee
Copy link
Copy Markdown

@catmcgee catmcgee commented Apr 10, 2026

Adds helper functions for

  • creating conf balance accounts (getCreateConfidentialTransferAccountInstructions, returns array of 4 instructions
  • applying a pending balance (getApplyConfidentialPendingBalanceInstructionFromToken)
  • doing a conf transfer (getConfidentialTransferInstructions, returns instruction plan, proofs too large for one tx)
  • withdrawing confidential (getConfidentialWithdrawInstructions, similar to above)

keeping in draft until zk-elgamal-proof is published to npm

@catmcgee catmcgee marked this pull request as ready for review April 10, 2026 10:40
@catmcgee catmcgee marked this pull request as draft April 22, 2026 12:50
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