farnotify-snap
v1.0.1
Published
Get hourly farcaster trending mints and casts on MetaMask.
Downloads
17
Readme
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.git
Go to the snap directory
cd snap
Install dependencies
yarn install
Start the server
yarn start
Go to the dapp directory
cd site
Install dependencies
npm i
Start the server
npm run dev
Using the npm package
Make the following changes in the dapp
- Change all occurrences of
defaultSnapOrigin
fromlocal:http://localhost:8080
tonpm:push-v1
in 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()