An Olas service that tracks on-chain events on the Olas ecosystem and autonomously reports on it on Twitter and Farcaster.
- Python
>=3.8
- Tendermint
==0.34.19
- IPFS node
==0.6.0
- Pip
- Poetry
- Docker Engine
- Docker Compose
Alternatively, you can fetch this docker image with the relevant requirements satisfied:
NOTE: Tendermint and IPFS dependencies are missing from the image at the moment.
docker pull valory/open-autonomy-user:latest
docker container run -it valory/open-autonomy-user:latest
-
Clone this repo:
git clone [email protected]:dvilelaf/tsunami.git
-
Create the virtual environment:
poetry shell && poetry install
-
Sync packages:
autonomy packages sync --update-packages
-
Modify
packages/dvilela/agents/tsunami/aea-config.yaml
and set the correct values for at leastfarcaster_mnemonic
,twitter_credentials
,ethereum_ledger_rpc
andgnosis_ledger_rpc
. -
Run the script:
bash run_agent.sh
-
In other terminal, run a tendermint node. From the repo's root:
make tm
-
Make a copy of the env file:
cp sample.env .env
-
Fill in the required environment variables in .env.
-
Run the script:
bash run_service.sh