Skip to content

Index

Context and hooks for Filecoin wallets.

InterfaceDescription
WalletAdapterWallet adapter interface
Type AliasDescription
Chain-
VariableDescription
mainnetFilecoin EVM Mainnet chain
testnetFilecoin EVM Calibration testnet chain
FunctionDescription
FilecoinProvider-
useAccountHook to access the current account and its state
useAdapterHook to access the current wallet adapter and its state
useAddressesResolve addresses from the network TODO: use cache
useAppKitAdapterHook to sync the adapter to the context for AppKit
useBalance-
useChangeNetwork-
useConnectHook to connect a wallet adapter
useDeriveAccount-
useDisconnect-
useEstimateGasEstimate the gas for a message
useFilecoinProvider-
useSendMessage-
useSignHook to sign a message

Re-exports ConnectionState