Problem
The Request Network SDK has a supported chains allowlist list baked into it. This allowlist is used by the request-cleint.js, payment-processor, and payment-detection packages.
Creating / paying / detecting balances on other chains is not supported.
Proposed Solution
Make the chains list injectable into the payment detectors and the RequestNetwork object.
const requestNetwork = new RequestNetwork({
decryptionProvider,
signatureProvider,
currencyManager,
chains,
// if no compatible balance detector is found, the balance will be null.
balanceDetectors: [
new EvmTheGraphBalanceDetector(chains, currencyManager),
new NearTheGraphBalanceDetector(chains),
new BtcBalanceDetector(),
new SolanaBalanceDetector(),
new SuperfluidBalanceDetector(chains),
// ...
]
})
Problem
The Request Network SDK has a supported chains allowlist list baked into it. This allowlist is used by the
request-cleint.js,payment-processor, andpayment-detectionpackages.Creating / paying / detecting balances on other chains is not supported.
Proposed Solution
Make the chains list injectable into the payment detectors and the
RequestNetworkobject.