Add Solayer staking through blinks

This commit is contained in:
JoshuaSum
2025-01-01 17:41:46 -08:00
parent 42b64f2264
commit 1a34e9a4e5
8 changed files with 3337 additions and 3785 deletions

View File

@@ -29,6 +29,7 @@ import {
getTokenDataByAddress,
getTokenDataByTicker,
stakeWithJup,
stakeWithSolayer,
sendCompressedAirdrop,
orcaCreateSingleSidedLiquidityPool,
orcaCreateCLMM,
@@ -237,6 +238,10 @@ export class SolanaAgentKit {
return stakeWithJup(this, amount);
}
async restake(amount: number): Promise<string> {
return stakeWithSolayer(this, amount);
}
async sendCompressedAirdrop(
mintAddress: string,
amount: number,