File tree Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " viem " : patch
3+ ---
4+
5+ Added NEAR Protocol chains.
Original file line number Diff line number Diff line change 1+ import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+ export const near = /*#__PURE__*/ defineChain ( {
4+ id : 397 ,
5+ name : 'NEAR Protocol' ,
6+ nativeCurrency : {
7+ decimals : 18 ,
8+ name : 'NEAR' ,
9+ symbol : 'NEAR' ,
10+ } ,
11+ rpcUrls : {
12+ default : { http : [ 'https://eth-rpc.mainnet.near.org' ] } ,
13+ } ,
14+ blockExplorers : {
15+ default : {
16+ name : 'NEAR Explorer' ,
17+ url : 'https://eth-explorer.near.org' ,
18+ } ,
19+ } ,
20+ testnet : false ,
21+ } )
Original file line number Diff line number Diff line change 1+ import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+ export const nearTestnet = /*#__PURE__*/ defineChain ( {
4+ id : 398 ,
5+ name : 'NEAR Protocol Testnet' ,
6+ nativeCurrency : {
7+ decimals : 18 ,
8+ name : 'NEAR' ,
9+ symbol : 'NEAR' ,
10+ } ,
11+ rpcUrls : {
12+ default : { http : [ 'https://eth-rpc.testnet.near.org' ] } ,
13+ } ,
14+ blockExplorers : {
15+ default : {
16+ name : 'NEAR Explorer' ,
17+ url : 'https://eth-explorer-testnet.near.org' ,
18+ } ,
19+ } ,
20+ testnet : true ,
21+ } )
Original file line number Diff line number Diff line change @@ -300,6 +300,8 @@ export { morphHolesky } from './definitions/morphHolesky.js'
300300export { morphSepolia } from './definitions/morphSepolia.js'
301301export { nahmii } from './definitions/nahmii.js'
302302export { nautilus } from './definitions/nautilus.js'
303+ export { near } from './definitions/near.js'
304+ export { nearTestnet } from './definitions/nearTestnet.js'
303305export { neonDevnet } from './definitions/neonDevnet.js'
304306export { neonMainnet } from './definitions/neonMainnet.js'
305307export { neoxMainnet } from './definitions/neoxMainnet.js'
You can’t perform that action at this time.
0 commit comments