Welcome
Flair provides modular building blocks to integrate web3 into your application and business, with minimum friction.
Dashboard
Fastest way to get familiar with ready-made and customizable solutions is to explore the Flair Dashboard.
SDK
Based on level of abstraction you are comfortable with, you can use highest-level building blocks (Embeds, Widgets, etc.) down to fully customizing (React hooks, Smart contracts, etc.) to your needs. Everything is open-source and fully in your control.
Getting Started
- React (TypeScript)
- Install the dependency (uses ethers.js v5.x, and wagmi v0.6.x):
npm install @flair-sdk/react
- Wrap your app with the provider:
my-awesome-app/src/index.tsx
import { FlairProvider } from "@flair-sdk/react";
ReactDOM.render(
<FlairProvider>
<App />
</FlairProvider>
// ...
);
Next step?
Now that you have installed Flair SDK, and know what you can expect it is time to explore the SDK based on the use-case you're looking for: