{"repo":"DePayFi/web3-payments","free":true,"listed":false,"github":"https://github.com/DePayFi/web3-payments","clone":"git clone https://github.com/DePayFi/web3-payments.git","description":"💸 JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments onchain.","language":"JavaScript","stars":34,"topics":["web3","payments","cryptocurrency","blockchain"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Quickstart or Make sure you install all required dependencies too: or if you use npm Support This library supports the following blockchains: - Ethereum - BNB Smart Chain - Polygon - Solana - Arbitrum - Avalanche - Gnosis - Optimism - Base - Worldchain Platform specific packaging In case you want to use and package only specific platforms, use the platform-specific package: EVM (Ethereum Virtual Machine) platform specific packaging Make sure you install all required dependencies for evm specific packaging too: or if you use npm SVM (Solana Virtual Machine) platform specific packaging Make sure you install all required dependencies for solana specific packaging too: or if you use npm Functionalities route Routes payment and returns payment routes: Also allows to pass in multiple accepted means of payment: drip routes If you want to work with intermediate routing results over waiting for all routes to be calculated, you can use the the drip option which will drip every single route individually: allow (list) Allows only fromTokens (from the sender) that are part of the allow list: deny (list) Filters fromTokens to not be used for payment routing: fee route allows you to configure a fee that is taken from the payment amount and is sent to another receiver (the fee receiver): You can define up to max. 2 fees and separate fee receivers: fee.amount can be passed as percentage (String with ending %) or as a human readable number/decimal protocolFee route allows you to configure a pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/DePayFi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DePayFi/web3-payments/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}