Skip to content

X7 Finance Telegram Bot for interacting with key data points surrounding the protocol

License

Notifications You must be signed in to change notification settings

x7finance/telegram-bot

Repository files navigation

X7 Banner Logo


X7 Finance
Trust No One. Trust Code. Long Live DeFi
X7 is a completely decentralized exchange - complete with it's innovative lending protocols.

About

This is a repo is maintained and deployed by the X7DAO.

Please feel free to contact the author of this repo directly with improvements


Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The project requires Python 3.8 and above. You can check your Python version with the following command:

python --version

The project also requires several Python packages. You can install them with the following command:

pip install -r requirements.txt

Installation

For Contributors (Fork First)

If you plan to contribute to the project, fork the repository first and then clone your fork:

git clone https://github.com/your-username/telegram-bot

For Maintainers (Direct Clone)

If you're an internal maintainer, you can clone the repository directly:

git clone https://github.com/x7finance/telegram-bot

Next, navigate to the project folder:

cd your-project-name

Then, set up a Python virtual environment to manage your project's dependencies. First, create the virtual environment:

python -m venv myenv

Next, activate the virtual environment:

  • For bash/zsh:
source myenv/bin/activate
  • For fish:
source myenv/bin/activate.fish
  • For Windows (PowerShell):
myenv\Scripts\Activate
  • For Windows (Command Prompt - cmd):
myenv\Scripts\activate.bat

After activating the virtual environment, install the project's dependencies:

pip install -r requirements.txt

Setting Up Environment Variables

Copy .env.example to .env

cp .env.example .env

Fill in the required values in .env

Running the Project

With the virtual environment activated and all dependencies installed, you can now run your project with:

python app/main.py

About

X7 Finance Telegram Bot for interacting with key data points surrounding the protocol

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages