Skip to content

UdotCASH/telegram-ucashpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-ucashpay

A Telegram bot that creates U.CASH Pay checkout links (crypto + cards). Non-custodial: the link opens the hosted checkout and funds settle to addresses you control.

Usage

/pay <amount> [currency] [title]

Examples: /pay 10, /pay 5 USD Tip, /pay 25 EUR Pro plan.

Set up

  1. Create a bot with @BotFather and copy the token.
  2. Run:
npm install
BOT_TOKEN=your_telegram_bot_token \
UCASH_CLOUD_TOKEN=st_your_store_cloud_token \
npm start

Set up your pay.u.cash account

  1. Sign up at pay.u.cash with email + password, then click the verification link in the email.
  2. Set your receive addresses under Settings → Addresses (a wallet per coin, or ENS/Unstoppable/FIO names). Crypto settles here.
  3. Create a store at Account → Stores → + Add Store.
  4. Copy the Store Cloud Token into UCASH_CLOUD_TOKEN. Use the store-level token, not the account-wide one.

License

MIT.

About

Telegram bot that creates U.CASH Pay checkout links (crypto + cards). Non-custodial.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages