Merge branch 'main' into feature/getBalanceOther

This commit is contained in:
Damjan Dimitrov
2024-12-27 22:25:26 +01:00
committed by GitHub
54 changed files with 9079 additions and 58 deletions

View File

@@ -36,6 +36,8 @@ import {
getOwnedAllDomains,
resolveAllDomains,
create_gibwork_task,
rock_paper_scissor,
create_TipLink,
} from "../tools";
import {
CollectionDeployment,
@@ -345,4 +347,14 @@ 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);
}
}