forked from WikiDeck/wikideck
randomx
This commit is contained in:
+4
-2
@@ -1,8 +1,10 @@
|
||||
import { ArrowUpRight, BookOpen, Globe2, Shield, Sparkles, Swords } from 'lucide-react';
|
||||
import { rarity, stats, type Article, type Block } from '../shared/protocol.ts';
|
||||
import { rarity, stats, type Article } from '../shared/protocol.ts';
|
||||
import type { TestnetBlock } from '../shared/testnet.ts';
|
||||
import { STARTER_ARTICLES } from '../shared/catalog.ts';
|
||||
|
||||
export type CardData = { article: Article; hash: string; block?: Block };
|
||||
// hash is the RandomX proof hash for game stats; block.tokenId is NFT identity.
|
||||
export type CardData = { article: Article; hash: string; block?: TestnetBlock };
|
||||
export const samples: CardData[] = STARTER_ARTICLES.map((article, i) => ({ article,
|
||||
hash: ['000eca7498a26d1908613726da6e869d7c9c936f4a461cb439ef24672b9a0008',
|
||||
'000b1a387a067a7d698677965ca1ca7b0eb5e590811431bdb9aad62268180001',
|
||||
|
||||
Reference in New Issue
Block a user