Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mastodon-ucashpay

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.

Setup

  1. Create a Mastodon app on your instance, grant it an access token.
  2. pip install -r requirements.txt
  3. export MASTODON_BASE_URL=https://your.instance MASTODON_ACCESS_TOKEN=... UCASH_CLOUD_TOKEN=...
  4. python bot.py

Set up your pay.u.cash account

  1. Sign up at pay.u.cash, click the verification email link.
  2. Set receive addresses under Settings -> Addresses (raw, ENS, UD, or FIO).
  3. Create a store under Account -> Stores, copy its Store Cloud Token.
  4. For cards, connect your own Stripe under Settings -> Payment processors.

License: MIT.

Releases

Packages

Contributors

Languages