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
4 changes: 0 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ VITE_FEATURE_BNBSMARTCHAIN=true
VITE_FEATURE_POLYGON=true
VITE_FEATURE_GNOSIS=true
VITE_FEATURE_ARBITRUM=true
VITE_FEATURE_ARBITRUM_NOVA=false
VITE_FEATURE_SOLANA=true
VITE_FEATURE_STARKNET=true
VITE_FEATURE_SUI=true
Expand Down Expand Up @@ -121,8 +120,6 @@ VITE_UNCHAINED_GNOSIS_HTTP_URL=https://api.gnosis.shapeshift.com
VITE_UNCHAINED_GNOSIS_WS_URL=wss://api.gnosis.shapeshift.com
VITE_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_BASE_HTTP_URL=https://api.base.shapeshift.com
VITE_UNCHAINED_BASE_WS_URL=wss://api.base.shapeshift.com
VITE_UNCHAINED_MONAD_HTTP_URL=https://rpc.monad.xyz
Expand Down Expand Up @@ -155,7 +152,6 @@ VITE_BNBSMARTCHAIN_NODE_URL=https://api.bnbsmartchain.shapeshift.com/api/v1/json
VITE_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
VITE_GNOSIS_NODE_URL=https://api.gnosis.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
VITE_BASE_NODE_URL=https://api.base.shapeshift.com/api/v1/jsonrpc
VITE_MONAD_NODE_URL=https://rpc.monad.xyz
VITE_PLASMA_NODE_URL=https://rpc.plasma.to
Expand Down
3 changes: 0 additions & 3 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ VITE_UNCHAINED_GNOSIS_HTTP_URL=https://dev-api.gnosis.shapeshift.com
VITE_UNCHAINED_GNOSIS_WS_URL=wss://dev-api.gnosis.shapeshift.com
VITE_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_BASE_HTTP_URL=https://dev-api.base.shapeshift.com
VITE_UNCHAINED_BASE_WS_URL=wss://dev-api.base.shapeshift.com
VITE_UNCHAINED_MONAD_HTTP_URL=https://rpc.monad.xyz
Expand Down Expand Up @@ -59,7 +57,6 @@ VITE_BNBSMARTCHAIN_NODE_URL=https://dev-api.bnbsmartchain.shapeshift.com/api/v1/
VITE_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
VITE_GNOSIS_NODE_URL=https://dev-api.gnosis.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
VITE_BASE_NODE_URL=https://dev-api.base.shapeshift.com/api/v1/jsonrpc
VITE_MONAD_NODE_URL=https://rpc.monad.xyz
VITE_PLASMA_NODE_URL=https://rpc.plasma.to
Expand Down
3 changes: 0 additions & 3 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ VITE_UNCHAINED_GNOSIS_HTTP_URL=https://api.gnosis.shapeshift.com
VITE_UNCHAINED_GNOSIS_WS_URL=wss://api.gnosis.shapeshift.com
VITE_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
VITE_UNCHAINED_BASE_HTTP_URL=https://api.base.shapeshift.com
VITE_UNCHAINED_BASE_WS_URL=wss://api.base.shapeshift.com
VITE_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
Expand Down Expand Up @@ -48,7 +46,6 @@ VITE_BNBSMARTCHAIN_NODE_URL=https://api.bnbsmartchain.shapeshift.com/api/v1/json
VITE_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
VITE_GNOSIS_NODE_URL=https://api.gnosis.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
VITE_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
VITE_BASE_NODE_URL=https://api.base.shapeshift.com/api/v1/jsonrpc
VITE_THORCHAIN_NODE_URL=https://api.thorchain.shapeshift.com/lcd
VITE_MAYACHAIN_NODE_URL=https://api.mayachain.shapeshift.com/lcd
Expand Down
14 changes: 0 additions & 14 deletions headers/csps/chains/arbitrumNova.ts

This file was deleted.

