mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-06-03 07:36:45 +00:00
Updating NFTs to Core and adding token metadata.
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
launchPumpFunToken,
|
||||
lendAsset,
|
||||
getTPS,
|
||||
stakeWithJup,
|
||||
} from "../tools";
|
||||
import { CollectionOptions, PumpFunTokenOptions } from "../types";
|
||||
import { DEFAULT_OPTIONS } from "../constants";
|
||||
@@ -114,4 +115,10 @@ export class SolanaAgentKit {
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
async stake(
|
||||
amount: number,
|
||||
) {
|
||||
return stakeWithJup(this, amount);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user