DeFi Portal
defi.tribewarez.com
The DeFi Portal is the marketing and information site for the TribeChain ecosystem. It presents the token economy, live Solana token prices, the whitepaper, and links to all ecosystem products.
Features
Token Showcase
The home page displays all ecosystem tokens with live pricing:
| Token | Ticker | Source |
|---|---|---|
| AUM Coin | $AUMCOIN | GeckoTerminal API |
| Tribe Coin | $TRIBECOIN | GeckoTerminal API |
| Rave Coin | $RAVECOIN | GeckoTerminal API |
| Pumped TRIB€-test Coin | PTtC | GeckoTerminal API |
| Numerologic Master Coin | NMTC | GeckoTerminal API |
The PumpFunPriceWidget component queries GeckoTerminal for Solana token prices in real time.
PTtC Page
Dedicated page at /pttc with:
- Contract address and copy button
- Live price chart (GeckoTerminal embed)
- How to mint/trade via pump.fun
- Links to Solscan, Telegram, Discord, X
Whitepaper
Multi-page whitepaper accessible at /whitepaper:
| Section | Path | Content |
|---|---|---|
| Main | /whitepaper | Dynamic Coin ecosystem, tokenomics, bridge architecture |
| Play-to-Earn | /whitepaper/play-to-earn | Gaming rewards model |
| Micro-Trading | /whitepaper/micro-trading | Sub-cent transaction fees |
| DIE-Mining | /whitepaper/die-mining | IoT mining with ESP devices |
X Connect Wall
Optional onboarding gate:
- Connect X (Twitter) via OAuth
- Connect Solana wallet
- Claim 1000 NMTC + 1000 PTtC
Uses the Terminal backend (terminal.tribewarez.com) for OAuth and claim processing.
Ecosystem Links
The home page links to all TribeWarez products:
- ServerZ -- Server hub
- Mystic Numbers -- Puzzle game
- Terminal -- DeFi and gaming hub
Tech Stack
| Layer | Technology |
|---|---|
| Framework | React 18, TypeScript |
| Build | Vite 5 |
| Routing | React Router DOM 6 |
| Styling | Tailwind CSS, shadcn/ui (Radix) |
| Animations | Framer Motion |
| Data | TanStack React Query |
| Wallet | Solana Wallet Adapter (Phantom, Solflare) |
| Charts | Recharts |
Page Structure
/ → Home (hero, tokens, features, ecosystem)
/pttc → PTtC token page with live prices
/whitepaper → Whitepaper hub
/whitepaper/play-to-earn
/whitepaper/micro-trading
/whitepaper/die-miningEnvironment Variables
VITE_SOLANA_RPC_URL=https://testnet-solana.rpc.gateway.tribewarez.com
VITE_X_AUTH_BASE_URL=https://terminal.tribewarez.comDocker
Built with a multi-stage Dockerfile (Node 20 Alpine build → Nginx Alpine serve). Static files are served from the Vite build output.
Exposed on port 8881 internally, routed via VIRTUAL_HOST=defi.tribewarez.com.