Getting Started
Last updated
Last updated
Sign up:
Copy your application ID
Install SDK library
Configure SDK with project ID
ConnectButton is an entry point for the widget.
Log in to your application and verify that you see logged in user in the dashboard
Since AsteroidKit simplifies the configuration of the widget, most of the code related to Wagmi can be removed and the following simple change would be needed to be updated:
Headers
Usage
Please note, that AsteroidKitProvider follows RainbowKit interface and all the props can be passed to AsteroidKitProvider as they used to be with RainbowKitProvider.
To continue using your already defined Wagmi configuration, you must wrap it around AsteroidKitProvider. Note that in this case local config will be used instead of the one defined in the dashboard:
Note, that {client} in the code is an existing WagmiConfig object.
For more details and troubleshooting please refer to SDK section.
The kit is built on top and . The kit is fully compatible with those libraries, to migrate from RainbowKit, the only change is needed to wrap it with AsteroidKitProvider.
The complete code and .