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
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 @@ -218,6 +218,9 @@ const mainnetBase: EnvironmentTemplate = {
wemixExplorerBaseUrl: 'https://api.etherscan.io/v2',
sgbExplorerBaseUrl: 'https://songbird-explorer.flare.network',
evm: {
abstracteth: {
baseUrl: 'https://api.abscan.org/api',
},
apechain: {
baseUrl: 'https://api.etherscan.io/v2',
},
Expand Down Expand Up @@ -433,6 +436,9 @@ const testnetBase: EnvironmentTemplate = {
somniaExplorerBaseUrl: 'https://shannon-explorer.somnia.network/',
soneiumExplorerBaseUrl: 'https://soneium-minato.blockscout.com',
evm: {
abstracteth: {
baseUrl: 'https://api.sepolia.abscan.org/api',
},
apechain: {
baseUrl: 'https://api.etherscan.io/v2',
},
Expand Down
36 changes: 36 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,42 @@ export const allCoinsAndTokens = [
BaseUnit.ETH,
COREDAO_FEATURES
),
account(
'f3bc3fef-7370-453a-a651-01a0f4d54246',
'abstracteth',
'Abstract Ethereum',
Networks.main.abstracteth,
18,
UnderlyingAsset.ABSTRACTETH,
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.SUPPORTS_ERC20,
]
),
account(
'dd6c9539-90e1-4fb1-a428-c2dee96107f8',
'tabstracteth',
'Testnet Abstract Ethereum',
Networks.test.abstracteth,
18,
UnderlyingAsset.ABSTRACTETH,
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.SUPPORTS_ERC20,
]
),
account(
'd308ba34-557a-43f2-84f3-5775f1f1a779',
'apechain',
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 @@ -21,6 +21,7 @@ export enum CoinKind {
*/
export enum CoinFamily {
ADA = 'ada',
ABSTRACTETH = 'abstracteth', // Abstract L2 EVM
APECHAIN = 'apechain',
ALGO = 'algo',
APT = 'apt',
Expand Down Expand Up @@ -557,6 +558,7 @@ export enum CoinFeature {
*/
export enum UnderlyingAsset {
INVALID_UNKNOWN = 'invalid_asset_type',
ABSTRACTETH = 'abstracteth', // Abstract L2 EVM
ADA = 'ada',
ALGO = 'algo',
APE = 'ape',
Expand Down
16 changes: 16 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,22 @@ export const ofcCoins = [
UnderlyingAsset.SEIEVM,
CoinKind.CRYPTO
),
ofc(
'8daf44a2-1615-4938-8ce7-66b0e47c38a3',
'ofcabstracteth',
'Abstract Ethereum',
18,
UnderlyingAsset.ABSTRACTETH,
CoinKind.CRYPTO
),
tofc(
'0220e727-49b9-402c-96b7-4b5c0fc055c0',
'ofctabstracteth',
'Abstract Ethereum Testnet',
18,
UnderlyingAsset.ABSTRACTETH,
CoinKind.CRYPTO
),
ofc(
'7e4fc86c-7caf-4cd3-b801-a650b0bfcf64',
'ofcapechain',
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 @@ -1583,6 +1583,24 @@ class ApeChainTestnet extends Testnet implements EthereumNetwork {
batcherContractAddress = '0x3e1e5d78e44f15593b3b61ed278f12c27f0ff33e';
}

class AbstractEth extends Mainnet implements EthereumNetwork {
name = 'Abstract Ethereum';
family = CoinFamily.ABSTRACTETH;
explorerUrl = 'https://abscan.org/tx/';
accountExplorerUrl = 'https://abscan.org/address/';
chainId = 2741;
nativeCoinOperationHashPrefix = '2741';
}

class AbstractEthTestnet extends Testnet implements EthereumNetwork {
name = 'Testnet Abstract Ethereum';
family = CoinFamily.ABSTRACTETH;
explorerUrl = 'https://sepolia.abscan.org/tx/';
accountExplorerUrl = 'https://sepolia.abscan.org/address/';
chainId = 11124;
nativeCoinOperationHashPrefix = '11124';
}

class Pharos extends Mainnet implements EthereumNetwork {
name = 'Pharos';
family = CoinFamily.PHRS;
Expand Down Expand Up @@ -2644,6 +2662,7 @@ export class DynamicNetwork extends BaseNetwork {

export const Networks = {
main: {
abstracteth: Object.freeze(new AbstractEth()),
ada: Object.freeze(new Ada()),
algorand: Object.freeze(new Algorand()),
apechain: Object.freeze(new ApeChain()),
Expand Down Expand Up @@ -2765,6 +2784,7 @@ export const Networks = {
unieth: Object.freeze(new Unieth()),
},
test: {
abstracteth: Object.freeze(new AbstractEthTestnet()),
ada: Object.freeze(new AdaTestnet()),
algorand: Object.freeze(new AlgorandTestnet()),
apechain: Object.freeze(new ApeChainTestnet()),
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 @@ -71,6 +71,7 @@ export const expectedColdFeatures = {
'zketh',
],
justTSS: [
'abstracteth',
'ada',
'apechain',
'apt',
Expand Down Expand Up @@ -146,6 +147,7 @@ export const expectedColdFeatures = {
'kavaevm',
'xdc',
'zeta',
'tabstracteth',
'tada',
'tasi',
'tatom',
Expand Down
Loading