BitskiProvider
as high in your app’s Component hierarchy as possible. All of the following components must be children of BitskiProvider
.
BitskiWidget
A plug-and-play widget—no need to handle connection state. When not connected, tapping will open theBitskiAuth
component. When a connection is established, tapping will reveal the BitskiWalletViewer
.
Prefer to use this over coordinating BitskiAuth
and BitskiWalletViewer
yourself.
BitskiAuth
Shows a menu with all theLoginMethod
s and Chain
s that you’ve configured. This component is not currently configurable outside of those two options.
BitskiWalletViewer
A view of the connected Account—including Tokens and Activity based on the address / chain. You can toggle Tokens/Activity via thetabs
property in BitskiProvider
.