Skip to content

Commit

Permalink
create viem custom chain definition for zkCandy
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleendaly committed Oct 2, 2024
1 parent 1a45e5a commit cf5495d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions plugin/src/utils/custom_chains.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { defineChain } from 'viem'

export const zkCandySepoliaTestnet = defineChain({
id: 302,
name: 'zkCandy Sepolia Testnet',
nativeCurrency: {
decimals: 18,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: ['https://sepolia.rpc.zkcandy.io/'],
},
public: {
http: ['https://sepolia.rpc.zkcandy.io/'],
}
},
blockExplorers: {
default: { name: 'Explorer', url: 'https://sepolia.explorer.zkcandy.io/' },
},
network: ''
})

0 comments on commit cf5495d

Please sign in to comment.