@zootools/waitlist-js
v0.2.1
Published
Viral whitelists / waitlists for nfts and web3 projects
Downloads
1,332
Maintainers
Readme
🐼 @zootools/waitlist-js - Viral whitelists and viral waiting lists for crypto and NFT projects
Add a whitelist to your website (via browser)
- Create a new account at: https://waitlistpanda.com/
- Create a new whitelist https://www.waitlistpanda.com/lists
- Click "form builder" in the top menu.
- Click "Embed form".
- Paste the scripts:
<a href="https://form.waitlistpanda.com/go/<YourListId>" data-waitlist-id="<YourListId>" style="color:#fff;background-color:#024453;border-radius:31px;">Receive updates</a>
<script async src="https://cdnjs.waitlistpanda.com/embed/web/index.min.js" charset="utf-8" defer></script>
Add a whitelist to your website (via npm package)
- Create a new account at: https://waitlistpanda.com/
- Create a new whitelist https://www.waitlistpanda.com/lists
- Copy the list id (it's part of the url), example: https://www.waitlistpanda.com/lists/234234234234
- Install this package
npm install --save @zootools/waitlist-js
- Import the library
import waitlistPanda from "@zootools/waitlist-js";
- Init the library
waitlistPanda.init();
If you are using React, you should prob initialize once the website is fully loaded in the client:
import waitlistPanda from "@zootools/waitlist-js";
import {useEffect} from 'react'
useEffect(() => {
waitlistPanda.init();
}, []);