How to create a boost using the Boost API
npm install @rabbitholegg/questdk
@rabbitholegg/questdk
package, and populate the values. This example will use the MintActionParams type.
low
, mid
, and high
, are based on previous boost performance and current gas costs. Choosing the high
value is more likely to result in a higher number of boost completions.
feePercentage
variable represents a sum of the Boost protocol fee of 2.5% and affiliate referral fee of 2.5%.
viem
package to deploy a boost contract.
Find all the official BoostFactory contract at this address on all supported chains:
0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E
Boosts are created from the BoostFactory contract (still named “QuestFactory” on chain for now). This transaction also requires the ABI file for the boost factory contract, which can be found here.
rewardAmount
would be 1000000000000000000
. These values can also be found under reward.amount
and reward.decimals
in the response body from the create boost endpoint.