isaiahbjork / Auto-GPT-Crypto-Plugin

The AutoGPT Crypto Plugin is a software tool that enables traders to connect their Crypto wallet or exchange to Auto-GPT.
https://github.com/isaiahbjork/Auto-GPT-Crypto-Plugin
MIT License
269 stars 46 forks source link
altcoins autogpt cryptocurrencies cryptocurrency cryptocurrency-exchanges defi eth ethereum gpt-3 gpt-4 trading web3

Auto-GPT Crypto Plugin πŸ“ˆ

⚠️ WARNING: NOT 100% COMPLETE

The AutoGPT Crypto Plugin is a software tool that enables traders to connect their Crypto wallet or exchange to Auto-GPT.

GitHub Repo stars

πŸ’– Help Support Auto-GPT Plugin's Development πŸ’–

If you can spare a coffee, you can help to cover the costs of developing Auto-GPT Plugins and help to push the boundaries of fully autonomous AI! Your support is greatly appreciated. Development of this free, open-source project is made possible by all the contributors and sponsors. If you'd like to sponsor this project and have your avatar or company logo appear below click here. Crypto Donations: 0x2457e8746EFa5894b70aE06a1b391474bc928B05

πŸ’‘ Key Features:

Blockchains

Follow these steps to configure the Auto-GPT Crypto Plugin:

1. Clone the Auto-GPT-Crypto-Plugin repository

Clone this repository and navigate to the Auto-GPT-Crypto-Plugin folder in your terminal:

git clone https://github.com/isaiahbjork/Auto-GPT-Crypto-Plugin.git

2. Install required dependencies

Execute the following command to install the necessary dependencies:

pip install -r requirements.txt

3. Package the plugin as a Zip file

Compress the Auto-GPT-Crypto-Plugin folder or download the repository as a zip file.

4. Install Auto-GPT

If you haven't already, clone the Auto-GPT repository, follow its installation instructions, and navigate to the Auto-GPT folder.

You might have to run this in the Auto-GPT file if you get an error saying "No Moudle Found".

pip install web3 eth-account eth-abi ccxt telethon uniswap-python

5. Copy the Zip file into the Auto-GPT Plugin folder

Transfer the zip file from step 3 into the plugins subfolder within the Auto-GPT repo.

6. Locate the .env.template file

Find the file named .env.template in the main /Auto-GPT folder.

7. Create and rename a copy of the file

Duplicate the .env.template file and rename the copy to .env inside the /Auto-GPT folder.

8. Edit the .env file

Open the .env file in a text editor. Note: Files starting with a dot might be hidden by your operating system.

9. Add Crypto configuration settings

Append the following configuration settings to the end of the file:

################################################################################
### CRYPTO
################################################################################
ETHERSCAN_API_KEY=
POLYSCAN_API_KEY=
ETH_WALLET_ADDRESS=
ETH_WALLET_PRIVATE_KEY=
LUNAR_CRUSH_API_KEY=
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
FCS_API_KEY=
CMC_API_KEY=
### Exchanges
EXCHANGES=
EXCHANGE_NAME_SECRET=
EXCHANGE_NAME_API_KEY=

Telegram Group Listener Setup

  1. Create a Telegram account.
  2. Go to https://my.telegram.org/auth.
  3. Login and create an application.
  4. Set TELEGRAM_API_ID to your Telegram App ID.
  5. Set TELEGRAM_API_HASH to your Telegram App Hash.
  6. Join this Telegram Group.
  7. You will be prompted to enter your phone number and code when you start up Auto-GPT. Make sure you enter your country code without the (+).
  8. You will get an error if you don't enter "n".
    WARNNG Plugin TelegramClient found. But not in the allowlist... Load? (y/n): n

    10. Allowlist Plugin

In your .env search for ALLOWLISTED_PLUGINS and add this Plugin:

################################################################################
### ALLOWLISTED PLUGINS
################################################################################
#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
ALLOWLISTED_PLUGINS=AutoGPTCryptoPlugin

11. Review Available Commands

You can review the available commands here.

πŸ§ͺ Test the Auto-GPT Crypto Plugin

Experience the plugin's capabilities by testing it for