SDK

Overview

AsteroidKit is a react library, that bundles together RainbowKit and uses Wagmi for non-custodial wallets with an additional set of features.

SDK Code:

Installation

Please refer to Getting Started

Demo app

To test how the app works for the user, please try our demo app, which has a small customization widget:

Demo application

Sample App

Here's a simple way to bootstrap an example app:

npx create-asteroidkit-app@latest

This command would bootstrap the following Github with a sample app:

Capture the Flag

To test how the kit works in an actual application, please check out our capture-the-flag implementation.

Docs

AsteroidKit is built with Wagmi and RainbowKit, and all the functionality of those libraries are available, please follow their guide on how to use those libraries:

Wagmi docs

RainbowKit docs

Webpack 5 Polyfills

For Webpack 5 who experience issues with polyfills, please refer to the following guide:

How to install Polyfills with Webpack 5

FAQ

  • Can I still use Wagmi and RainbowKit?

Absolutely! The developer has complete control over underlying libraries.

  • Can I still do customization from the source code?

Yes, all customizations are available and will take priority over customization done in the dashboard.

  • How to add a new network?

Please use our dashboard OR refer to Wagmi documentation to add it to the code.

  • How to set custom RPC provider?

RPC nodes are available by default in AsteroidKit or follow Wagmi docs to update the corresponding RPC node provider.

  • Are you supporting only EVM chains?

Yes

Last updated