Components

The toolkit is made up of 6 different components but the only one you need to interact with is Block3r.

  • Block3r - A wrapper component containing a WagmiConfig, RainbowKitProvider, QueryClientProvider, and Block3rContent component.

  • Block3rContent - A simple component that controls whether the page displays the Block3d component or the actual page content depending on the return data from useBlock3r.

  • Block3d - The component that will be displayed to users who are unable to view the actual page.

  • Block3dTable - A next-ui table containing a list of rules the user is not meeting the criteria for.

  • Block3rConnectButton - A custom RainbowKit connect button (Contains QRCodeModal).

  • QRCodeModal - A simple modal displaying the currently signed-in user's address in the form of a QR code.

Last updated