Boost yield by borrowing against your deposit, swapping the loan, and re-depositing — all to multiply exposure using the Compass SDK. No Solidity needed.
Install Dependencies
Set Environment Variables
Import Libraries & Environment Variables
Initialize SDK and Account
Get and Sign Authorization
Configure Looping Parameters
Sign and Broadcast Transaction
1 / (1 - loan_to_value/100)
. For example, with an LTV of 80%, the maximum multiplier would be 1 / (1 - 80/100) = 1 / 0.2 = 5
. This represents the theoretical maximum leverage possible at that LTV ratio.