Trade on What Matters

The world's largest prediction market. Bet on sports, politics, and current events.

Trending Markets

Will Bitcoin reach $150,000 by end of 2026?
YES
67¢
NO
33¢
$2.4M volume
Will US enter recession in 2026?
YES
42¢
NO
58¢
$1.8M volume
Lakers to win NBA Championship 2026?
YES
23¢
NO
77¢
$890K volume
Will Tesla stock hit $500 in 2026?
YES
55¢
NO
45¢
$1.2M volume
Will AI replace 10M jobs by 2027?
YES
71¢
NO
29¢
$3.1M volume
US to legalize sports betting nationwide by 2027?
YES
38¢
NO
62¢
$1.5M volume

🔧 GeoComply Integration Architecture

How It Works

Browser → Cloudflare Worker → KV Store (GeoComply-managed) → Browser Geolocation API /api/license → Reads license key from KV → Returns to browser /api/sdk → Proxies SDK from GeoComply CDN → Returns latest version

The Key Value Proposition

Zero maintenance for operators. GeoComply pushes both the SDK version and license key directly into your Cloudflare KV store. Your Worker just reads from KV. No manual updates, no version management, no key rotation.

Setup (3 steps)

  1. Create a Cloudflare KV namespace: wrangler kv:namespace create SECRETS
  2. Bind it in wrangler.toml: [[kv_namespaces]]
    binding = "SECRETS"
    id = "your-namespace-id"
  3. GeoComply handles the rest: SDK updates, license rotation, version management

Worker Code Snippets

// /api/license - Read license from KV export async function onRequest(context) { const license = await context.env.SECRETS.get('gc_license'); return new Response(license, { headers: { 'Content-Type': 'text/plain' } }); } // /api/sdk - Proxy SDK from GeoComply CDN export async function onRequest(context) { const sdkUrl = await context.env.SECRETS.get('gc_sdk_url'); const response = await fetch(sdkUrl); return new Response(response.body, { headers: { 'Content-Type': 'application/javascript' } }); }

Live Status

License Key Not loaded
SDK URL Not loaded
Location Result Not verified