forked from wevm/viem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Glide L1 Protocol XP & Glide L2 Protocol XP (wevm#2941)
- Loading branch information
1 parent
4504a9e
commit ab2332d
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Glide Protocol. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const glideL1Protocol = /*#__PURE__*/ defineChain({ | ||
id: 251, | ||
name: 'Glide L1 Protocol XP', | ||
nativeCurrency: { name: 'GLXP', symbol: 'GLXP', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-api.glideprotocol.xyz/l1-rpc'], | ||
webSocket: ['wss://rpc-api.glideprotocol.xyz/l1-rpc'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Glide Protocol Explore', | ||
url: 'https://blockchain-explorer.glideprotocol.xyz', | ||
}, | ||
}, | ||
testnet: false, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const glideL2Protocol = /*#__PURE__*/ defineChain({ | ||
id: 253, | ||
name: 'Glide L2 Protocol XP', | ||
nativeCurrency: { name: 'GLXP', symbol: 'GLXP', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-api.glideprotocol.xyz/l2-rpc'], | ||
webSocket: ['wss://rpc-api.glideprotocol.xyz/l2-rpc'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Glide Protocol Explore', | ||
url: 'https://blockchain-explorer.glideprotocol.xyz', | ||
}, | ||
}, | ||
testnet: false, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters