
JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted onchain payments across multiple blockchains.
Web3 Payments by DePayFi is an open-source JavaScript library designed to enable developers to build seamless, cross-chain payment experiences. It scans users' crypto wallets for assets that can be liquidated and automatically routes payments in a cost-effective manner, converting tokens onchain as needed. The library supports multiple blockchains including Ethereum, BNB Smart Chain, Polygon, Solana, Arbitrum, Avalanche, Gnosis, Optimism, Base, and Worldchain, making it suitable for multichain payment scenarios.
The core feature is the route function, which calculates payment routes based on the tokens a user holds and the desired payment parameters. It supports multiple accepted tokens and blockchains simultaneously, allowing payments to be routed from various wallets and tokens to a single or multiple receivers. Developers can customize routing with allow and deny lists for tokens, configure fees and protocol fees, and handle token approvals automatically. The library also supports platform-specific packaging for EVM-compatible chains and Solana, optimizing dependency management.
What sets Web3 Payments apart is its trustless, permissionless design that eliminates intermediaries by using smart contracts connected to decentralized liquidity pools. This approach reduces friction by allowing users to pay with any asset they already hold, regardless of blockchain, and automatically handles network switching if needed. The open-source nature encourages community contributions and transparency. Developers can get started quickly by installing the package and dependencies, then integrating the route function to calculate payment routes and execute transactions using compatible wallet libraries.
Web3 Payments is ideal for DeFi projects, marketplaces, and platforms that want to accept a wide range of crypto assets across multiple chains without requiring users to manually convert tokens or switch networks. Its extensible architecture supports future blockchain integrations and advanced payment routing strategies.
Developers face challenges enabling users to pay with diverse crypto assets across multiple blockchains without manual token conversions or network switching. Existing payment solutions often require intermediaries or limit accepted tokens, causing friction and trust issues.
Supports Ethereum, BNB Smart Chain, Polygon, Solana, Arbitrum, Avalanche, Gnosis, Optimism, Base, and Worldchain.
Allows setting up to two fee receivers and protocol fees deducted from payments.
Handles token approval transactions automatically, including support for Permit2 signatures.
DeFi platforms can accept payments in any supported token across multiple chains, improving user experience and liquidity.
NFT marketplaces can enable buyers to pay with various tokens from different blockchains without manual conversions.
E-commerce dapps can accept crypto payments globally, automatically converting tokens and switching networks as needed.
Discover trusted tools and services in the QuickNode Marketplace. Everything you need to launch faster and scale smarter.
Explore web3 competitors and apps like Payments.
Fuse is a public blockchain ecosystem designed for low-cost, scalable Web3 payments and business adoption with a focus on mobile-first and real-world use cases.
A comprehensive suite of APIs, SDKs, and developer tools from Coinbase to build onchain applications and integrate crypto services.
Crypto.com is a comprehensive platform offering cryptocurrency trading, payments, wallets, and DeFi services to over 150 million users worldwide.

Coinify provides plug-and-play crypto payment and trading solutions for businesses, handling compliance, liquidity, and settlement.

Tether is a multi-blockchain stablecoin platform providing fiat-backed digital tokens for seamless blockchain payments and settlements.

Crossmint is an all-in-one platform that integrates wallets, stablecoins, tokenization, and payment primitives into apps and products with easy APIs and no blockchain complexity.


TrueUSD is a USD-backed stablecoin offering transparent, multi-chain digital currency with daily third-party attestations of reserves.

Swipelux provides a unified API for global fiat-to-crypto on-ramps, custody, swaps, and compliant payouts across 26+ blockchains and 130+ countries.

Mayan offers one-click, instant transfers with optimized swap rates for seamless crypto payments.
| Open Source | |
|---|---|
| Price (Monthly) | Free | 
| Price (Annual) | Free | 
| Messaging | N/A | 
| Support | Community support via GitHub | 
| Analytics | 
The Web3 Payments repository provides comprehensive documentation, code examples, and platform-specific packages to help developers integrate cross-chain payment routing. The GitHub repo includes detailed API references and usage guides.
| Composability | |||
| Cross-Chain | |||
| Customizability | |||
| Developer Support | |||
| Ease of Integration | |||
| Performance |