{"_id":"@depay/web3-payments-svm","_rev":"17-db6937a9080d0f8a4bc64ba8b9bccbac","name":"@depay/web3-payments-svm","dist-tags":{"latest":"15.3.3"},"versions":{"14.0.0":{"name":"@depay/web3-payments-svm","version":"14.0.0","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@14.0.0","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"52b85f10a735a69ad30ecde6793e68aaf72f5766","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-14.0.0.tgz","fileCount":9,"integrity":"sha512-vM2ZmIkXBYksHyBdJCb3UOZdC3RkJez9Oscnfh5mERbDCwunPNkW+EbE/yNyIjYoeunDKGe6vWIOxhlkWSg0wA==","signatures":[{"sig":"MEYCIQD3fV485IWEszvwB/RG0pSXG/I8B0DLfKnHr3vf9lj39QIhAIcjIThTG8STRmUt6Z2+OlfcT3ik0TDeg4xvfShKS79l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4188056},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"07a66328f7f2283bc161a8c701b9859e903177f4","private":false,"_npmUser":{"name":"depay-sebastian","email":"s@depay.fi"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.7","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-assets-svm":"^8.0.0","@depay/web3-tokens-svm":"^11.0.0","@depay/web3-blockchains":"^9.7.9","@depay/web3-exchanges-svm":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_14.0.0_1742233331876_0.07725318507365575","host":"s3://npm-registry-packages-npm-production"}},"14.0.1":{"name":"@depay/web3-payments-svm","version":"14.0.1","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@14.0.1","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"93381c21491ad5e52cc5e8e36926221cf0492e56","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-14.0.1.tgz","fileCount":9,"integrity":"sha512-Dgju+O4zxfgV8mViekhFR/OSdRACMD4Hy2HnZNee150ZnNapTl6anNRShdPwxfGjaIjz0LXj4oqJ0mPD8jirKQ==","signatures":[{"sig":"MEUCIQDhkKcAzXD8aXoVHEq3tlk4uGRGWMRwa15TXRQ9AkArCgIgAoBO0plzwC/4nb1eO/81ctbtnri3S2Spo71dnFVRb0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4188056},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"35ac7459bbe0e267217614672dd00310b9eeb964","private":false,"_npmUser":{"name":"depay-sebastian","email":"s@depay.fi"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.7","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-assets-svm":"^8.0.0","@depay/web3-tokens-svm":"^11.0.0","@depay/web3-blockchains":"^9.7.9","@depay/web3-exchanges-svm":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_14.0.1_1742233894257_0.895707403991336","host":"s3://npm-registry-packages-npm-production"}},"15.0.0":{"name":"@depay/web3-payments-svm","version":"15.0.0","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.0.0","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"d32fc13cb936ba288c1f87a45130b5dd128b661e","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.0.0.tgz","fileCount":9,"integrity":"sha512-De/Aiw8rFub9lQut2BCJ3P+wc+iJc/XFldUJqqj9LNEuQB3ZLM4TyKKthhHE1rHc5ngW9WK7mxsUX4hIYnrQUQ==","signatures":[{"sig":"MEYCIQCc/M7pVQKKyP7lWhLVsFEPUfuEZ9WfnGKMem3UkFcNoAIhAM6RFvNg9AME3/yaEj/guS2e+ReWgtQ4egpTFKYPKPBg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4454746},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"67ee5d5be5a4fe5ed1141bf2b3be35de1f41fb4d","private":false,"_npmUser":{"name":"depay-sebastian","email":"s@depay.fi"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.0.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.0.0_1744742277270_0.1988154255121719","host":"s3://npm-registry-packages-npm-production"}},"15.0.2":{"name":"@depay/web3-payments-svm","version":"15.0.2","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.0.2","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"c417cdb5ef16c78c778395807de1acb9f71f471f","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.0.2.tgz","fileCount":3,"integrity":"sha512-F+n4GDzDRFrhCO2U96q7/XDunUNtlZSP3ZThErcbInAcrH4LZgC/YuIOf8xC5knvcPt5vAaMcDVRvNP19/fvsQ==","signatures":[{"sig":"MEQCIGBYdSTIMvW3zIxlQX9NyBdCxN6A20v7yvbwZd02W34ZAiALLLjg3hiSR1OJt8da34TvFHLg+pVJTeR6LmCLLRORTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14308},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"78bd169d94f10adae2db2cf4be659064e238571f","private":false,"_npmUser":{"name":"depay-sebastian","email":"s@depay.fi"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.0.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.0.2_1744898031399_0.3070501336439997","host":"s3://npm-registry-packages-npm-production"}},"15.0.3":{"name":"@depay/web3-payments-svm","version":"15.0.3","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.0.3","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"b258af3b0ec68959d92896c4daa117a44a847003","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.0.3.tgz","fileCount":3,"integrity":"sha512-wPKjwKlfluceJ+ImdAUEW1KKUKqV+VKrgD0Rc0RoYP8TMSZrltTVLMc+7/oW6iRyRNDS+l9jWLhhPhXtQwlm4Q==","signatures":[{"sig":"MEYCIQDq7z+PWlSFWbEgP5o/ARnPdvwDgrOgwRh6GxsdaZEZ2QIhALVrO+Ijq2lgJAdyKl/wht6l5wgN/pr1wddc6FPspgDG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14308},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"9a63aff0dc020169ba92bb7b2b8c2e540fe0f447","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.0.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.0.3_1744899875295_0.9875436419648005","host":"s3://npm-registry-packages-npm-production"}},"15.1.0":{"name":"@depay/web3-payments-svm","version":"15.1.0","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.0","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"6873a40fddca5c53d31f88d78c7d66ba9c8e55fa","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.0.tgz","fileCount":9,"integrity":"sha512-VZPuzQdyE3tiobm39dycORk9m403M9ndZ/eK22yWNzXITXVz7a4DFplvtxqrdEyiv1tCJ0NGChGT3SReTWlrMw==","signatures":[{"sig":"MEUCIQD7Fq8CNA46vNSVdGRJ4jrplxrD/ylUGLlGdFsj/rIxZAIgQF4gyjF8gnD6XqqNa4lYB2PpUXfsL1zT5q1ZGjdDj50=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4457931},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"2f66f073f205e4d3778e0cf1064de109d8f18735","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.0_1744901686425_0.531943503971936","host":"s3://npm-registry-packages-npm-production"}},"15.1.1":{"name":"@depay/web3-payments-svm","version":"15.1.1","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.1","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"88528ec5d68140cb9b447bd7be7d77162ee0d738","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.1.tgz","fileCount":9,"integrity":"sha512-foXU5dWQ9yzUj43DpYoOI69ma4qVx6sGtjpGtPLzoy6+i55OF31SEAJCiW8DL+Iy8IymwMYIzRl3I+ESKJdOFg==","signatures":[{"sig":"MEUCIQCDe4mdfZISs82rCeKNAL4xXPrn1VAAR+gUmU70o3X0uwIgAfifE3AwPx7tMCpr7OE547sIUZY5GSECM41PfZyIeDU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4450979},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"8fc07b924bf6952d3eb7a0a5bcde4b1846672b1a","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.1_1744952784640_0.9354155961357462","host":"s3://npm-registry-packages-npm-production"}},"15.1.2":{"name":"@depay/web3-payments-svm","version":"15.1.2","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.2","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"ef2cea7ff7def0fa0403363659677010855ff9c9","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.2.tgz","fileCount":9,"integrity":"sha512-uNymWAespE1Iy6ljMgPV6H+rg6rwlUpIcvmasgABv9SPfeYGG1bfiHTgCFhlMnEurCw4/8sEKbtEcGeAYhdqQw==","signatures":[{"sig":"MEUCIE7l2DOD46XublD7ohwvFnmHr24s7sOVGq4KoMcPKNqoAiEA53+XvzlbANsUWDa3zkL5J7ct+Au+Twhc8xVTmccotIE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4451039},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"e8f435b692a7d8f5ed544a685aae8612b3a365af","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.2_1745756537176_0.16329234766506717","host":"s3://npm-registry-packages-npm-production"}},"15.1.3":{"name":"@depay/web3-payments-svm","version":"15.1.3","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.3","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"93ab8ce5be169993e881d483d81ea2e6c7012f3c","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.3.tgz","fileCount":9,"integrity":"sha512-VdvQbN2rteqqQE+g82sS0oTbAlkYZmyRSEjIG1KNN0JvKOPuWxjSwZ96XJLeFzHgHsVNo4iF6KoP88AWvsxNRA==","signatures":[{"sig":"MEYCIQCZbEApc5avbPQc7tDWgApCjCefW4RTeqnLWTm8PLETzAIhAI9+ZV6rnsBLzu3xGtjfUyDlq1EsSFw1ObFyhuK4je6i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4452067},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"47f7d6a48d06e05a1bdebd9944c511a7befdb864","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.3_1746348647426_0.05224871148609256","host":"s3://npm-registry-packages-npm-production"}},"15.1.4":{"name":"@depay/web3-payments-svm","version":"15.1.4","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.4","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"2665a902fd1c49db05cb30c670214b5eae327c13","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.4.tgz","fileCount":9,"integrity":"sha512-KN6lGgMrc+mHL+uQnAXJwmGrlLFpn0gImBe306CYTNBOHnNeYvUGr79GdPFWT32fJyoe2jhyG9n22IYuS+e2wg==","signatures":[{"sig":"MEUCIQCCdnlvLQ8YhOq8LeGzTA5R1UeMLXPZBgDKNalnECUUqQIgaaW3IwiaR/AXrCVooVcf40tOpW4vPvx/ct3R2WY+zNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4452283},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"57dc058f0ae3f8c51829ddbe5e05072465b9304d","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.4_1747054400091_0.8232289905773404","host":"s3://npm-registry-packages-npm-production"}},"15.1.5":{"name":"@depay/web3-payments-svm","version":"15.1.5","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.1.5","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"e57470ad240f3af4e11db05908f3cd8b8fd83cd4","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.1.5.tgz","fileCount":9,"integrity":"sha512-UgvNgJOK/QYIhwTvwh+PlendSGcHfIt3YgmxPE+Bgh2CYQkQ4falEKWbRbHVfnO4qVQgNcqmmrtcnSK9zWSicw==","signatures":[{"sig":"MEQCIDSKoJdEvXW5FHkVpqq6PgPN03fCp+zlDWS4nFnxHVefAiAcuYPy2WEuRpk852/Iyay7t5pBE2pPHdSYxZzFNhRtsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4452175},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"4bebd55af76934dba9c22859221cbd12ec7fc96e","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.1.5_1747054956490_0.7474372958584805","host":"s3://npm-registry-packages-npm-production"}},"15.2.0":{"name":"@depay/web3-payments-svm","version":"15.2.0","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.2.0","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"5d9a467f1b6d85e1eefce8360e710d767d46c7ef","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.2.0.tgz","fileCount":9,"integrity":"sha512-eLE1wB5IVoMqMPAsNC87LzDI7W57aD4SFxDSq6lJw42BKhFj7X6ES+XT50ykK3KMFB/nsoow9xmLyvPmorx9Fg==","signatures":[{"sig":"MEYCIQCJpW6dGvSJXNptJtVEDE+vUp8dncm2JwWZegKUAbheJQIhAKdDYSR6Rs/RMy+nJhDo25ihZ8ggmvwJd/CKPH49YhY9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4452429},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"52ded9169c7c3b4220bd285820ce6d428cc869c9","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.2.0_1747155987618_0.4882668227622504","host":"s3://npm-registry-packages-npm-production"}},"15.2.1":{"name":"@depay/web3-payments-svm","version":"15.2.1","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.2.1","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"13c1531572480f526a661b4870be05213f4f369b","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.2.1.tgz","fileCount":9,"integrity":"sha512-0sPuEnY8+gSur2+kuie9gzEHJxYhSR962g+9/AWUD3L7Cm5VGMHMkRArn7Yqrddumf71jMxufeD0+HtWIyqc7A==","signatures":[{"sig":"MEUCICZq4DcepFF2ZRHXxJsJh2qkqyjE6L8NZphbsIzeC6+YAiEA8wbuZ6n2f9UPVW/K4corudUtvMS46bKV3ydVgyQTSlQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4454451},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"88af20a57d710069f9f8d2c0d92caeebaf24e2b2","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.2.1_1747161369950_0.8519027347346555","host":"s3://npm-registry-packages-npm-production"}},"15.3.0":{"name":"@depay/web3-payments-svm","version":"15.3.0","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.3.0","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"5fc75a4d153461af040ed5db95bd57bac13126aa","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.3.0.tgz","fileCount":9,"integrity":"sha512-vG2Oj5YjKr8ybz5h12YKYAtIygDDBlYoUNCUodHuv4KRZw6SQXdx0cniFRxuQyJCpwclJOdyQ29vD/sM+mkDnw==","signatures":[{"sig":"MEUCIGf77oC0la8nwYq9fNzj4fAVeZRXtJ3ZvKjf0fRc8JrNAiEA/7SGdyPXCwJ9XdhXzFM8odLeKgbskI4v/pHIIY3StIw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4454394},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"1f1567cf90d9b55f43f5cbb4d92c5688bf6a9149","private":false,"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.3.0_1747211627148_0.7841376235801218","host":"s3://npm-registry-packages-npm-production"}},"15.3.1":{"name":"@depay/web3-payments-svm","version":"15.3.1","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.3.1","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"234e88b92e455b9acb448fd61022874289973e08","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.3.1.tgz","fileCount":9,"integrity":"sha512-bb8ro/q3zvDL13Wmsy1y+AUaksY0dtISIx9oKqsbQ04kRpKQl0K0Ow4LB5UVlB9yYtzobEvnn9DQZHQyPPEaOQ==","signatures":[{"sig":"MEUCIQDRMWkvtaL6FTERlWe1LcRMnFnZLAtkb8wqkKbvvbWUeAIgd2QN1KxDLTwEHj2T/jstBn56ZraCRe0Mam/yJ6ynEdQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4454426},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"3b905727938e442273cf8a2a052594431ffc700f","private":false,"_npmUser":{"name":"0xneo11","actor":{"name":"0xneo11","type":"user","email":"0xneo11@gmail.com"},"email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.3.1_1751042075516_0.4799242451085741","host":"s3://npm-registry-packages-npm-production"}},"15.3.2":{"name":"@depay/web3-payments-svm","version":"15.3.2","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","_id":"@depay/web3-payments-svm@15.3.2","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"homepage":"https://depay.com","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"dist":{"shasum":"f7208acfe2090d8a933bacd3f057c86d71428ae0","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.3.2.tgz","fileCount":9,"integrity":"sha512-klMI/bkGUq1GVB1rHAsCSbWeE3wAjE+04tV/ICu5FPONZb7DLCJRrLjF2mlWerG7HfhWvBKLtGU0JstvnqZmgw==","signatures":[{"sig":"MEUCIQDoIUJJstio4VENbxrreEdeTtFXH2TRfbEqudJB011tEgIgYKFa1bjW18zUBp1t2kGDDyTl5OfMUUpuo/De7CoGimU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4452586},"main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","engines":{"node":">=18"},"gitHead":"00757e75a3a00ac1caad9279e0dd23d1afd53622","private":false,"_npmUser":{"name":"0xneo11","actor":{"name":"0xneo11","type":"user","email":"0xneo11@gmail.com"},"email":"0xneo11@gmail.com"},"moduleName":"Web3Payments","repository":{"url":"git+ssh://git@github.com/DePayFi/web3-payments.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","directories":{},"resolutions":{"clipboardy":"3.0.0"},"_nodeVersion":"18.20.8","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{"ethers":"^5.7.1","decimal.js":"^10.4.3","@depay/solana-web3.js":"^1.98.0","@depay/web3-tokens-svm":"^11.1.0","@depay/web3-blockchains":"^9.8.1","@depay/web3-exchanges-svm":"^15.6.3"},"_npmOperationalInternal":{"tmp":"tmp/web3-payments-svm_15.3.2_1751390295799_0.6161492391136931","host":"s3://npm-registry-packages-npm-production"}},"15.3.3":{"name":"@depay/web3-payments-svm","moduleName":"Web3Payments","version":"15.3.3","description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","main":"dist/umd/index.svm.js","module":"dist/esm/index.svm.js","repository":{"type":"git","url":"git+ssh://git@github.com/DePayFi/web3-payments.git"},"keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"author":{"name":"depay.com"},"license":"MIT","bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"homepage":"https://depay.com","private":false,"dependencies":{},"peerDependencies":{"@depay/solana-web3.js":"^1.98.0","@depay/web3-blockchains":"^9.8.8","@depay/web3-client":"^11.1.9","@depay/web3-exchanges-svm":"^15.6.3","@depay/web3-tokens-svm":"^11.1.0","ethers":"^5.7.1","decimal.js":"^10.4.3"},"resolutions":{"clipboardy":"3.0.0"},"engines":{"node":">=18"},"_id":"@depay/web3-payments-svm@15.3.3","gitHead":"21c088839d879218157229f7fac0b531c8568226","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-1k4KbHo3AjxTlqp0IquQHIUhbCJFIfeG1ff+ENXi3SP2fFBJ4kVPb/sFhHslyxb2eUlrU2nZGqsY+b/2ks6yEA==","shasum":"242410025f92e80a08e998c4e9463484326f92f6","tarball":"https://registry.npmjs.org/@depay/web3-payments-svm/-/web3-payments-svm-15.3.3.tgz","fileCount":9,"unpackedSize":4261823,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCyJdMnQAKo+J+/annQ0ZulIdNIRSmSyw55Kfe6vkBTjQIgL4lyAU27USzyVM8evje1FPl5QXTbHayWcVwMQaGyjRU="}]},"_npmUser":{"name":"0xneo11","email":"0xneo11@gmail.com"},"directories":{},"maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/web3-payments-svm_15.3.3_1758180524615_0.9444425207992482"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-17T17:42:11.734Z","modified":"2025-09-18T07:28:45.077Z","14.0.0":"2025-03-17T17:42:12.234Z","14.0.1":"2025-03-17T17:51:34.504Z","15.0.0":"2025-04-15T18:37:57.584Z","15.0.2":"2025-04-17T13:53:51.575Z","15.0.3":"2025-04-17T14:24:35.450Z","15.1.0":"2025-04-17T14:54:46.678Z","15.1.1":"2025-04-18T05:06:24.852Z","15.1.2":"2025-04-27T12:22:17.391Z","15.1.3":"2025-05-04T08:50:47.641Z","15.1.4":"2025-05-12T12:53:20.457Z","15.1.5":"2025-05-12T13:02:36.750Z","15.2.0":"2025-05-13T17:06:27.877Z","15.2.1":"2025-05-13T18:36:10.187Z","15.3.0":"2025-05-14T08:33:47.444Z","15.3.1":"2025-06-27T16:34:35.712Z","15.3.2":"2025-07-01T17:18:16.061Z","15.3.3":"2025-09-18T07:28:44.861Z"},"bugs":{"url":"https://github.com/DePayFi/web3-payments/issues"},"author":{"name":"depay.com"},"license":"MIT","homepage":"https://depay.com","keywords":["web3","payments","routing","decentralized","cryptocurrencies","blockchain"],"repository":{"type":"git","url":"git+ssh://git@github.com/DePayFi/web3-payments.git"},"description":"JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.","maintainers":[{"name":"depay-sebastian","email":"s@depay.fi"},{"name":"0xneo11","email":"0xneo11@gmail.com"}],"readme":"## Quickstart\n\n```\nyarn add @depay/web3-payments\n```\n\nor \n\n```\nnpm install --save @depay/web3-payments\n```\n\nMake sure you install all required dependencies too:\n\n```\nyarn add @depay/web3-constants @depay/web3-exchanges @depay/web3-tokens ethers decimal.js\n```\n\nor if you use npm\n\n```\nnpm i @depay/web3-constants @depay/web3-exchanges @depay/web3-tokens ethers decimal.js\n```\n\n```javascript\nimport { route } from '@depay/web3-payments'\n\nlet paymentRoutes = await route({\n  accept: [\n    {\n      blockchain: 'ethereum',\n      token: '0xdAC17F958D2ee523a2206206994597C13D831ec7',\n      amount: 20,\n      receiver: '0xb0252f13850a4823706607524de0b146820F2240'\n    },{\n      blockchain: 'solana',\n      token: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',\n      amount: 20,\n      receiver: '3Hrw6AsNyJAp71Nkgo4tzJwvGM47DzqMdAtf8ojptkXk'\n    }\n  ],\n  from: {\n    ethereum: '0x317D875cA3B9f8d14f960486C0d1D1913be74e90',\n    solana: '2UgCJaHU5y8NC4uWQcZYeV9a5RyYLF7iKYCybCsdFFD1'\n  }\n})\n```\n\n## Support\n\nThis library supports the following blockchains:\n\n- [Ethereum](https://ethereum.org)\n- [BNB Smart Chain](https://www.binance.org/smartChain)\n- [Polygon](https://polygon.technology)\n- [Solana](https://solana.com)\n- [Arbitrum](https://arbitrum.io)\n- [Avalanche](https://www.avax.network)\n- [Gnosis](https://gnosis.io)\n- [Optimism](https://www.optimism.io)\n- [Base](https://base.org)\n- [Worldchain](https://worldcoin.org/world-chain)\n\n## Platform specific packaging\n\nIn case you want to use and package only specific platforms, use the platform-specific package:\n\n### EVM (Ethereum Virtual Machine) platform specific packaging\n\n```javascript\nimport { route } from '@depay/web3-payments-evm'\n```\n\nMake sure you install all required dependencies for evm specific packaging too:\n\n```\nyarn add @depay/web3-blockchains @depay/web3-exchanges-evm @depay/web3-tokens-evm ethers decimal.js\n```\n\nor if you use npm\n\n```\nnpm i @depay/web3-blockchains @depay/web3-exchanges-evm @depay/web3-tokens-evm ethers decimal.js\n```\n\n### SVM (Solana Virtual Machine) platform specific packaging\n\n```javascript\nimport { route } from '@depay/web3-payments-svm'\n```\n\nMake sure you install all required dependencies for solana specific packaging too:\n\n```\nyarn add @depay/web3-blockchains @depay/web3-exchanges-svm @depay/web3-tokens-svm @depay/solana-web3.js\n```\n\nor if you use npm\n\n```\nnpm i @depay/web3-blockchains @depay/web3-exchanges-svm @depay/web3-tokens-svm @depay/solana-web3.js\n```\n\n## Functionalities\n\n### route\n\nRoutes payment and returns payment routes:\n\n```javascript\nimport { route } from '@depay/web3-payments'\n\nlet paymentRoutes = await route({\n  accept: [{\n    blockchain: 'ethereum',\n    token: '0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb',\n    amount: 20,\n    receiver: '0xb0252f13850a4823706607524de0b146820F2240'\n  }],\n  from: {\n    ethereum: '0x5Af489c8786A018EC4814194dC8048be1007e390',\n  }\n})\n```\n\nAlso allows to pass in multiple accepted means of payment: \n\n```javascript\nimport { route } from '@depay/web3-payments'\n\nlet paymentRoutes = await route({\n  accept: [\n    {\n      blockchain: 'ethereum',\n      token: '0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb',\n      amount: 20,\n      receiver: '0xb0252f13850a4823706607524de0b146820F2240'\n    },{\n      blockchain: 'bsc',\n      token: '0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb',\n      amount: 20,\n      receiver: '0xb0252f13850a4823706607524de0b146820F2240'\n    }\n  ],\n  from: {\n    ethereum: '0x5Af489c8786A018EC4814194dC8048be1007e390',\n    bsc: '0x5Af489c8786A018EC4814194dC8048be1007e390'\n  }\n})\n```\n\n#### drip routes\n\nIf 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:\n\n```javascript\nimport { route } from '@depay/web3-payments'\n\nlet paymentRoutes = await route({\n  drip: (route)=> {\n    // yields every single route\n  }\n})\n```\n\n#### allow (list)\n\nAllows only fromTokens (from the sender) that are part of the allow list:\n\n```javacript\nlet paymentRoutes = await route({\n\n  allow: {\n    ethereum: [\n      '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // ETH\n      '0xdac17f958d2ee523a2206206994597c13d831ec7', // USDT\n      '0x6b175474e89094c44da98b954eedeac495271d0f'  // DAI\n    ],\n    bsc: [\n      '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // BNB\n      '0xe9e7cea3dedca5984780bafc599bd69add087d56', // BUSD\n      '0x55d398326f99059ff775485246999027b3197955'  // BSC-USD\n    ]\n  }\n})\n\n```\n\n#### deny (list)\n\nFilters fromTokens to not be used for payment routing:\n\n```javacript\nlet paymentRoutes = await route({\n\n  deny: {\n    ethereum: [\n      '0x6b175474e89094c44da98b954eedeac495271d0f'  // DAI\n    ],\n    bsc: [\n      '0x55d398326f99059ff775485246999027b3197955'  // BSC-USD\n    ]\n  }\n})\n\n```\n\n#### fee\n\n`route` allows you to configure a `fee` that is taken from the payment amount and is sent to another receiver (the fee receiver):\n\n```javascript\nlet paymentRoutes = await route({\n  \n  accept: [{\n    //...\n    fee: {\n      amount: '3%',\n      receiver: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'\n    }\n  }]\n})\n\n// splits 3% of the amount paid and sends it to the feeReceiver\n```\n\nYou can define up to max. 2 fees and separate fee receivers:\n\n```javascript\nlet paymentRoutes = await route({\n  \n  accept: [{\n    //...\n    fee: { amount: '3%', receiver: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'},\n    fee2: { amount: '1%', receiver: '0x1dCf54C768352d5A5be0F08891262fd0E53A37ce'},\n  }]\n})\n\n// splits 3% of the amount paid and sends it to the feeReceiver 1: 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\n// splits 1% of the amount paid and sends it to the feeReceiver 2: 0x1dCf54C768352d5A5be0F08891262fd0E53A37ce\n```\n\n`fee.amount` can be passed as percentage (String with ending %) or as a human readable number/decimal\n\n```javascript\nlet paymentRoutes = await route({\n  \n  accept: [{\n    //...\n    fee: {\n      amount: 0.3,\n      receiver: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'\n    }\n  }]\n})\n// splits 0.3 of the amount paid and sends it to the feeReceiver\n```\n\n#### protocolFee\n\n`route` allows you to configure a `protocolFee` that is taken from the payment to pay the protocol:\n\n```javascript\nlet paymentRoutes = await route({\n  \n  accept: [{\n    //...\n    protocolFee: '1.5%'\n    \n  }]\n})\n\n// leaves 1.5% of the outToken to the protocol when payment has been performed\n```\n\n### routers\n\nExports basic router information (address and api):\n\n```javascript\nimport { routers } from '@depay/web3-payments'\n\nrouters.ethereum.address // 0xae60aC8e69414C2Dc362D0e6a03af643d1D85b92\n```\n\n### plugins\n\nExports plugin addresses:\n\n```javascript\nimport { plugins } from '@depay/web3-payments'\n\nplugins.ethereum.payment // 0x99F3F4685a7178F26EB4F4Ca8B75a1724F1577B9\n```\n\n## Domain Knowledge\n\n### Payment Routing Priorities\n\n1. If user has a requested token in his wallet, a direct token transfer to the receiver will be prioritized\n\n2. Any token that can be liquidated on decentralized exchange and has already been approved for the DePay router will be second priority\n\n3. All other liquefiable tokens that still require token approval will be prioritized last\n\n## Data Structures\n\n### PaymentRoute\n\nPayment routes are provided in the following structure:\n\n```\n{\n  blockchain: String (e.g. ethereum)\n  fromAddress: String (e.g. '0xd8da6bf26964af9d7eed9e03e53415d37aa96045')\n  fromToken: Token (see @depay/web3-tokens)\n  fromAmount: BigNumber (e.g. <BigNumber '31000000000000000000'>)\n  fromDecimals: number (e.g. 18)\n  fromBalance: BigNumber (e.g. <BigNumber '10000000000000000000'>)\n  toToken: Token (see @depay/web3-tokens)\n  toAmount: BigNumber (e.g. <BigNumber '21000000000000000000'>)\n  toDecimals: number (e.g. 18)\n  toAddress: String (e.g. '0x65aBbdEd9B937E38480A50eca85A8E4D2c8350E4')\n  fee: Object (e.g. undefined or fee object)\n  feeAmount: BigNumber (e.g. <BigNumber '2100000000000000000'>)\n  fee2: Object (e.g. undefined or fee object)\n  feeAmount2: BigNumber (e.g. <BigNumber '1100000000000000000'>)\n  protocolFee: String (e.g. '1.5%')\n  protocolFeeAmount: BigNumber (e.g. <BigNumber '2100000000000000000'>)\n  exchangeRoutes: Array (list of exchange routes offering to convert )\n  currentRouterAllowance: BigNumber (e.g. <BigNumber '2100000000000000000'>)\n  currentPermit2Allowance: BigNumber (e.g. <BigNumber '2100000000000000000'>)\n  approvalRequired: Boolean (e.g. true)\n  getRouterApprovalTransaction: async (options)=> Transaction (see @depay/web3-wallets)\n  getPermit2ApprovalTransaction: async (options)=> Transaction (see @depay/web3-wallets)\n  getPermit2ApprovalSignature: async ()=> SignatureTransferSignature\n  getTransaction: async (options)=> Transaction (see @depay/web3-wallets for details), options can contain { wallet }\n}\n```\n\n`currentRouterAllowance`: Provides the current set allowance for the payment router as BigNumber.\n\n`currentPermit2Allowance`: Provides the current set allowance for permit2 as BigNumber.\n\n`approvalRequired`: Payment requires an approval (e.g. token transfers on EVM without any pre-approval).\n\n`getRouterApprovalTransaction`: Transaction to approve the fromToken being used from the payment router to perform the payment. Setting options to `{ limited: true }` only approves the amount required instead of a max. approval.\n\n`getPermit2ApprovalTransaction`: Transaction to approve the fromToken being used from the payment router using permit2 to perform the payment.\n\n`getPermit2ApprovalSignature`: Receive the permit2 signature transfer signature that can be passed to getTransaction({ signature }). Requires prior getPermit2ApprovalTransaction.\n\n\nSee [@depay/web3-wallets](https://github.com/DePayFi/web3-wallets#sendtransaction) for details about the transaction format.\n\n## Development\n\n### Get started\n\n```\nyarn install\nyarn dev\n```\n\n## Web3 Payments\n\nThe future is [Web3 Payments](https://depay.com/web3-payments).\n\nBlockchains hold the potential to faster, simpler and smarter payments.\n\nWeb3 Payments are borderless, peer-to-peer, and support multiple tokens and blockchains.\n\nAccept any asset type that your customers already have in their wallet. [DePay](https://depay.com) is blockchain agnostic and can at any time be extended on any blockchain-specific plugin. Interoperability, scalability & flexibility are the cornerstones of our protocol. Accepting any asset that users already have in their wallets no matter which blockchain these are held on, reduces friction when performing decentralized payments.\n\n### Chain Agnostic (Multichain)\n\nInteroperability is the key principle on which our infrastructure is built. [DePay](https://depay.com) is extensible around any blockchain, ensuring a competitive cross-chain future.\n\n### Permissionless\n\nInteroperability is the key principle on which our infrastructure is built. [DePay](https://depay.com) is extensible around any blockchain, ensuring a competitive cross-chain future.\n\n### Trustless\n\nMost Web3 Payment providers & processors receive payments to wallets that they manage themselves. Only in a further intermediate step are the payments paid out to sellers. [DePay](https://depay.com) does not act as an intermediary. Every intermediate step is replaced by smart contracts which are connected to decentralized liquidity pools. As a result, trust is no longer required.\n\n### Easy to use\n\nOur ambition was to create an even easier user experience than you're used to from shopping in current non-crypto e-commerce stores. We think we've done a good job of that.\n\n### Open Source\n\nFeel free to use & contribute to our codebase at. We're happy to have you look under our hood. The [DePay](https://depay.com) protocol will always remain open source.\n\n### Multichain\n\n[DePay](https://depay.com) calculates payment routes on multiple blockchains simultaneously despite what your wallet is currently connected to. Our software automatically detects & switches the network if required.\n","readmeFilename":"README.md"}