Skip to content

Commit

Permalink
feat: add Lycan chain (#2336)
Browse files Browse the repository at this point in the history
* Added Lycan chain.

* Lycan chain details updated.

* Update lycan.ts

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
Lycan-Chain and jxom authored May 30, 2024
1 parent b6fd573 commit 7cb4094
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-snails-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Lycan chain.
37 changes: 37 additions & 0 deletions src/chains/definitions/lycan.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { defineChain } from "../../utils/chain/defineChain.js"

export const lycan = /*#__PURE__*/ defineChain({
id: 721,
name: "Lycan",
nativeCurrency: {
decimals: 18,
name: "Lycan",
symbol: "LYC",
},
rpcUrls: {
default: {
http: [
"https://rpc.lycanchain.com",
"https://us-east.lycanchain.com",
"https://us-west.lycanchain.com",
"https://eu-north.lycanchain.com",
"https://eu-west.lycanchain.com",
"https://asia-southeast.lycanchain.com",
],
webSocket: [
"wss://rpc.lycanchain.com",
"wss://us-east.lycanchain.com",
"wss://us-west.lycanchain.com",
"wss://eu-north.lycanchain.com",
"wss://eu-west.lycanchain.com",
"wss://asia-southeast.lycanchain.com",
],
},
},
blockExplorers: {
default: {
name: "Lycan Explorer",
url: "https://explorer.lycanchain.com",
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export { liskSepolia } from './definitions/liskSepolia.js'
export { localhost } from './definitions/localhost.js'
export { lukso } from './definitions/lukso.js'
export { luksoTestnet } from './definitions/luksoTestnet.js'
export { lycan } from './definitions/lycan.js'
export { mainnet } from './definitions/mainnet.js'
export { mandala } from './definitions/mandala.js'
export { manta } from './definitions/manta.js'
Expand Down

0 comments on commit 7cb4094

Please sign in to comment.