useDApp
useDApp copied to clipboard
Not found the chainId for Flare network
Describe the bug I am trying to build a dApp on Flare network, but I can't find the chainId. How can I solve the issue?
The flare network was added recently and is not released yet. You can use the dev version (pnpm add @usedapp/core@dev) to access it like this:
import { Flare } from '@usedapp/core'
console.log(Flare.chainId) // 14