https://github.com/thirdweb-example/unlock-subscribe
Build a simple on-chain subscription model into your app using the Lock contract by Unlock
https://github.com/thirdweb-example/unlock-subscribe
Last synced: 4 months ago
JSON representation
Build a simple on-chain subscription model into your app using the Lock contract by Unlock
- Host: GitHub
- URL: https://github.com/thirdweb-example/unlock-subscribe
- Owner: thirdweb-example
- License: apache-2.0
- Created: 2022-12-01T17:35:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-05T18:22:01.000Z (almost 3 years ago)
- Last Synced: 2025-05-14T12:38:40.394Z (9 months ago)
- Language: CSS
- Homepage: https://unlock-subscribe.thirdweb-example.com/
- Size: 147 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Getting Started
Create a project using this example:
```bash
npx thirdweb create --template next-typescript-starter
```
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
On `pages/_app.tsx`, you'll find our `ThirdwebProvider` wrapping your app, this is necessary for our [hooks](https://portal.thirdweb.com/react) and
[UI Components](https://portal.thirdweb.com/ui-components) to work.
### Deploy to IPFS
Deploy a copy of your application to IPFS using the following command:
```bash
yarn deploy
```
## Learn More
To learn more about thirdweb and Next.js, take a look at the following resources:
- [thirdweb React Documentation](https://docs.thirdweb.com/react) - learn about our React SDK.
- [thirdweb TypeScript Documentation](https://docs.thirdweb.com/typescript) - learn about our JavaScript/TypeScript SDK.
- [thirdweb Portal](https://docs.thirdweb.com) - check our guides and development resources.
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
You can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!
## Join our Discord!
For any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).