mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-30 15:11:22 +00:00
rebase final
This commit is contained in:
@@ -35,6 +35,7 @@ import {
|
||||
getOwnedAllDomains,
|
||||
resolveAllDomains,
|
||||
create_gibwork_task,
|
||||
rock_paper_scissor,
|
||||
} from "../tools";
|
||||
import {
|
||||
CollectionDeployment,
|
||||
@@ -337,4 +338,8 @@ export class SolanaAgentKit {
|
||||
payer ? new PublicKey(payer) : undefined,
|
||||
);
|
||||
}
|
||||
|
||||
async rockPaperScissors(amount: number, choice: "rock" | "paper" | "scissors") {
|
||||
return rock_paper_scissor(this, amount, choice);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user