Skip to main content
Vault owners can attach lending, spot, Kamino, Drift, and trustful-style strategies through adaptor programs.

Setup

The v2 SDK uses direct instruction builders:

1. Add The Adaptor

This is a one-time operation per adaptor program.

2. Initialize The Strategy

Strategy initialization is protocol-specific. You need:
  • the target strategy PDA or address
  • the adaptor program address
  • the protocol-specific instructionDiscriminator
  • any extra serialized arguments
  • the required remaining accounts

What Is Protocol-Specific

The Voltr side is stable. The following pieces vary by adaptor and target protocol:
  • how the strategy address is derived
  • the instruction discriminator
  • the remaining accounts list
  • any extra arguments required by the adaptor
Use the maintained adaptor repos as the source of truth for those details.