The Oracle of TokenGød
Where data stops being noise and value is measured by truth.
📊 How We Calculate the TGD Value
The TokenGød oracle is an on-chain smart contract deployed on BNB Smart Chain. It determines the price of TGD using a public, deterministic formula composed of two components:
- 75%: Composite index of the top 10 cryptocurrencies by market capitalization.
- 25%: Internal indicators based on supply and demand recorded on TokenGød's own smart contracts.
The crypto index is calculated as follows:
- We retrieve the prices and market caps of the top 10 cryptoassets (excluding stablecoins and fiat) from CoinMarketCap.
- Each price is normalized by dividing it by the square root of its market cap.
- The normalized prices are weighted according to each asset’s share of total market cap.
- The weighted sum is multiplied by 10,000 to define the base TGD price unit.
A transparent, resilient average rooted in the core of crypto market data.
🔍 Total Transparency
Each price update generates a verifiable JSON snapshot including:
- List of cryptocurrencies used in the calculation.
- Original prices and market capitalizations for each asset.
- Timestamp and node wallet address.
These are stored in crypto_snapshot.json and can be verified anytime.
📌 Limitations and Improvements
Upcoming improvements include:
- Multi-API price source integration for redundancy.
- Price signing with EIP-712 before committing to blockchain.
- Decentralized audits of price snapshots and oracle node behavior.
TokenGød doesn’t just read the market. It defines digital truth.
📺 Oracle Infographic
For a visual summary of our oracle mechanism, explore the official infographic below: