Skip to content

Commit

Permalink
feat: add wallet handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed May 28, 2024
1 parent 0a380eb commit e4bafee
Show file tree
Hide file tree
Showing 19 changed files with 962 additions and 1,038 deletions.
215 changes: 0 additions & 215 deletions src/bitgo-functions.ts

This file was deleted.

38 changes: 0 additions & 38 deletions src/constants.ts

This file was deleted.

29 changes: 0 additions & 29 deletions src/ethereum-network.ts → src/constants/ethereum-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,3 @@ export const hexChainIDs: { [key in EthereumNetworkID]: string } = {
[EthereumNetworkID.ArbSepolia]: '0x66eee',
[EthereumNetworkID.Arbitrum]: '0xa4b1',
};

export const addNetworkParams = {
[EthereumNetworkID.ArbSepolia]: [
{
chainId: '0x66eee',
rpcUrls: ['https://sepolia-rollup.arbitrum.io/rpc', 'https://arb-sepolia.infura.io/v3/'],
chainName: 'Arbitrum Sepolia Testnet',
nativeCurrency: {
name: 'ETH',
symbol: 'ETH',
decimals: 18,
},
blockExplorerUrls: ['https://sepolia.arbiscan.io/'],
},
],
[EthereumNetworkID.Arbitrum]: [
{
chainId: '42161',
rpcUrls: ['https://arb1.arbitrum.io/rpc', 'https://arbitrum-mainnet.infura.io'],
chainName: 'Arbitrum One',
nativeCurrency: {
name: 'ETH',
symbol: 'ETH',
decimals: 18,
},
blockExplorerUrls: ['https://arbiscan.io/'],
},
],
};
7 changes: 7 additions & 0 deletions src/constants/ledger-constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @format */

export const LEDGER_APPS_MAP = {
BITCOIN_MAINNET: 'Bitcoin',
BITCOIN_TESTNET: 'Bitcoin Test',
MAIN_MENU: 'BOLOS',
} as const;
Loading

0 comments on commit e4bafee

Please sign in to comment.