2 changes: 0 additions & 2 deletions headers/csps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { csp as trustwallet } from './assetService/trustwallet'
import { csp as base } from './base'
import { csp as chainflip } from './chainflip'
import { csp as arbitrum } from './chains/arbitrum'
import { csp as arbitrumNova } from './chains/arbitrumNova'
import { csp as avalanche } from './chains/avalanche'
import { csp as baseChain } from './chains/base'
import { csp as bitcoin } from './chains/bitcoin'
Expand Down Expand Up @@ -99,7 +98,6 @@ export const csps = [
tenderly,
webflow,
arbitrum,
arbitrumNova,
avalanche,
baseChain,
bitcoin,
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions packages/caip/src/adapters/coingecko/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import bnbsmartchain from "./eip155_56/adapter.json";
import polygon from "./eip155_137/adapter.json";
import gnosis from "./eip155_100/adapter.json";
import arbitrum from "./eip155_42161/adapter.json";
import arbitrumNova from "./eip155_42170/adapter.json";
import base from "./eip155_8453/adapter.json";
import monad from "./eip155_143/adapter.json";
import hyperevm from "./eip155_999/adapter.json";
Expand Down Expand Up @@ -38,7 +37,6 @@ export {
polygon,
gnosis,
arbitrum,
arbitrumNova,
base,
monad,
hyperevm,
Expand Down
16 changes: 0 additions & 16 deletions packages/caip/src/adapters/coingecko/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ describe('adapters:coingecko', () => {
assetNamespace: 'slip44',
assetReference: ASSET_REFERENCE.Arbitrum,
})
const ethOnArbitrumNova = toAssetId({
chainNamespace,
chainReference: CHAIN_REFERENCE.ArbitrumNovaMainnet,
assetNamespace: 'slip44',
assetReference: ASSET_REFERENCE.ArbitrumNova,
})
const ethOnBase = toAssetId({
chainNamespace,
chainReference: CHAIN_REFERENCE.BaseMainnet,
Expand All @@ -67,7 +61,6 @@ describe('adapters:coingecko', () => {
ethOnEthereum,
ethOnOptimism,
ethOnArbitrum,
ethOnArbitrumNova,
ethOnBase,
])
})
Expand Down Expand Up @@ -237,12 +230,6 @@ describe('adapters:coingecko', () => {
assetNamespace,
assetReference: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
})
const usdcOnArbitrumNovaBridged = toAssetId({
chainNamespace,
chainReference: CHAIN_REFERENCE.ArbitrumNovaMainnet,
assetNamespace,
assetReference: '0x750ba8b76187092B0D1E87E28daaf484d1b5273b',
})
const usdcOnGnosisBridged = toAssetId({
chainNamespace,
chainReference: CHAIN_REFERENCE.GnosisMainnet,
Expand All @@ -254,9 +241,6 @@ describe('adapters:coingecko', () => {
])
expect(coingeckoToAssetIds('bridged-usdc-polygon-pos-bridge')).toEqual([usdcOnPolygonBridged])
expect(coingeckoToAssetIds('gnosis-xdai-bridged-usdc-gnosis')).toEqual([usdcOnGnosisBridged])
expect(coingeckoToAssetIds('official-arbitrum-bridged-usdc-arbitrum-nova')).toEqual([
usdcOnArbitrumNovaBridged,
])
})
})

