Skip to content

Commit b5eadf8

Browse files
authored
feat: add Ultra EVM Mainnet (#3277)
Add Ultra EVM Mainnet chain
1 parent 3b21f1a commit b5eadf8

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.changeset/grumpy-moons-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added Ultra EVM Mainnet chain

src/chains/definitions/ultra.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const ultra = /*#__PURE__*/ defineChain({
4+
id: 19991,
5+
name: 'Ultra EVM',
6+
nativeCurrency: {
7+
decimals: 18,
8+
name: 'Ultra Token',
9+
symbol: 'UOS',
10+
},
11+
rpcUrls: {
12+
default: { http: ['https://evm.ultra.eosusa.io'] },
13+
},
14+
blockExplorers: {
15+
default: {
16+
name: 'Ultra EVM Explorer',
17+
url: 'https://evmexplorer.ultra.io',
18+
},
19+
},
20+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ export { treasure } from './definitions/treasure.js'
467467
export { treasureTopaz } from './definitions/treasureTopaz.js'
468468
export { tron } from './definitions/tron.js'
469469
export { ubiq } from './definitions/ubiq.js'
470+
export { ultra } from './definitions/ultra.js'
470471
export { ultraTestnet } from './definitions/ultraTestnet.js'
471472
export { ultron } from './definitions/ultron.js'
472473
export { ultronTestnet } from './definitions/ultronTestnet.js'

0 commit comments

Comments
 (0)