Catalog npm
Back to packageRELEASE DETAILS

0.100.2

npm

@0xflair/react-address-lists

Ready-made React components and hooks to create and manage a list of addresses (mintlist, allowlist, etc) and generate merkle root and proofs.

Published15 Aug 2022
Direct dependencies8
Transitive dependenciesNot calculated

README

Current package documentation

Flair SDK: react-address-lists

Ready-made React components and hooks to create and manage a list of addresses (mintlist, allowlist, etc) and generate merkle root and proofs.

Getting Started

Installation

  1. Install the package:

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

    # 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"),
      ],
    };
    

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 12

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xflair/common
Environment
{
  "local_name": "@0xflair/common",
  "alias": false,
  "peer_metadata": null
}
^0.100.2runtime
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
^0.100.2runtime
@0xflair/react-wallet
Environment
{
  "local_name": "@0xflair/react-wallet",
  "alias": false,
  "peer_metadata": null
}
^0.100.2runtime
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^0.26.1runtime
@types/react
Environment
{
  "local_name": "@types/react",
  "alias": false,
  "peer_metadata": null
}
^18.0.10development
@types/react-dom
Environment
{
  "local_name": "@types/react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.0.5development
@0xflair/common
Environment
{
  "local_name": "@0xflair/common",
  "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-wallet
Environment
{
  "local_name": "@0xflair/react-wallet",
  "alias": false,
  "peer_metadata": null
}
0.*peer
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^0.26.1peer
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^16 || ^17 || ^18peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^16 || ^17 || ^18peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-TZl40iD+1VL+pKvO1g9nB7B9HRJPvzqhYLmPB68Wkbz8kDiAy1uOovmnLqJ6be2hTUD84hUh1+plnSOu0m6xkQ==",
  "shasum": "59a2b77691a999b6600d331d13ab8d69c16d2c54",
  "tarball": "https://registry.npmjs.org/@0xflair/react-address-lists/-/react-address-lists-0.100.2.tgz",
  "fileCount": 8,
  "unpackedSize": 1181983,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCXHeR0e1IeVeBBG8tLyUqZVwmCTOJ8fi75rrKHySzRiQIgGAGWAx4QE1ynb3lIN+b0bu0GXWupGA6PG9Oli6Yvgv8="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+pgVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUkxAAk7dXpKI04s5EJ/qX8Mc+wA+AoIU1M69WWPwxE2dBA47hNjAG\r\n55itmUJeZNfv5B2SBumuIjN+5NDpLPxijcUHCAHRY58mMSGoc3gtaVNirjDy\r\nUxffuaFT7Y21t10fxxud2mZCedrZA2dQ22gBXXKhWWU2XQmsLqz/jorU0QfT\r\nBZ2dQDdu38WvdsP2dbfFqqxt4qkv3aXFOc9g18Y4YQsbldipNgnW98rdNkOE\r\nPkExeFBzf34OM3UcuD58ckjt/THjEIkvYMVyYdIz9EXU/wfuentc67mgKu0e\r\nqi0vpAeROd/NK6uZhBAf2AVzeUKze1+u3UDY6yhV9BFk5PxiMYXTFgHL5Wau\r\n6V5TJkdoDW0l70yjMC7lPu5WN7DI+b8J1F5izSVz4PIkkWjPinMil8EF05gz\r\nTD8ERnl4kIASuCfWOb+BMAEqhEJqdLTyQpqSLdnW4elK1JGwA9r5OIOSO6jn\r\ndpZL/PPDMdJRFrrSjQhrX2FP1w+RHquKbGVPu2YI8gLIFpkPPZSBS27ReQ8H\r\nGshEqbff/foqkJeprrQM/lvPzW0i/BVVNaosm6DJrOkWBvq/k/KdiRlMc7TM\r\nx+EpofCYHMQpMCsQ9KiR8wVek1Ay1gIHqWbXguZufilK5wdpXj6kx3P1SjlD\r\nFp4If3xPNDE1+N3WMzoXeOFA7GelJbiJ0Jc=\r\n=Nvmz\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:17 UTC

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

Record identity

package_version:0a129e064175e76ee63064861ca15b05fa3775b6c83c85522e5a8d567136d31d

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 →