Catalog npm
Back to packageRELEASE DETAILS

0.48.5

npm

@0xflair/react-nft-collections

Ready-made React components and hooks for working with ERC721 and ERC1155 NFTs in a web3 dApp. This SDK also supports interacting with Flair smart contracts and extensions.

Published26 May 2022
Direct dependencies10
Transitive dependenciesNot calculated

README

Current package documentation

Flair SDK: react-nft-collections

Ready-made React components and hooks for working with ERC721 and ERC1155 NFTs in a web3 dApp. This SDK also supports interacting with Flair smart contracts and extensions.

Getting Started

Installation

  1. Install the package:

    npm install @0xflair/react-nft-collections
    
  2. Install peer dependencies if not installed yet:

    npm install ethers wagmi
    
    # and if using visual components:
    npm install tailwindcss @headlessui/react @heroicons/react @tailwindcss/aspect-ratio
    
  3. Configure tailwind.config.js (Tailwind v3) to scan SDK for classes:

    module.exports = {
      purge: [
        "./public/**/*.html",
        "./src/**/*.{js,jsx,ts,tsx,vue}",
    
        // This line tells Tailwind to look into SDK files
        "./node_modules/@0xflair/**/*.{js,jsx,ts,tsx,vue}",
      ],
      content: ["./src/**/*.{js,jsx,ts,tsx}"],
      plugins: [
        // These plugsins are used in this package
        require("@tailwindcss/forms"),
        require("@tailwindcss/aspect-ratio"),
      ],
    };
    

Documentation

Visit docs.flair.finance/sdk/nft-collections for the full SDK documentation.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 18

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xflair/contracts-registry
Environment
{
  "local_name": "@0xflair/contracts-registry",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
@0xflair/react-address-lists
Environment
{
  "local_name": "@0xflair/react-address-lists",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
@0xflair/react-ipfs
Environment
{
  "local_name": "@0xflair/react-ipfs",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
@0xflair/react-openzeppelin
Environment
{
  "local_name": "@0xflair/react-openzeppelin",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
@0xflair/react-wallet
Environment
{
  "local_name": "@0xflair/react-wallet",
  "alias": false,
  "peer_metadata": null
}
^0.48.5development
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.6.5development
wagmi
Environment
{
  "local_name": "wagmi",
  "alias": false,
  "peer_metadata": null
}
^0.3.5development
@0xflair/contracts-registry
Environment
{
  "local_name": "@0xflair/contracts-registry",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@0xflair/react-address-lists
Environment
{
  "local_name": "@0xflair/react-address-lists",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@0xflair/react-ipfs
Environment
{
  "local_name": "@0xflair/react-ipfs",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@0xflair/react-openzeppelin
Environment
{
  "local_name": "@0xflair/react-openzeppelin",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@0xflair/react-wallet
Environment
{
  "local_name": "@0xflair/react-wallet",
  "alias": false,
  "peer_metadata": null
}
0.*peer
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.6.5peer
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^17.0.2peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^17.0.2peer
wagmi
Environment
{
  "local_name": "wagmi",
  "alias": false,
  "peer_metadata": null
}
^0.3.5peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-S0q3x62PII+z8yU3kH/t1LsDjyl00gaY8eybyDchZcrSI5nc2gov6TTqflean0PeoSEAEUj4A0SQLM0a+1nL4g==",
  "shasum": "fa6980a005153237d0625d01631f2715fe0343fa",
  "tarball": "https://registry.npmjs.org/@0xflair/react-nft-collections/-/react-nft-collections-0.48.5.tgz",
  "fileCount": 8,
  "unpackedSize": 930178,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCMnrN4JTL7rRWyjTZDVCQpqVaH21YWhCXPfuBHp5F8gQIhAIyJFUVx65wqYbsWESm/XBS1887Gkc6OPAY9y2e1ssRF"
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJij974ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq65A//Tu95JUg2FLr3s0QHx8Aj4y0sV5Bd+uia0j+QrYF+vwF5a2Wg\r\nMiIFW4bcGJch8EuuT5KnRCrzvkK8Z+dRrX1O1QQHztIHb4K3VGqLi5fuEM84\r\nY5Q78B32ER5rQRzkyWbxRL5zRjImKeWaT2Roi0OK6IJYWXTPyR19tbGMg5Rb\r\nH2G8MW1Ha5KdUG69elBOPpWH5NjWWRje2x3XSYyo62qCmBM+eCXYH20MK2Qc\r\nzbil40e01EE8H6UBw9X6iqcBVvk/bchxac6GY3gHZnd1RjohuL6DloILw04K\r\nwNF+OICYQ+Xx9hz++T8So0oKK470MzMFdRc5EUbAowWddN7PJ5AXXnvhZXyg\r\ni99c39gyBfcy5H29Dgm3bOsu8y3XZ+oJOozy5uOQ5hH2BfKt+S7mp4vN9Xn1\r\nJ6XrW27MfB0Pstib231MtudoG3xw2B5dDyxLgMrsmyMkCcVL6BCfBzNtV6Ve\r\nLg5CYkhmACg4Lk5NxkS7eoKhNtk+N34e2rP4O5r2unvAzPJUdkulr/XVgn3h\r\nFQ65g2YO2FNzbZuQlcRQgm3tVTfM/DKDVWlTPLnRJK2bDREN5DR0Xnpefg10\r\naaQWVXDsn8JIY6HwbhTQUx9YnhjFoy5cMiE+9um+26bRH+NLDwDHeqUUyLZS\r\nRDwzx9ReWDwhm/RINSa4U9DkHfy3AhegjxM=\r\n=CoSJ\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xflair/typescript-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:27 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:6901f1716facbf0d90b9792af0ffe0509e71ecc4ffad5d06830d5fab1cd75e70

Other collected versions

0.123.227 Nov0.123.112 Nov0.123.08 Nov0.122.228 Oct0.122.128 Oct0.122.028 OctView all collected versions →