Getting started
Getting started with the Vertigo SDK
Installation
To install the Vertigo SDK, use your preferred package installer
Dependencies
Make sure you have the following dependencies installed:
@coral-xyz/anchor
@solana/web3.js
@solana/spl-token
Install them with:
Basic setup
Where to go from here
Below is a brief overview of the various methods in the Vertigo SDK. More details on how to use these is provided in their respective pages in the docs.
SDK methods
Buy methods
vertigo.buy()
vertigo.buildBuyInstruction()
vertigo.quoteBuy()
Sell methods
vertigo.sell()
vertigo.buildSellInstruction()
vertigo.quoteSell()
Claim methods
vertigo.claim()
vertigo.buildClaimInstruction()
Pool methods
vertigo.launchPool()
vertigo.buildLaunchInstruction
Factory methods
Factories are useful for deploying pools with re-usable configuration. A factory needs to be initialized before a token can be launched from it. Factories can only be launched by the account that initialized it.
SPL Token Factory methods
SPL token factories are for pools where MintB uses the SPL token program
vertigo.SPLTokenFactory.buildInitializeInstruction()
vertigo.SPLTokenFactory.initialize()
vertigo.SPLTokenFactory.buildLaunchInstruction()
vertigo.SPLTokenFactory.launch()
Token 2022 Factory methods
Token 2022 factories are for pools where MintB uses the Token-2022 token program
vertigo.Token2022Factory.buildInitializeInstruction()
vertigo.Token2022Factory.initialize()
vertigo.Token2022Factory.buildLaunchInstruction()
vertigo.Token2022Factory.launch()
Last updated