Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unichain #2472

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions src/components/VaultIdentity/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,7 @@ export const styles = (theme: Theme) => ({
'vaultNetwork-scroll': {
backgroundColor: '#ffe6c8',
},
'vaultNetwork-unichain': {
backgroundColor: '#F50FB4',
},
});
1 change: 1 addition & 0 deletions src/config/boost/unichain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
16 changes: 16 additions & 0 deletions src/config/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,22 @@ export const config = {
},
stableCoins: ['USDT', 'USDC', 'loreUSD'],
},
unichain: {
name: 'Unichain',
new: true,
chainId: 1301,
rpc: ['https://mainnet.unichain.org/'],
explorerUrl: 'https://mainnet.uniscan.xyz/',
multicallAddress: '0x0000000000000000000000000000000000000000',
multicall3Address: '0x0000000000000000000000000000000000000000',
appMulticallContractAddress: '0x0000000000000000000000000000000000000000',
providerName: 'Unichain',
native: { symbol: 'ETH', oracleId: 'WETH', decimals: 18 },
gas: {
type: 'standard',
},
stableCoins: [],
},
aurora: {
name: 'Aurora',
chainId: 1313161554,
Expand Down
3 changes: 3 additions & 0 deletions src/config/migrators/unichain.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import type { MigrationConfig } from '../../features/data/reducers/wallet/migration';

export const migrators = [] as const satisfies ReadonlyArray<MigrationConfig>;
3 changes: 3 additions & 0 deletions src/config/minters/unichain.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import type { MinterConfig } from '../../features/data/apis/config-types';

export const minters: MinterConfig[] = [];
1 change: 1 addition & 0 deletions src/config/vault/unichain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions src/features/data/apis/config-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ type ChainId =
| 'sei'
| 'rootstock'
| 'scroll'
| 'unichain'
| 'aurora'
| 'emerald'
| 'celo'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export const styles = (theme: Theme) => ({
'headerNetwork-scroll': {
backgroundColor: 'rgb(201, 203, 206)',
},
'headerNetwork-unichain': {
backgroundColor: 'rgb(245, 15, 180,0.4)',
},
'headerMM-system9': {
backgroundColor: 'rgba(243, 243, 200, 0.5)',
},
Expand Down
4 changes: 4 additions & 0 deletions src/images/networks/unichain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.