games.cavu.tier-madness.commitment

chris.pardy.family

Documentation

Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.

main record

Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

game string Required

No description available.

maxLength: 64 bytes
index integer Optional

For placements: deal order.

minimum: 0maximum: 19
kind string Required

Which kind of move, so progress can be shown without revealing it.

Known values: vote, place, swap, double
move string cid Required

CID (DAG-CBOR, sha-256) of the secret move record.

round integer Required

No description available.

minimum: 0maximum: 20
View raw schema
{
  "description": "Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "game": {
        "maxLength": 64,
        "type": "string"
      },
      "index": {
        "description": "For placements: deal order.",
        "maximum": 19,
        "minimum": 0,
        "type": "integer"
      },
      "kind": {
        "description": "Which kind of move, so progress can be shown without revealing it.",
        "knownValues": [
          "vote",
          "place",
          "swap",
          "double"
        ],
        "type": "string"
      },
      "move": {
        "description": "CID (DAG-CBOR, sha-256) of the secret move record.",
        "format": "cid",
        "type": "string"
      },
      "round": {
        "maximum": 20,
        "minimum": 0,
        "type": "integer"
      }
    },
    "required": [
      "game",
      "round",
      "kind",
      "move",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@