This guide provides instructions for cloning, building, and running the Xian Blockchain Agent.
Start by cloning the repository:
git clone https://github.com/xian-network/xian-blockchain-agent.git
For development purposes, you may set up the environment manually:
-
Install Python 3.11.
-
Install the project dependencies:
cd xian_blockchain_agent pip3.11 install -e .
-
Create .env file add the following content:
OPENAI_API_KEY = "<your_openai_api_key>" NODE = "https://node.xian.org"
-
Run the service:
python3.11 service.py