Open source notification web service. It is used by Ledger Fresh, our open source web wallet based on the account abstraction.
Wanna chat with us? Join our Discord channel
Install the dependencies using pnpm
pnpm install
Install the pre-push hook
npx lefhook install
First, you will need to install and start the mongodb service using this command :
sudo service mongod start
You can test it locally using :
pnpm start
It will start an Express server locally on the port defined in the .env file. You can then chose either to create a user using the /updateNotificationPreferences
routes with it's assigned payload :
{
"walletAddress": "",
"values": {
"telegrams": ["", "", ""],
"emails": ["", "", ""]
},
"timestamp": ,
"signature": "",
"publicKey": ""
}
or to send a notification to an existing user using the /sendNotification
routes with it's assigned payload :
{
"to": "",
"message": ""
}