-
Notifications
You must be signed in to change notification settings - Fork 298
docs: code docs for solana sdk #1330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
export const getGuardianSetPda = ( | ||
guardianSetIndex: number, | ||
wormholeProgramId: PublicKey | ||
) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added programId
here in case we're not using the default address
* | ||
* TX 2 : `writeEncodedVaa_2` + `verifyEncodedVaaV1` | ||
*/ | ||
export async function buildWriteEncodedVaaWithSplitInstructions( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice. I left you some minor comments.
target_chains/solana/sdk/js/pyth_solana_receiver/src/PythSolanaReceiver.ts
Show resolved
Hide resolved
target_chains/solana/sdk/js/pyth_solana_receiver/src/PythSolanaReceiver.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
No description provided.