Wafer Connect
Stores
Exposes svelte stores that can keep track of values that change.
import { account, network } from "wafer-connect/stores";
Account
address
Address or undefinedThe address of the connected account
undefinedisConnected
BooleanReturns true if account isConnected
falseisConnecting
BooleanReturns true if account isConnecting
falseisDisconnected
BooleanReturns true if account isDisconnected
trueisReconnecting
BooleanReturns true if account isReconnecting
falsestatus
"connected" | "reconnecting" | "connecting" | "disconnected"Returns current status of the account
disconnectedNetwork
chain
Chain & unsupported?: boolean or undefinedCurrent connected chain
undefinedchains
Chain[]List of supported chains
[]