Skip to content

Commit

Permalink
added akash testnet(edgenet)
Browse files Browse the repository at this point in the history
  • Loading branch information
Booyoun-Kim committed Mar 8, 2021
1 parent 061b437 commit 80f792f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
prefix = "cosmos";
} else if (chainId2.indexOf("bifrost") != -1) {
prefix = "iaa";
} else if (chainId2.indexOf("edgenet-6") != -1) {
prefix = "akash";
}

const cosmos = cosmosjs.network(window.lcd, chainId2);
Expand Down Expand Up @@ -34430,6 +34432,10 @@ Cosmos.prototype.getAccounts = function(address) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else if (this.chainId.indexOf("irishub") != -1) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else if (this.chainId.indexOf("akash") != -1) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else if (this.chainId.indexOf("edgenet") != -1) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else {
accountsApi = "/auth/accounts/";
}
Expand Down

0 comments on commit 80f792f

Please sign in to comment.