xrpl.js icon indicating copy to clipboard operation
xrpl.js copied to clipboard

Use Network ID to determine the correct faucet to use

Open mvadari opened this issue 8 months ago • 0 comments

Code reference: https://github.com/XRPLF/xrpl.js/blob/main/packages/xrpl/src/Wallet/fundWallet.ts

Currently, the faucet generation code guesses the correct faucet to use based on substrings in the URL. This isn't a very robust system. It would be better (and more robust) to use the Network ID.

mvadari avatar May 30 '24 17:05 mvadari