Skip to content

Commit ba6cf1a

Browse files
committed
chore: generate tokens
1 parent c2a8596 commit ba6cf1a

File tree

6 files changed

+45
-3
lines changed

6 files changed

+45
-3
lines changed

fetchLists/lists/contracts.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

fetchLists/lists/tokens.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package-test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ const EXCEPTIONS = [
8080
'@ledgerhq/hw-app-eth', // issue with imports
8181
'@ledgerhq/live-common', // issue with imports
8282
'bip39', // breaks
83-
'@myetherwallet/eth2-keystore'
83+
'@myetherwallet/eth2-keystore',
84+
'ethers',
85+
'commitlint'
8486
];
8587
const CUSTOM_DIST = {
8688
['babel-core']: 'bridge'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { ARB } from '../types';
2+
export default {
3+
type: ARB,
4+
service: 'aurora.dev-ws',
5+
url: 'wss://nodes.mewapi.io/ws/arb',
6+
port: 443,
7+
auth: false,
8+
username: '',
9+
password: ''
10+
};

src/utils/networks/types/ARB.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import arbitrum from '@/assets/images/networks/arbitrum.svg';
2+
export default {
3+
name: 'ARB',
4+
name_long: 'Arbitrum',
5+
homePage: 'https://arbitrum.io/',
6+
blockExplorer: 'arbiscan',
7+
blockExplorerTX: 'https://arbiscan.io/tx/[[txHash]]',
8+
blockExplorerAddr: 'https://arbiscan.io/address/[[address]]',
9+
chainID: 42161,
10+
tokens: import('@/_generated/tokens/tokens-arb.json').then(
11+
module => module.default
12+
),
13+
contracts: import('@/_generated/contracts/contract-abi-arb.json').then(
14+
module => module.default
15+
),
16+
icon: arbitrum,
17+
currencyName: 'ETH',
18+
isTestNetwork: false,
19+
isEthVMSupported: {
20+
supported: false,
21+
url: null,
22+
websocket: null
23+
},
24+
gasPriceMultiplier: 1,
25+
canBuy: false,
26+
coingeckoID: 'ethereum',
27+
balanceApi: 'https://partners.mewapi.io/balances/arb/'
28+
};

src/utils/networks/types/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import MOONBEAM from './MOONBEAM';
1010
import MOONRIVER from './MOONRIVER';
1111
import ROOTSTOCK from './ROOTSTOCK';
1212
import AURORA from './AURORA';
13+
import ARB from './ARB';
1314
// import AVAX from './AVAX';
1415
import FTM from './FTM';
1516
import GNO from './GNO';
@@ -29,6 +30,7 @@ export {
2930
MOONRIVER,
3031
ROOTSTOCK,
3132
AURORA,
33+
ARB,
3234
// AVAX,
3335
FTM,
3436
GNO,

0 commit comments

Comments
 (0)