Skip to content

Commit

Permalink
feat: add WorldLand Mainnet (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Nov 25, 2024
1 parent e135e9f commit a39c279
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/smart-ravens-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added WorldLand Mainnet.
23 changes: 23 additions & 0 deletions src/chains/definitions/worldLand.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const worldLand = /*#__PURE__*/ defineChain({
id: 103,
name: 'WorldLand Mainnet',
nativeCurrency: {
decimals: 18,
name: 'WLC',
symbol: 'WLC',
},
rpcUrls: {
default: {
http: ['https://seoul.worldland.foundation'],
},
},
blockExplorers: {
default: {
name: 'WorldLand Scan',
url: 'https://scan.worldland.foundation',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ export { wemix } from './definitions/wemix.js'
export { wemixTestnet } from './definitions/wemixTestnet.js'
export { worldchain } from './definitions/worldchain.js'
export { worldchainSepolia } from './definitions/worldchainSepolia.js'
export { worldLand } from './definitions/worldLand.js'
export { xai } from './definitions/xai.js'
export { xaiTestnet } from './definitions/xaiTestnet.js'
export { xdc } from './definitions/xdc.js'
Expand Down

0 comments on commit a39c279

Please sign in to comment.