Expand Down
6 changes: 0 additions & 6 deletions packages/caip/src/adapters/coingecko/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { ChainId } from '../../chainId/chainId'
import { fromChainId, toChainId } from '../../chainId/chainId'
import {
arbitrumChainId,
arbitrumNovaChainId,
avalancheChainId,
baseChainId,
bscChainId,
Expand Down Expand Up @@ -46,7 +45,6 @@ export enum CoingeckoAssetPlatform {
Optimism = 'optimistic-ethereum',
BnbSmartChain = 'binance-smart-chain',
Arbitrum = 'arbitrum-one',
ArbitrumNova = 'arbitrum-nova',
Base = 'base',
Monad = 'monad',
HyperEvm = 'hyperevm',
Expand Down Expand Up @@ -102,8 +100,6 @@ export const chainIdToCoingeckoAssetPlatform = (chainId: ChainId): string => {
return CoingeckoAssetPlatform.Gnosis
case CHAIN_REFERENCE.ArbitrumMainnet:
return CoingeckoAssetPlatform.Arbitrum
case CHAIN_REFERENCE.ArbitrumNovaMainnet:
return CoingeckoAssetPlatform.ArbitrumNova
case CHAIN_REFERENCE.BaseMainnet:
return CoingeckoAssetPlatform.Base
case CHAIN_REFERENCE.MonadMainnet:
Expand Down Expand Up @@ -211,8 +207,6 @@ export const coingeckoAssetPlatformToChainId = (
return gnosisChainId
case CoingeckoAssetPlatform.Arbitrum:
return arbitrumChainId
case CoingeckoAssetPlatform.ArbitrumNova:
return arbitrumNovaChainId
case CoingeckoAssetPlatform.Base:
return baseChainId
case CoingeckoAssetPlatform.Monad:
Expand Down
5 changes: 0 additions & 5 deletions packages/caip/src/adapters/coingecko/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const makeWethMockCoingeckoResponse = () => ({
'polygon-pos': '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
xdai: '0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1',
'arbitrum-one': '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
'arbitrum-nova': '0x722e8bdd2ce80a4422e880164f2079488e115365',
base: '0x4200000000000000000000000000000000000006',
},
})
Expand Down Expand Up @@ -164,10 +163,6 @@ describe('adapters:coingecko:utils', () => {
'eip155:42161/slip44:60': 'ethereum',
'eip155:42161/erc20:0x82af49447d8a07e3bd95bd0d56f35241523fbab1': 'weth',
},
'eip155:42170': {
'eip155:42170/slip44:60': 'ethereum',
'eip155:42170/erc20:0x722e8bdd2ce80a4422e880164f2079488e115365': 'weth',
},
'eip155:8453': {
'eip155:8453/slip44:60': 'ethereum',
'eip155:8453/erc20:0x4200000000000000000000000000000000000006': 'weth',
Expand Down
17 changes: 0 additions & 17 deletions packages/caip/src/adapters/coingecko/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import type { ChainId } from '../../chainId/chainId'
import {
arbitrumAssetId,
arbitrumChainId,
arbitrumNovaAssetId,
arbitrumNovaChainId,
ASSET_NAMESPACE,
avalancheAssetId,
avalancheChainId,
Expand Down Expand Up @@ -177,20 +175,6 @@ export const parseData = (coins: CoingeckoCoin[]): AssetMap => {
}
}

if (Object.keys(platforms).includes(CoingeckoAssetPlatform.ArbitrumNova)) {
try {
const assetId = toAssetId({
chainNamespace: CHAIN_NAMESPACE.Evm,
chainReference: CHAIN_REFERENCE.ArbitrumNovaMainnet,
assetNamespace: 'erc20',
assetReference: platforms[CoingeckoAssetPlatform.ArbitrumNova],
})
prev[arbitrumNovaChainId][assetId] = id
} catch (err) {
// unable to create assetId, skip token
}
}

if (Object.keys(platforms).includes(CoingeckoAssetPlatform.Base)) {
try {
const assetId = toAssetId({
Expand Down Expand Up @@ -355,7 +339,6 @@ export const parseData = (coins: CoingeckoCoin[]): AssetMap => {
[polygonChainId]: { [polygonAssetId]: 'polygon-ecosystem-token' },
[gnosisChainId]: { [gnosisAssetId]: 'xdai' },
[arbitrumChainId]: { [arbitrumAssetId]: 'ethereum' },
[arbitrumNovaChainId]: { [arbitrumNovaAssetId]: 'ethereum' },
[baseChainId]: { [baseAssetId]: 'ethereum' },
[hyperEvmChainId]: { [hyperEvmAssetId]: 'hyperliquid' },
[monadChainId]: { [monadAssetId]: 'monad' },
Expand Down
6 changes: 0 additions & 6 deletions packages/caip/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const bscAssetId: AssetId = 'eip155:56/slip44:60'
export const polygonAssetId: AssetId = 'eip155:137/slip44:60'
export const gnosisAssetId: AssetId = 'eip155:100/slip44:60'
export const arbitrumAssetId: AssetId = 'eip155:42161/slip44:60'
export const arbitrumNovaAssetId: AssetId = 'eip155:42170/slip44:60'
export const baseAssetId: AssetId = 'eip155:8453/slip44:60'
export const monadAssetId: AssetId = 'eip155:143/slip44:60'
export const hyperEvmAssetId: AssetId = 'eip155:999/slip44:60'
Expand Down Expand Up @@ -75,7 +74,6 @@ export const bscChainId: ChainId = 'eip155:56'
export const polygonChainId: ChainId = 'eip155:137'
export const gnosisChainId: ChainId = 'eip155:100'
export const arbitrumChainId: ChainId = 'eip155:42161'
export const arbitrumNovaChainId: ChainId = 'eip155:42170'
export const baseChainId: ChainId = 'eip155:8453'
export const monadChainId: ChainId = 'eip155:143'
export const hyperEvmChainId: ChainId = 'eip155:999'
Expand Down Expand Up @@ -127,7 +125,6 @@ export const CHAIN_REFERENCE = {
PolygonMainnet: '137', // https://wiki.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/
GnosisMainnet: '100', // https://docs.gnosischain.com/tools/wallets/metamask/
ArbitrumMainnet: '42161', // https://chainlist.org/chain/42161
ArbitrumNovaMainnet: '42170', // https://chainlist.org/chain/42170
BaseMainnet: '8453', // https://chainlist.org/chain/8453
MonadMainnet: '143', // https://docs.monad.xyz/developer-essentials/network-information
HyperEvmMainnet: '999', // https://chainlist.org/chain/999
Expand Down Expand Up @@ -172,7 +169,6 @@ export const ASSET_REFERENCE = {
Polygon: '60', // evm chain which uses ethereum derivation path as common practice
Gnosis: '60', // evm chain which uses ethereum derivation path as common practice
Arbitrum: '60', // evm chain which uses ethereum derivation path as common practice
ArbitrumNova: '60', // evm chain which uses ethereum derivation path as common practice
Base: '60', // evm chain which uses ethereum derivation path as common practice
Monad: '60', // evm chain which uses ethereum derivation path as common practice
HyperEvm: '60', // evm chain which uses ethereum derivation path as common practice
Expand Down Expand Up @@ -202,7 +198,6 @@ export const VALID_CHAIN_IDS: ValidChainMap = Object.freeze({
CHAIN_REFERENCE.PolygonMainnet,
CHAIN_REFERENCE.GnosisMainnet,
CHAIN_REFERENCE.ArbitrumMainnet,
CHAIN_REFERENCE.ArbitrumNovaMainnet,
CHAIN_REFERENCE.BaseMainnet,
CHAIN_REFERENCE.MonadMainnet,
CHAIN_REFERENCE.HyperEvmMainnet,
Expand Down Expand Up @@ -260,7 +255,6 @@ export const FEE_ASSET_IDS = [
polygonAssetId,
gnosisAssetId,
arbitrumAssetId,
arbitrumNovaAssetId,
baseAssetId,
monadAssetId,
solAssetId,
Expand Down
9 changes: 0 additions & 9 deletions packages/chain-adapters/src/evm/EvmBaseAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
} from '@shapeshiftoss/hdwallet-core'
import {
supportsArbitrum,
supportsArbitrumNova,
supportsAvalanche,
supportsBase,
supportsBSC,
Expand Down Expand Up @@ -82,7 +81,6 @@ export const evmChainIds = [
KnownChainIds.PolygonMainnet,
KnownChainIds.GnosisMainnet,
KnownChainIds.ArbitrumMainnet,
KnownChainIds.ArbitrumNovaMainnet,
KnownChainIds.BaseMainnet,
KnownChainIds.MonadMainnet,
KnownChainIds.HyperEvmMainnet,
Expand Down Expand Up @@ -180,8 +178,6 @@ export abstract class EvmBaseAdapter<T extends EvmChainId> implements IChainAdap
return supportsGnosis(wallet)
case Number(fromChainId(KnownChainIds.ArbitrumMainnet).chainReference):
return supportsArbitrum(wallet)
case Number(fromChainId(KnownChainIds.ArbitrumNovaMainnet).chainReference):
return supportsArbitrumNova(wallet)
case Number(fromChainId(KnownChainIds.BaseMainnet).chainReference):
return supportsBase(wallet)
case Number(fromChainId(KnownChainIds.MonadMainnet).chainReference):
Expand Down Expand Up @@ -259,11 +255,6 @@ export abstract class EvmBaseAdapter<T extends EvmChainId> implements IChainAdap
symbol: 'ETH',
explorer: 'https://arbiscan.io',
},
[KnownChainIds.ArbitrumNovaMainnet]: {
name: 'Ethereum',
symbol: 'ETH',
explorer: 'https://nova.arbiscan.io',
},
[KnownChainIds.BaseMainnet]: {
name: 'Ethereum',
symbol: 'ETH',
Expand Down
Loading