Skip to content
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

feat: Create permissioned vault with authority #11

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

quangkeu95
Copy link
Contributor

No description provided.

@quangkeu95 quangkeu95 changed the title feat: Create permissioned vault feat: Create permissioned vault with authority Jan 7, 2025
@quangkeu95 quangkeu95 requested a review from codewithgun January 7, 2025 09:03
);
const program = new Program(IDL, alphaVaultProgramId, provider);

const createTx = await program.methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't use createCustomizableProrataVault from the sdk?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SDK doesn't allow me to input the alpha_vault_program_id in localnet, ref https://github.com/MeteoraAg/alpha-vault-sdk/blob/main/ts-client/src/alpha-vault/constant.ts#L3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, maybe create PR to fix the sdk?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the alpha-vault-sdk MeteoraAg/alpha-vault-sdk#7

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, it's still the same.

);
const program = new Program(IDL, alphaVaultProgramId, provider);

const createTx = await program.methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't use createCustomizableFcfsVault from the sdk?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SDK doesn't allow me to input the alpha_vault_program_id in localnet, ref https://github.com/MeteoraAg/alpha-vault-sdk/blob/main/ts-client/src/alpha-vault/constant.ts#L3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the alpha-vault-sdk MeteoraAg/alpha-vault-sdk#7

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^Ditto

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.

2 participants