Skip to content

Commit 40f1010

Browse files
committed
feat: add berachain token list
1 parent 91d2774 commit 40f1010

File tree

7 files changed

+30
-3
lines changed

7 files changed

+30
-3
lines changed

generated/balancer.tokenlist.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": {
44
"major": 1,
55
"minor": 0,
6-
"patch": 350
6+
"patch": 351
77
},
88
"keywords": [
99
"Balancer",
@@ -17,7 +17,7 @@
1717
"Swap"
1818
],
1919
"logoURI": "https://raw.githubusercontent.com/balancer/pebbles/master/images/pebbles-pad.256w.png",
20-
"timestamp": "2025-07-07T07:30:08.569Z",
20+
"timestamp": "2025-07-17T09:36:48.016Z",
2121
"tokens": [
2222
{
2323
"chainId": 999,
@@ -430,6 +430,13 @@
430430
"symbol": "hyUSDe",
431431
"decimals": 18,
432432
"logoURI": "https://raw.githubusercontent.com/burrbear-dev/tokenlists/main/src/assets/images/tokens/0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34.png"
433+
},
434+
{
435+
"chainId": 80094,
436+
"address": "0x6969696969696969696969696969696969696969",
437+
"name": "Wrapped Bera",
438+
"symbol": "WBERA",
439+
"decimals": 18
433440
}
434441
]
435442
}

src/config/berachain.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export default {
2+
name: 'berachain',
3+
rpc: `https://rpc.berachain.com`,
4+
coingecko: {
5+
platformId: 'berachain',
6+
},
7+
// at the time of writing the trust wallet folder for berachain is not yet available
8+
// so we're using the ethereum folder for now
9+
// @see https://github.com/trustwallet/assets/tree/master/blockchains
10+
trustWalletNetwork: 'ethereum',
11+
addresses: {
12+
multicaller: '0xcA11bde05977b3631167028862bE2a173976CA11',
13+
},
14+
}

src/config/hyperevm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
coingecko: {
55
platformId: 'hyperevm',
66
},
7-
// at the time of writing the trust wallet folder for bartio is not yet available
7+
// at the time of writing the trust wallet folder for hyperevm is not yet available
88
// so we're using the ethereum folder for now
99
// @see https://github.com/trustwallet/assets/tree/master/blockchains
1010
trustWalletNetwork: 'ethereum',

src/config/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import arbitrum from './arbitrum'
33
import avalanche from './avalanche'
44
import bartio from './bartio'
55
import base from './base'
6+
import berachain from './berachain'
67
import ethereum from './ethereum'
78
import fantom from './fantom'
89
import fraxtal from './fraxtal'
@@ -31,6 +32,7 @@ const config: Configs = {
3132
[Network.Mode]: mode,
3233
[Network.Sonic]: sonic,
3334
[Network.Hyperevm]: hyperevm,
35+
[Network.Berachain]: berachain,
3436
}
3537

3638
export default config

src/tokenlists/balancer/tokens.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { Network, TokensForList } from '../../types'
1010
// import zkevm from './tokens/zkevm'
1111
// import fantom from './tokens/fantom'
1212
// import bartio from './tokens/bartio'
13+
import berachain from './tokens/berachain'
1314
import hyperevm from './tokens/hyperevm'
1415

1516
export const tokens: TokensForList = {
@@ -28,4 +29,5 @@ export const tokens: TokensForList = {
2829
[Network.Mode]: [],
2930
[Network.Sonic]: [],
3031
[Network.Hyperevm]: hyperevm,
32+
[Network.Berachain]: berachain,
3133
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['0x6969696969696969696969696969696969696969']

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export enum Network {
1616
Mode = '34443',
1717
Sonic = '146',
1818
Hyperevm = '999',
19+
Berachain = '80094',
1920
}
2021

2122
export interface Config {

0 commit comments

Comments
 (0)