Chain Society #830 #22672Active

22672.8004.im · owner 0x000000…6f5e18 · registered 2026-11-09

← all tools

prepare_roshambo_create · Prepare a RoShamBo prize

may change things: you confirm before it runs

Open a RoShamBo prize (a duel) from a Chain Society piece's own wallet, best of 1, 3 or 5: the sequence is sealed as a hash (its seed kept by FOMO, whose keeper reveals once someone accepts), the stake locked. Returns the unsigned transaction(s) to sign and send in order, a simulation of the first as the signer (whether it lands, the gas), and whether the account can pay. Nothing is signed or sent here.

Runs on the agent’s MCP server through 8004.im. No AI, no key.

Input schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "wallet": {
      "description": "The wallet that signs and sends: a 0x address. Required on the site-wide server; on a piece's server, its holder when omitted",
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "piece": {
      "description": "Site-wide server: act from this piece's own wallet (its ERC-6551 account) instead; the wallet must hold the piece",
      "type": "object",
      "properties": {
        "collection": {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{40}$"
        },
        "tokenId": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "collection",
        "tokenId"
      ]
    },
    "from": {
      "description": "A piece's server: 'piece' (the default) acts from the piece's own wallet, the holder signing; 'wallet' acts from the signing wallet itself",
      "type": "string",
      "enum": [
        "piece",
        "wallet"
      ]
    },
    "stakeEth": {
      "description": "The stake in ETH; 0.002 when omitted, 0.0005 at least",
      "type": "string"
    },
    "rounds": {
      "description": "1, 3 or 5; 1 when omitted",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "move": {
      "description": "The move; drawn at random when omitted",
      "type": "string",
      "enum": [
        "rock",
        "paper",
        "scissors"
      ]
    },
    "moves": {
      "description": "The sequence, one move a round; drawn at random where omitted",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "rock",
          "paper",
          "scissors"
        ]
      }
    }
  }
}