Merge pull request #2935 from XRPLF/rm_mpt_devnet_from_faucet

Remove MPT-Devnet faucet, which has been shut down; use APIv1 for Faucets
This commit is contained in:
Rome Reginelli
2025-01-09 17:52:49 -08:00
committed by GitHub
2 changed files with 1 additions and 8 deletions

View File

@@ -24,14 +24,6 @@
"shortName": "Xahau-Testnet",
"desc": "Hooks (L1 smart contracts) enabled Xahau testnet."
},
{
"id": "faucet-select-mpt-devnet",
"wsUrl": "wss://mpt.devnet.rippletest.net:51233/",
"jsonRpcUrl": "https://mpt.devnet.rippletest.net:51234/",
"faucetHost": "mptfaucet.devnet.rippletest.net",
"shortName": "MPT-Devnet",
"desc": "Preview of XLS-33d Multi-Purpose Tokens amendment."
},
{
"id": "faucet-select-batch-devnet",
"wsUrl": "wss://batch.nerdnest.xyz",

View File

@@ -133,6 +133,7 @@ async function generateFaucetCredentialsAndUpdateUI(
const wallet = Wallet.generate()
const client = new Client(selectedFaucet.wsUrl)
client.apiVersion = 1 // Workaround for networks that don't support APIv2
await client.connect()
try {