Skip to content

Commit

Permalink
replace API providers
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanRfox committed May 23, 2022
1 parent c94d70f commit e19e334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export enum ChainType {
TestNet = "testnet",
}

const mainNetClient = new algosdk.Algodv2("", "https://algoexplorerapi.io", "");
const testNetClient = new algosdk.Algodv2("", "https://testnet.algoexplorerapi.io", "");
const mainNetClient = new algosdk.Algodv2("", "https://mainnet-api.algonode.cloud", "");
const testNetClient = new algosdk.Algodv2("", "https://testnet-api.algonode.cloud", "");

function clientForChain(chain: ChainType): algosdk.Algodv2 {
switch (chain) {
Expand Down

0 comments on commit e19e334

Please sign in to comment.