Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/bitgo/test/v2/unit/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,12 @@ describe('V2 Keychains', function () {
n.asset !== UnderlyingAsset.FLRP &&
n.asset !== UnderlyingAsset.FLUENTETH &&
n.asset !== UnderlyingAsset.MANTLE &&
n.asset !== UnderlyingAsset.H &&
n.asset !== UnderlyingAsset.HOODETH &&
n.asset !== UnderlyingAsset.HPPETH &&
n.asset !== UnderlyingAsset.JOVAYETH &&
n.asset !== UnderlyingAsset.OKBXLAYER &&
n.asset !== UnderlyingAsset.UNIETH &&
n.asset !== UnderlyingAsset.MORPH &&
n.asset !== UnderlyingAsset.MORPHETH &&
n.asset !== UnderlyingAsset.DOGEOS &&
Expand Down
24 changes: 24 additions & 0 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,18 @@ const mainnetBase: EnvironmentTemplate = {
zksyncera: {
baseUrl: 'https://api.etherscan.io/v2',
},
unieth: {
baseUrl: 'https://unichain.blockscout.com/api',
},
hoodeth: {
baseUrl: 'https://explorer.testnet.chain.robinhood.com/api', // TODO: update to mainnet explorer API when available
},
hppeth: {
baseUrl: 'https://explorer.hpp.io/api',
},
h: {
baseUrl: 'https://humanity-mainnet.explorer.alchemy.com/api',
},
},
icpNodeUrl: 'https://ic0.app',
worldExplorerBaseUrl: 'https://worldscan.org/',
Expand Down Expand Up @@ -528,6 +540,18 @@ const testnetBase: EnvironmentTemplate = {
zksyncera: {
baseUrl: 'https://api.etherscan.io/v2',
},
unieth: {
baseUrl: 'https://unichain-sepolia.blockscout.com/api',
},
hoodeth: {
baseUrl: 'https://explorer.testnet.chain.robinhood.com/api',
},
hppeth: {
baseUrl: 'https://sepolia-explorer.hpp.io/api',
},
h: {
baseUrl: 'https://humanity-testnet.explorer.alchemy.com/api',
},
},
stxNodeUrl: 'https://api.testnet.hiro.so',
vetNodeUrl: 'https://sync-testnet.vechain.org',
Expand Down
182 changes: 182 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2598,6 +2598,188 @@ export const allCoinsAndTokens = [
'',
'TJovayETH'
),
account(
'fb957436-c58c-4fa3-a1f0-324a104cfa72',
'unieth',
'Unichain',
Networks.main.unieth,
18,
UnderlyingAsset.UNIETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'UniETH'
),
account(
'9eb4b6e4-7dcf-4ce7-b1c2-2ae9fa894fb6',
'tunieth',
'Testnet Unichain',
Networks.test.unieth,
18,
UnderlyingAsset.UNIETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'TUniETH'
),
account(
'd68be88e-9d17-404c-ba7f-08aba1844437',
'hppeth',
'House Party Protocol',
Networks.main.hppeth,
18,
UnderlyingAsset.HPPETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'HppETH'
),
account(
'2e4011ee-9512-4c51-896f-5b24ac477b52',
'thppeth',
'Testnet House Party Protocol',
Networks.test.hppeth,
18,
UnderlyingAsset.HPPETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'THppETH'
),
account(
'f0e3aa10-8e76-483c-ad4d-35aefb74b77b',
'thoodeth',
'Testnet Robinhood Chain',
Networks.test.hoodeth,
18,
UnderlyingAsset.HOODETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
],
KeyCurve.Secp256k1,
'',
'THoodETH'
),
account(
'1b17bbf4-02fc-492d-9071-6d7f47395f7a',
'hoodeth',
'Robinhood Chain',
Networks.main.hoodeth,
18,
UnderlyingAsset.HOODETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
],
KeyCurve.Secp256k1,
'',
'HoodETH'
),
account(
'ddf32007-d3a5-4cad-9a20-b7793e96fdd2',
'h',
'Humanity Protocol',
Networks.main.h,
18,
UnderlyingAsset.H,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'H'
),
account(
'e23f84e3-9b6a-4b0a-8a1e-6dc8e57650a8',
'th',
'Testnet Humanity Protocol',
Networks.test.h,
18,
UnderlyingAsset.H,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
CoinFeature.EVM_NON_BITGO_RECOVERY,
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
CoinFeature.SUPPORTS_ERC20,
],
KeyCurve.Secp256k1,
'',
'TH'
),

