mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-22 23:26:45 +00:00
Merge branch 'main' into add-tiplinks
This commit is contained in:
@@ -35,6 +35,7 @@ import {
|
||||
getOwnedAllDomains,
|
||||
resolveAllDomains,
|
||||
create_gibwork_task,
|
||||
rock_paper_scissor,
|
||||
create_TipLink,
|
||||
} from "../tools";
|
||||
import {
|
||||
@@ -338,6 +339,13 @@ export class SolanaAgentKit {
|
||||
payer ? new PublicKey(payer) : undefined,
|
||||
);
|
||||
}
|
||||
|
||||
async rockPaperScissors(
|
||||
amount: number,
|
||||
choice: "rock" | "paper" | "scissors",
|
||||
) {
|
||||
return rock_paper_scissor(this, amount, choice);
|
||||
}
|
||||
async createTiplink(amount: number , splmintAddress?:PublicKey){
|
||||
return create_TipLink(this,amount,splmintAddress)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user