Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relay Wallet Provider Examples

Example Next.js apps showing how to integrate the Relay protocol API with different wallet providers for cross-chain bridging and token swapping.

Examples

Example Wallet Type Auth Method Description
/crossmint Smart wallet (EVM) Email (Crossmint) Uses Crossmint smart wallets with email-based signers
/privy EOA / Embedded Wallet / Email (Privy) Uses Privy auth with external wallets (MetaMask) or embedded wallets
/turnkey HD wallet (EOA) Passkey / Email OTP (Turnkey) Uses Turnkey sub-organizations with HD wallets via viem

Each example is a standalone Next.js app with its own dependencies. See the README in each directory for setup instructions.

What These Examples Cover

  • Fetching executable quotes from the Relay /quote/v2 API
  • Executing multi-step flows (approvals, signatures, deposits)
  • Handling EIP-191 and EIP-712 signing for signature steps
  • Polling intent status via /intents/status/v3
  • Protecting an optional Relay API key server-side using Next.js server actions

Relay Docs

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages