Skip to content
Merged
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
1 change: 1 addition & 0 deletions modules/bitgo/test/v2/unit/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ describe('V2 Keychains', function () {
n.asset !== UnderlyingAsset.FLRP &&
n.asset !== UnderlyingAsset.FLUENTETH &&
n.asset !== UnderlyingAsset.MANTLE &&
n.asset !== UnderlyingAsset.JOVAYETH &&
coinFamilyValues.includes(n.name)
);

Expand Down
6 changes: 6 additions & 0 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ const mainnetBase: EnvironmentTemplate = {
mantle: {
baseUrl: 'https://api.mantlescan.xyz/api',
},
jovayeth: {
baseUrl: 'https://api.zan.top/node/v1/jovay/mainnet/',
},
},
icpNodeUrl: 'https://ic0.app',
worldExplorerBaseUrl: 'https://worldscan.org/',
Expand Down Expand Up @@ -427,6 +430,9 @@ const testnetBase: EnvironmentTemplate = {
mantle: {
baseUrl: 'https://api-sepolia.mantlescan.xyz/api',
},
jovayeth: {
baseUrl: 'https://api.zan.top/node/v1/jovay/testnet/',
},
},
stxNodeUrl: 'https://api.testnet.hiro.so',
vetNodeUrl: 'https://sync-testnet.vechain.org',
Expand Down
40 changes: 40 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2238,6 +2238,46 @@ export const allCoinsAndTokens = [
CoinFeature.EVM_COMPATIBLE_WP,
]
),
account(
'd7ed1781-23ff-49b7-be6b-7fec13e1c452',
'jovayeth',
'Jovay Ethereum',
Networks.main.jovayeth,
18,
UnderlyingAsset.JOVAYETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
],
KeyCurve.Secp256k1,
'',
'JovayETH'
),
account(
'200f9547-79ad-48a3-bc8f-3f074d51bc35',
'tjovayeth',
'Testnet Jovay Ethereum',
Networks.test.jovayeth,
18,
UnderlyingAsset.JOVAYETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
CoinFeature.EVM_COMPATIBLE_WP,
],
KeyCurve.Secp256k1,
'',
'TJovayETH'
),
canton(
'07385320-5a4f-48e9-97a5-86d4be9f24b0',
'canton',
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export enum CoinFamily {
IOTA = 'iota',
IRYS = 'irys',
ISLM = 'islm',
JOVAYETH = 'jovayeth',
KAIA = 'kaia',
KAVA = 'kava',
KAVAEVM = 'kavaevm',
Expand Down Expand Up @@ -568,6 +569,7 @@ export enum UnderlyingAsset {
IOTA = 'iota',
IRYS = 'irys',
ISLM = 'islm',
JOVAYETH = 'jovayeth',
KAIA = 'kaia',
KAVA = 'kava',
KAVAEVM = 'kavaevm',
Expand Down
20 changes: 20 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,24 @@ class MantleTestnet extends Testnet implements EthereumNetwork {
nativeCoinOperationHashPrefix = '5003';
}

class JovayETH extends Mainnet implements EthereumNetwork {
name = 'Jovay Ethereum';
family = CoinFamily.JOVAYETH;
explorerUrl = 'https://explorer.jovay.io/tx/';
accountExplorerUrl = 'https://explorer.jovay.io/address/';
chainId = 5734951;
nativeCoinOperationHashPrefix = '5734951';
}

class JovayETHTestnet extends Testnet implements EthereumNetwork {
name = 'Testnet Jovay Ethereum';
family = CoinFamily.JOVAYETH;
explorerUrl = 'https://sepolia-explorer.jovay.io/tx/';
accountExplorerUrl = 'https://sepolia-explorer.jovay.io/address/';
chainId = 2019775;
nativeCoinOperationHashPrefix = '2019775';
}

class CreditcoinTestnet extends Testnet implements EthereumNetwork {
name = 'CreditcoinTestnet';
family = CoinFamily.CTC;
Expand Down Expand Up @@ -2122,6 +2140,7 @@ export const Networks = {
injective: Object.freeze(new Injective()),
irys: Object.freeze(new Irys()),
islm: Object.freeze(new Islm()),
jovayeth: Object.freeze(new JovayETH()),
kaia: Object.freeze(new Kaia()),
kava: Object.freeze(new Kava()),
kavaevm: Object.freeze(new KavaEVM()),
Expand Down Expand Up @@ -2225,6 +2244,7 @@ export const Networks = {
iota: Object.freeze(new IotaTestnet()),
irys: Object.freeze(new IrysTestnet()),
islm: Object.freeze(new IslmTestnet()),
jovayeth: Object.freeze(new JovayETHTestnet()),
kava: Object.freeze(new KavaTestnet()),
kavaevm: Object.freeze(new KavaEVMTestnet()),
kovan: Object.freeze(new Kovan()),
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/test/unit/fixtures/expectedColdFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const expectedColdFeatures = {
'irys',
'islm',
'injective',
'jovayeth',
'kaia',
'kava',
'megaeth',
Expand Down Expand Up @@ -146,6 +147,7 @@ export const expectedColdFeatures = {
'tflow',
'tfluenteth',
'thbarevm',
'tjovayeth',
'tog',
'tmegaeth',
'tmon',
Expand Down