From 4e478748a6b33093a863df48b9e1026dd6ef7f7b Mon Sep 17 00:00:00 2001 From: JesseTheRobot Date: Mon, 26 Jun 2023 15:32:21 +0000 Subject: [PATCH] feat: :bug: Algorand: Correct default Indexer & API URLS --- src/node/currencies/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/node/currencies/index.ts b/src/node/currencies/index.ts index 890eadb6..82c8b83b 100644 --- a/src/node/currencies/index.ts +++ b/src/node/currencies/index.ts @@ -159,7 +159,14 @@ export default function getCurrency( }); } case "algorand": { - return new AlgorandConfig({ bundlr, name: "algorand", ticker: "ALGO", providerUrl: providerUrl ?? "https://algoexplorerapi.io", wallet, opts }); + return new AlgorandConfig({ + bundlr, + name: "algorand", + ticker: "ALGO", + providerUrl: providerUrl ?? "https://mainnet-api.algonode.cloud", + wallet, + opts: { indexerUrl: "https://mainnet-idx.algonode.cloud", ...opts }, + }); } case "aptos": { return new AptosConfig({