-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #687 from Sifchain/staging
Merging Staging to Release Comdex
- Loading branch information
Showing
50 changed files
with
945 additions
and
2,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ node_modules | |
chains/eth/build/contracts | ||
coverage | ||
e2e/extensions | ||
e2e/playwright | ||
react-example/.next | ||
e2e/playwright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { urlJoin } from "url-join-ts"; | ||
|
||
import { Chain } from "../../entities"; | ||
import { BaseChain } from "./_BaseChain"; | ||
|
||
export class GravityChain extends BaseChain implements Chain { | ||
getBlockExplorerUrlForTxHash(hash: string) { | ||
return urlJoin(this.chainConfig.blockExplorerUrl, "txs", hash); | ||
} | ||
getBlockExplorerUrlForAddress(hash: string) { | ||
return urlJoin(this.chainConfig.blockExplorerUrl, "account", hash); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { Network, IBCChainConfig } from "../../../entities"; | ||
|
||
export const COMDEX_MAINNET: IBCChainConfig = { | ||
chainType: "ibc", | ||
network: Network.COMDEX, | ||
displayName: "Comdex", | ||
blockExplorerUrl: "https://www.mintscan.io/comdex", | ||
nativeAssetSymbol: "ucmdx", | ||
chainId: "comdex-1", | ||
rpcUrl: "https://proxies.sifchain.finance/api/comdex-1/rpc", | ||
restUrl: "https://proxies.sifchain.finance/api/comdex-1/rest", | ||
features: { | ||
erc20Transfers: true, | ||
}, | ||
keplrChainInfo: { | ||
rpc: "https://proxies.sifchain.finance/api/comdex-1/rpc", | ||
rest: "https://proxies.sifchain.finance/api/comdex-1/rest", | ||
chainId: "comdex-1", | ||
chainName: "Comdex Testnet (Sifchain)", | ||
stakeCurrency: { | ||
coinDenom: "CMDX", | ||
coinMinimalDenom: "ucmdx", | ||
coinDecimals: 6, | ||
coinGeckoId: "pool:ucmdx", | ||
}, | ||
walletUrl: "https://wallet.keplr.app/#/cmdx-mainnet/stake", | ||
walletUrlForStaking: "https://wallet.keplr.app/#/cmdx-mainnet/stake", | ||
bip44: { | ||
coinType: 118, | ||
}, | ||
bech32Config: { | ||
bech32PrefixAccAddr: "comdex", | ||
bech32PrefixAccPub: "comdexpub", | ||
bech32PrefixValAddr: "comdexvaloper", | ||
bech32PrefixValPub: "comdexvaloperpub", | ||
bech32PrefixConsAddr: "comdexvalcons", | ||
bech32PrefixConsPub: "comdexvalconspub", | ||
}, | ||
currencies: [ | ||
{ | ||
coinDenom: "CMDX", | ||
coinMinimalDenom: "ucmdx", | ||
coinDecimals: 6, | ||
coinGeckoId: "pool:ucmdx", | ||
}, | ||
], | ||
feeCurrencies: [ | ||
{ | ||
coinDenom: "CMDX", | ||
coinMinimalDenom: "ucmdx", | ||
coinDecimals: 6, | ||
coinGeckoId: "pool:ucmdx", | ||
}, | ||
], | ||
coinType: 118, | ||
features: ["stargate", "ibc-transfer"], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
954a281
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sifchain-ui – ./
sifchain-ui-git-master-sifchain.vercel.app
sifchain-ui-sifchain.vercel.app
dex.sifchain.finance
sifchain-dex.redstarling.com