A discord webhook embed notifier for collection nft sales in the atomicmarket
smartcontract.
- Change the default collection name in the
ATOMICHUB_COLLECTION
// replace with your own collection
export const ATOMICHUB_COLLECTION = "cryptopuppie";
- Setup environment variable
WEBHOOK=your-discord-channel-webhook-url
- Install dependencies and run the dev app
pnpm start
This app uses pm2
(https://pm2.io/) to manage the app in production
- Deploy the app in your server, install the dependencies and run the following command:
pnpm prod:start
@tbdsux | 2023