Files
BTCPay_Greed_NEW/README.md
BitMaster Admin a6ef11295c Update README.md
2023-12-08 12:10:06 +00:00

1.8 KiB

Greed

A customizable, multilanguage Telegram shop bot with Telegram Payments support!

Documentation | Support

Installation

before start make sure you installed git, python3 and python3-pip packages

1- clone the repository:

git clone https://github.com/firildax/BTCPay_Greed

2- go to BTCPay_Greed folder and install python required packages from 'requirements.txt':

cd BTCPay_Greed
python3 -m pip install -r requirements.txt

3- create copy from template_config.toml and name it config.toml and configure it:

cd config
cp template_config.toml config.toml

4- open 'config.toml' with your favorite editor and fill these rows depend on your btcpayserver's data and telegram bot token:

* line 17 : choose your lang (default_language = "en")
* line 34 : put your bot_token (token = "3345476541:Xcsd3dfgajdluduuuudifdmsYkdnsydfs+dfg")
* line 74 : to disabling credit cart payment put "" (credit_card_token = "")
* line 108 : btcpaysever url (url = 'btcpayserver.example.com')
* line 110 : btcpayserver user token (token = "55323428082308423hhd08s0d8s8s0d8gs0d8gs08df0s8d0sd0602")
    ## needs these two permission on btcpayserver:
        * btcpay.store.canviewinvoices
        * btcpay.store.cancreateinvoice
* line 112 : btcpayserver storeId (storeId = 'FMXa7ateurSASFAFaoasad90sdgoaugsoagubo1832830808380235')

and save it.

5- go back to repo's main directory and run 'core.py':

cd ..
python3 core.py