Skip to content

0xflair/contracts-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flair SDK Examples

This repository contains example usage of Flair SDK in various frameworks and languages.

What is Flair?

Flair provides open-source building blocks to integrate NFTs and Web3 in your project, fully trustless and in your ownership.

with Flair you don't re-invent the wheel.

Examples

React

Name Use Cases
simple‑wallet‑integration Connect button with popular connectors and customizable styling (in ReactJS). Uses wagmi.sh with already configured connectors and wallet-related components.
custom‑tiered‑sales Custom style for your ERC20 or ERC1155 token sales in your own website.
erc721‑custom‑tiered‑sales Custom style for ERC721 token sales with supply counter component and multiple tiers selector.
erc721‑show‑nfts‑with‑sign‑in Allow the user to sign with their wallet and show their NFTs, and send a request to backend with their signature.

Express

Name Use Cases
mint‑erc721‑with‑metadata Mint ERC721 NFTs with metadata from your backend, e.g. NFTs after an in-game action directly to user wallet.

Solidity

Name Use Cases
custom‑sales‑logic Create your own custom sales logic and take advantage of ready-made Flair's Tiered Sales mechanism.
erc1155‑conditional‑mint Create an ERC1155 extension for custom minting logic.

Questions?

Feel free to hop of Flair's Discord, our developers are happy to help you: https://discord.gg/flair