Login & Session

This demo signs in and trades on mainnet, so it runs in your browser rather than at build time. The source below is the code it runs.

const { ready, authenticated, login } = usePrivy()
const { session, isReady, logout } = useProphecy()
// session appears once the Privy token → Connect exchange completes