Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,44 @@ license: cc-by-nc-nd-4.0
|
|
| 11 |
* **Cards:** NFTs as ASAs (supply = 1) with `ARC-3` metadata (IPFS URL + integrity hash). Optional `ARC-69` note for on-chain mirroring.
|
| 12 |
* **Ownership Rule:** Players may only include and play cards currently owned by their wallet (app checks ASA holding at play time).
|
| 13 |
* **Deck Building:** MTG-style - `basic resources` unlimited, all other card names max **4 per deck**, minimum **60 cards total**, sideboard up to **15 owned cards in wallet**.
|
| 14 |
-
* **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
* **Cards:** NFTs as ASAs (supply = 1) with `ARC-3` metadata (IPFS URL + integrity hash). Optional `ARC-69` note for on-chain mirroring.
|
| 12 |
* **Ownership Rule:** Players may only include and play cards currently owned by their wallet (app checks ASA holding at play time).
|
| 13 |
* **Deck Building:** MTG-style - `basic resources` unlimited, all other card names max **4 per deck**, minimum **60 cards total**, sideboard up to **15 owned cards in wallet**.
|
| 14 |
+
* **Gameplay:** On-chain enforces deck legality, turn ordering, per-play ownership, and action budget (similar to `mana`). Rules resolution stays off-chain for `v1` (signed turns + dispute window). `v2` can migrate card rules on-chain per template.
|
| 15 |
+
|
| 16 |
+
## On-Chain Assets & Metadata
|
| 17 |
+
|
| 18 |
+
### `$BASILK` ASA
|
| 19 |
+
|
| 20 |
+
* **Fields:** `asa_id_basilk: uint64`
|
| 21 |
+
* **Treasury:** `treasury_addr: address receives mint fees`
|
| 22 |
+
* **Strategy:** Treasury fees go back to the Wallet swapping `$ALGO` and `$BASILK`. This creates a positive demand feedback loop.
|
| 23 |
+
|
| 24 |
+
### NFT (Card) = ASA (supply=1)
|
| 25 |
+
|
| 26 |
+
* **ARC-3:** `metadata.json` pinned to IPFS, `reserve` set to metadata root hash for integrity.
|
| 27 |
+
* **Optional ARC-69:** Put minimal mirror JSON in `note`.
|
| 28 |
+
|
| 29 |
+
### Card Metadata (ARC-3 `metadata.json`)
|
| 30 |
+
|
| 31 |
+
```json
|
| 32 |
+
{
|
| 33 |
+
"name": "TERRA-LANCE // Terraforming Bolt",
|
| 34 |
+
"description": "Cyber/solarpunk modular resource-strike.",
|
| 35 |
+
"image": "ipfs://bafy.../card.png",
|
| 36 |
+
"properties": {
|
| 37 |
+
"cardId": "CARD-000123",
|
| 38 |
+
"set": "[0x00] GENESIS",
|
| 39 |
+
"rarity": "RARE",
|
| 40 |
+
"typeLine": "Resource — Solar Grid // Program — Strike",
|
| 41 |
+
"supertypes": ["Basic"], // include "Basic" for unlimited copies
|
| 42 |
+
"manaCost": 3, // also the mint fee in BASILK
|
| 43 |
+
"color": ["Green","White"], // flavor, future rules
|
| 44 |
+
"stats": { "attack": 0, "defense": 0, "hp": 0 },
|
| 45 |
+
"abilities": [
|
| 46 |
+
{ "id": "ABL-001", "name": "Overclock", "rulesText": "—" }
|
| 47 |
+
],
|
| 48 |
+
"artist": "…",
|
| 49 |
+
"legal": { "formatStandard": true, "formatLegacy": true },
|
| 50 |
+
"version": 1,
|
| 51 |
+
"checksum": "sha256-BASE64..."
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
```
|