PipRail
x402 · multi-chain

One agent.
Every chain.

One wallet per chain — your agent pays whichever the 402 asks for.

agent.ts
const agent = MultiChainPayer.fromWallets({
  wallets: {
    base:   { privateKey },
    solana: { secretKey },
  },
})

// pays whichever chain the 402 asks for
await agent.fetch(url)