A Python script that monitors the Unisat Market for new listings and sales of a specified token and sends a Discord webhook for each event.
This script requires Python 3 and the following Python packages:
requests
argparse
You can install these packages using pip
. For example:
pip install requests argparse
python main.py --ticker <ticker> --discord_webhook <discord_webhook_url>
where <ticker>
is the BRC20 token symbol to monitor (e.g., mnch
) and <discord_webhook_url>
is the Discord webhook URL to send messages to.
Arguments:
options:
-h, --help show this help message and exit
--ticker TICKER the ticker of the token to monitor
--discord_webhook DISCORD_WEBHOOK
the Discord webhook URL to send notifications to
--event EVENT the type of event to send notifications for (sold, listed)
To monitor the mnch
token, only show sold events, and send messages to the Discord webhook at https://discord.com/api/webhooks/1234567890
, run:
python main.py --ticker mnch --discord_webhook https://discord.com/api/webhooks/1234567890 --event sold