-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Use Raydium Launchpad as a reference, as it is also an anchor based protocol that uses 8 byte instruction discriminators.
- make a “push_meteora_dbc_swap_instruction” file containing that method with the same name in a
meteorafolder just like in raydium launchpad for example - add a call to that function into the make_swap_instructions_from_swap_config file, thats prob not whats its fully called but check who is calling the push raydium launchpad swap instruction function and youll see it calling all other protocols there
- 3 components of all Solana instructions (you are making one) is program id (constant meteora dbc/dammv2 in our case), instruciton data, and ordered list of instruction accounts. Consult the IDLs in the Central IDLs folder to see the exact order. What you need should be in the Meteora Dammv2 and MeteoraDbc types found in central.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels