Index
Context and hooks for Filecoin wallets.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| WalletAdapter | Wallet adapter interface |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| Chain | - |
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| mainnet | Filecoin EVM Mainnet chain |
| testnet | Filecoin EVM Calibration testnet chain |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| FilecoinProvider | - |
| useAccount | Hook to access the current account and its state |
| useAdapter | Hook to access the current wallet adapter and its state |
| useAddresses | Resolve addresses from the network TODO: use cache |
| useAppKitAdapter | Hook to sync the adapter to the context for AppKit |
| useBalance | - |
| useChangeNetwork | - |
| useConnect | Hook to connect a wallet adapter |
| useDeriveAccount | - |
| useDisconnect | - |
| useEstimateGas | Estimate the gas for a message |
| useFilecoinProvider | - |
| useSendMessage | - |
| useSign | Hook to sign a message |
References
Section titled “References”ConnectionState
Section titled “ConnectionState”Re-exports ConnectionState