Use Remix with 4Mica by mounting the payment middleware in your Express server before the Remix request handler. This gives paid routes the full 4Mica server flow while Remix handles the rest of your app.
This integration is not stable yet. For now, use the
NodeJS quick start for the supported implementation.
Deposit collateral for the buyer wallet before it calls protected Remix-backed APIs. Use Base Sepolia until the flow works end to end.To learn more about collateral setup, see Deposits and Withdrawals.