forked from shapeshift/lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add THORChain support (shapeshift#1010)
* add thorchain to caip package * add thorchain to types package * add missing constants * add thorchain to asset-service packages * add thorchain to unchained-client start * correct dev endpoints * cosmos parser * clean up existing cosmossdk abstraction and update tests * add thorchain parser support * fix input spec for dev endpoint * update prod input spec endpoints * export thorchain and cleanup * start thorchain support in chain adapters * expose cosmossdk types * update package versions and cleanup * bump hdwallet and fix type changes * fix tests
- Loading branch information
1 parent
a989a5f
commit d7c3b72
Showing
92 changed files
with
2,988 additions
and
2,024 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
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 |
---|---|---|
|
@@ -105,3 +105,16 @@ export const avax: Asset = { | |
explorerAddressLink: 'https://snowtrace.io/address/', | ||
explorerTxLink: 'https://snowtrace.io/tx/', | ||
} | ||
|
||
export const thorchain: Asset = { | ||
assetId: caip.thorchainAssetId, | ||
chainId: caip.thorchainChainId, | ||
name: 'THORChain', | ||
symbol: 'RUNE', | ||
precision: 8, | ||
color: '#33FF99', | ||
icon: 'https://assets.coincap.io/assets/icons/[email protected]', | ||
explorer: 'https://viewblock.io/thorchain', | ||
explorerAddressLink: 'https://viewblock.io/thorchain/address/', | ||
explorerTxLink: 'https://viewblock.io/thorchain/tx/', | ||
} |
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
Oops, something went wrong.