Skip to content

Commit

Permalink
added kichain
Browse files Browse the repository at this point in the history
  • Loading branch information
Booyoun-Kim committed May 11, 2021
1 parent 188ee6a commit 4c2ba32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions www/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
case "cro":
chainId2 = "crypto-org-chain-mainnet-1";
break;
case "ki":
chainId2 = "kichain-1";
break;
default:
chainId2 = "";
break;
Expand Down Expand Up @@ -91,6 +94,8 @@
prefix = "sif";
} else if (chainId2.indexOf("crypto-org-chain-mainnet") != -1) {
prefix = "cro";
} else if (chainId2.indexOf("kichain") != -1) {
prefix = "ki";
}

const cosmos = cosmosjs.network(window.lcd, chainId2);
Expand Down

0 comments on commit 4c2ba32

Please sign in to comment.