// Jovayeth mainnet tokens
erc20Token(
Expand Down
8 changes: 8 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ export enum CoinFamily {
FANTOM = 'fantom', // Fantom
FLR = 'flr',
FLRP = 'flrp',
H = 'h', // Humanity Protocol
HASH = 'hash', // Provenance
HBAR = 'hbar',
HBAREVM = 'hbarevm', // Hedera EVM coin
HEMIETH = 'hemieth', // Hemi Ethereum L2
HOODETH = 'hoodeth', // Robinhood Chain
HPPETH = 'hppeth', // House Party Protocol
ICP = 'icp',
INITIA = 'initia',
INJECTIVE = 'injective',
Expand Down Expand Up @@ -135,6 +138,7 @@ export enum CoinFamily {
MORPHETH = 'morpheth',
ARCUSDC = 'arcusdc', // ARC network
TEMPO = 'tempo', // Tempo Network
UNIETH = 'unieth', // Unichain
}

/**
Expand Down Expand Up @@ -596,10 +600,13 @@ export enum UnderlyingAsset {
FLUENTETH = 'fluenteth',
FANTOM = 'fantom', // Fantom
GTC = 'gtc',
H = 'h', // Humanity Protocol
HASH = 'hash', // Provenance
HBAR = 'hbar', // Hedera main coin
HBAREVM = 'hbarevm', // Hedera EVM coin
HEMIETH = 'hemieth', // Hemi Ethereum L2
HOODETH = 'hoodeth', // Robinhood Chain
HPPETH = 'hppeth', // House Party Protocol
ICP = 'icp',
IP = 'ip', // Story Chain
INITIA = 'initia',
Expand Down Expand Up @@ -661,6 +668,7 @@ export enum UnderlyingAsset {
ZKETH = 'zketh',

ZKSYNCERA = 'zksyncera', // ZkSync Era
UNIETH = 'unieth', // Unichain
// ERC 20 tokens
'$Evmosia.com' = '$evmosia.com',
'0xREVIEW' = '0xreview',
Expand Down
50 changes: 50 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4099,4 +4099,54 @@ export const ofcCoins = [
6,
UnderlyingAsset['ttempo:thetausd']
),
ofc('6f0246cf-b792-483a-b720-9755b158c614', 'ofcunieth', 'Unichain', 18, UnderlyingAsset.UNIETH, CoinKind.CRYPTO),
tofc(
'4efb1377-8439-410a-b460-2aeeff944fb2',
'ofctunieth',
'Testnet Unichain',
18,
UnderlyingAsset.UNIETH,
CoinKind.CRYPTO
),
ofc(
'598218e6-8b8b-45a1-9f50-f114e1c43f0d',
'ofchppeth',
'House Party Protocol',
18,
UnderlyingAsset.HPPETH,
CoinKind.CRYPTO
),
tofc(
'4baee871-3e95-4a46-98cd-4854cffaea7c',
'ofcthppeth',
'Testnet House Party Protocol',
18,
UnderlyingAsset.HPPETH,
CoinKind.CRYPTO
),
ofc('b0360f56-3aaa-4171-a5d6-c0c6ba56a392', 'ofch', 'Humanity Protocol', 18, UnderlyingAsset.H, CoinKind.CRYPTO),
tofc(
'74d684f5-b5fd-4bcd-88cc-96f27ee133a1',
'ofcth',
'Testnet Humanity Protocol',
18,
UnderlyingAsset.H,
CoinKind.CRYPTO
),
ofc(
'ce1af7ad-a694-4180-9a44-2bd9aa5b031e',
'ofchoodeth',
'Robinhood Chain',
18,
UnderlyingAsset.HOODETH,
CoinKind.CRYPTO
),
tofc(
'85c5c0d5-a1b0-48b7-9c40-b1ab7162053e',
'ofcthoodeth',
'Testnet Robinhood Chain',
18,
UnderlyingAsset.HOODETH,
CoinKind.CRYPTO
),
];
8 changes: 7 additions & 1 deletion modules/statics/src/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ export class CoinMap {
43114: 'avax',
43113: 'tavax',
100: 'gno',
130: 'uni',
130: 'unieth',
1301: 'tunieth',
190415: 'hppeth',
181228: 'thppeth',
6985385: 'h',
7080969: 'th',
46630: 'thoodeth',
324: 'zketh',
8453: 'baseeth',
84532: 'tbaseeth',
Expand Down
Loading