{"id":20974281,"url":"https://github.com/thirdweb-example/signature-drop","last_synced_at":"2025-05-14T12:31:28.266Z","repository":{"id":53210083,"uuid":"514080243","full_name":"thirdweb-example/signature-drop","owner":"thirdweb-example","description":"Use the signature drop pre-built contract to claim NFTs under a claim phase as well as claim using signature-based minting!","archived":true,"fork":false,"pushed_at":"2023-09-14T17:38:17.000Z","size":318,"stargazers_count":20,"open_issues_count":0,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:15:19.576Z","etag":null,"topics":["signature-drop"],"latest_commit_sha":null,"homepage":"http://signature-drop.thirdweb-example.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thirdweb-example.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-14T23:58:52.000Z","updated_at":"2024-08-02T21:24:35.000Z","dependencies_parsed_at":"2024-11-19T04:43:02.780Z","dependency_job_id":null,"html_url":"https://github.com/thirdweb-example/signature-drop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsignature-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsignature-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsignature-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fsignature-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirdweb-example","download_url":"https://codeload.github.com/thirdweb-example/signature-drop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142306,"owners_count":22021501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["signature-drop"],"created_at":"2024-11-19T04:27:42.116Z","updated_at":"2025-05-14T12:31:27.977Z","avatar_url":"https://github.com/thirdweb-example.png","language":"TypeScript","readme":"# Signature Drop\n\nThis example shows how you can use the [Signature Drop Pre-Built Contract](https://portal.thirdweb.com/pre-built-contracts/signature-drop) to\nutilize both the [claim](https://portal.thirdweb.com/pre-built-contracts/signature-drop#minting--claiming-nfts) function to claim NFTs under the criteria\nof a claim condition, as well as the [Signature-based minting](https://portal.thirdweb.com/advanced-features/on-demand-minting) feature to\noffer free NFT mints to specific users simultaneously.\n\n![demo](demo.png)\n\nWe allow users who hold one of our [Early Access NFTs](https://opensea.io/collection/thirdweb-community) to mint the NFT for free, by generating a mint signature from the admin wallet on the server-side. Whereas users who _don't_ hold one of the NFTs do not qualify for the mint signature, but can still mint an NFT from the drop using the regular claim.\n\n## Installation\n\nInstall the template with [thirdweb create](https://portal.thirdweb.com/cli/create)\n\n```bash\nnpx thirdweb create --template signature-drop\n```\n\n## Set up\n\n- Create your own [Signature Drop](https://thirdweb.com/thirdweb.eth/SignatureDrop) and[Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155) via the [thirdweb dashboard](https://thirdweb.com/dashboard).\n\n- Add your contract addresses to the [`consts.ts`](/consts.ts) file.\n\n### Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file:\n\n```bash\nNEXT_PUBLIC_TEMPLATE_CLIENT_ID=\nTW_SECRET_KEY=\nWALLET_PRIVATE_KEY=\n```\n\n- Generate your `TW_SECRET_KEY` and `NEXT_PUBLIC_TEMPLATE_CLIENT_ID` via thirdweb's [dashboard](https://thirdweb.com/create-api-key).\n- For `WALLET_PRIVATE_KEY` export your wallet private key from your wallet.\n\n### Run Locally\n\nInstall dependencies:\n\n```bash\nyarn\n```\n\nStart the server:\n\n```bash\nyarn start\n```\n\n## Additional Resources\n\n- [Documentation](https://portal.thirdweb.com)\n- [Templates](https://thirdweb.com/templates)\n- [Video Tutorials](https://youtube.com/thirdweb_)\n- [Blog](https://blog.thirdweb.com)\n\n## Contributing\n\nContributions and [feedback](https://feedback.thirdweb.com) are always welcome!\n\nPlease visit our [open source page](https://thirdweb.com/open-source) for more information.\n\n## Need help?\n\nFor help, join the [discord](https://discord.gg/thirdweb) or visit our [support page](https://support.thirdweb.com).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fsignature-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirdweb-example%2Fsignature-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fsignature-drop/lists"}