Alpha Vault TypeScript SDK
Alpha Vault Typescript SDK and code examples
Alpha Vault is a new anti-bot tool to guard against sniper bots and allow genuine supporters to be the first to buy tokens at launch. Memecoin Pools and DLMM Pools can be created with an Alpha Vault as part of the memecoin launch process.
For integrating or tracking Alpha Vaults on Meteora, you can use our Alpha Vault Typescript SDK and code examples.
Getting Started
Alpha Vault TypeScript SDK on github: https://github.com/MeteoraAg/alpha-vault-sdk/tree/main
Full list of Alpha Vault TypeScript SDK examples: https://github.com/MeteoraAg/alpha-vault-sdk/tree/main/ts-client/src/examples
Devnet: https://devnet.meteora.ag/
Install dependencies
You will need to first install these SDK dependencies in order for it to function properly
npm i @meteora-ag/alpha-vault @coral-xyz/anchor @solana/web3.js
Initialize Alpha Vault instance
const alphaVault = await AlphaVault.create(connection, vault);
Typescript SDK Code Examples
How do you find all the user wallets that deposited into an Alpha Vault for a particular liquidity pool?
Please refer to this example: https://github.com/MeteoraAg/alpha-vault-sdk/blob/get-all-depositors/ts-client/src/examples/getAllDepositors.ts
How to crank the Alpha Vault so that it purchases the token from the pool?
Typically, we have a keeper that cranks the Alpha Vault to automatically purchase tokens from the pool.
However, if the auto-crank fails, you can visit this fillVaultDlmm.ts repo https://github.com/MeteoraAg/alpha-vault-sdk/blob/main/ts-client/src/examples/fillVaultDlmm.ts and input your Publickey
Other Considerations
Please read our Alpha Vault FAQ.
Last updated