⛓️ LIVE ON LITVM LITEFORGE TESTNET

TCG Price Oracle

Real-world trading card prices verified on-chain. The first real-world asset oracle on LitVM — powered by 432K+ products across 13 game categories.

Reading from chain…
🔎
0 productsRefreshed just now

Connecting to LitVM LiteForge…

Deployed on LitVM LiteForge

How the Oracle Works

📦
432K Products
TCGCSV database
🖥️
Mac Mini Cron
Every hour
⛓️
Oracle Contract
On-chain verified
🌐
This Dashboard
Live reads

Build With This Oracle

SolidityRead prices in your contract
interface ITCGOracle {
  function getPrice(uint256 productId) 
    external view returns (
      uint256 marketPrice,
      uint256 lowPrice,
      uint256 midPrice,
      uint256 timestamp,
      string memory name,
      uint16 categoryId
    );
}

ITCGOracle oracle = ITCGOracle(
  0xA79C6b3922949fcaBb518f56f0B6e68Ca7115771
);

(uint256 price,,,,, ) = oracle.getPrice(12345);
JavaScript (viem)Read from frontend or backend
import { createPublicClient, http } from 'viem';

const client = createPublicClient({
  chain: { id: 4441, name: 'LitVM LiteForge' },
  transport: http(
    'https://liteforge.rpc.caldera.xyz/http'
  ),
});

const result = await client.readContract({
  address: '0xA79C6b...5771',
  abi: oracleAbi,
  functionName: 'getPrice',
  args: [12345n],
});

console.log(result.marketPrice);
REST APINo wallet needed — fetch from anywhere
// Get all 50 tracked products with live prices
const res = await fetch(
  'https://the-undesirables.com/api/litvm'
);
const { stats, cards } = await res.json();

// stats.tracked = 50
// stats.updates = 260+
// cards[0] = {
//   productId, name, categoryId,
//   marketPrice, lowPrice, midPrice,
//   timestamp
// }

// Use case: LTV calculation for lending
const ltv = loanAmount / (card.marketPrice * 100);

🔗 Want to integrate this oracle into your dApp? The price feed is public and free to read — on-chain or via REST API.

View on GitHub →
TCG Price Oracle — Live On-Chain Card Prices on LitVM