1.0.1 • Published 2 years ago
farnotify-snap v1.0.1
FarNotify Snap
A MetaMask Snap for delivering Farcaster trending mints notifications hourly and display hourly trending casts on Farcaster directly on MetaMask.
Run Locally
Clone the project
git clone https://github.com/heynish/farnotify-snap.gitGo to the snap directory
cd snapInstall dependencies
yarn installStart the server
yarn startGo to the dapp directory
cd siteInstall dependencies
npm iStart the server
npm run devUsing the npm package
Make the following changes in the dapp
- Change all occurrences of
defaultSnapOriginfromlocal:http://localhost:8080tonpm:push-v1in the farnotify-site codebase
Permissions asked by the Snap
- Periodic actions (Cron job) : This include sending notifications every hour to the wallet
- Dialog Boxes : This includes Popups for showing notifications on screen, initial screen and snap home page.
- Internet Access : The snap has internet access and can make api calls using fetch()
1.0.1
2 years ago