A Mastodon bot that creates U.CASH Pay checkout links. Mention the bot with /pay <amount> [currency] [title] and it replies with a hosted pay link (crypto + cards). Non-custodial.
- Create a Mastodon app on your instance, grant it an access token.
pip install -r requirements.txtexport MASTODON_BASE_URL=https://your.instance MASTODON_ACCESS_TOKEN=... UCASH_CLOUD_TOKEN=...python bot.py
- Sign up at pay.u.cash, click the verification email link.
- Set receive addresses under Settings -> Addresses (raw, ENS, UD, or FIO).
- Create a store under Account -> Stores, copy its Store Cloud Token.
- For cards, connect your own Stripe under Settings -> Payment processors.
License: MIT.