Prophecy Connect
A venue's entire prediction-market stack from a handful of hooks — reads, realtime, gasless trading. This portal renders every element live against the API. Flip the network in the top bar to see mainnet ↔ testnet parity.
Two providers and you're done: one for data, one for the wallet + checkout.
main.tsx — wrap once
<ConnectProvider baseUrl="https://api.prophecyhosting.com">
<ProphecyWithPrivy venueId="demo"> {/* wallet + {c} checkout */}
<App />
</ProphecyWithPrivy>
</ConnectProvider>Readsmarkets · odds · trades · leaderboard · wallet · positions · history · holders · resolution
Realtimeone WebSocket → live odds + a trade ticker → flying bets
Tradegasless predict, optimistic confirm, autospend, the {c} drawer
# install
npm i @prophecy-dev/connect-react @prophecy-dev/connect-sdk
# the packages (restricted @prophecy-dev scope)
@prophecy-dev/connect-wire # shared zod contract
@prophecy-dev/connect-core # pure BigInt folds
@prophecy-dev/connect-sdk # client: reads + realtime + gasless predict
@prophecy-dev/connect-react # provider + hooks + the {c} Checkout