https://github.com/picketapi/picket-example-cdn
https://github.com/picketapi/picket-example-cdn
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/picketapi/picket-example-cdn
- Owner: picketapi
- Created: 2022-07-20T18:01:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-25T16:12:59.000Z (over 3 years ago)
- Last Synced: 2025-06-02T17:19:23.574Z (about 1 year ago)
- Language: HTML
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**To run this example:**
1. Clone the repository
2. Place your publishable key where it says `YOUR_PUBLISHABLE_KEY_HERE` within the following files:
- public/js-cdn-example.html
- public/gated-content-simple.html
3. Run `node server.js`. (Note that we're using node just to make serving the static html files easy for you since browser wallets like Metamask don't allow requests from `file://` paths when you're running locally)
4. Go to `localhost:8080` on any browser. Enjoy :)