Cover photo

Gnostic Observer (windows build)

Overview

Create Predictive AI Agents on Gnosis Chain using Windows

https://twitter.com/koeppelmann/status/1691429114224263169?s=20

https://hackathon.olas.network/

Implementation

System: Windows

Visual Studio Code

https://code.visualstudio.com/

Git Desktop

  • install git desktop

https://git-scm.com/download/win

  • enable bash

https://stackoverflow.com/questions/42606837/how-do-i-use-bash-on-windows-from-the-visual-studio-code-integrated-terminal

Python == 3.10

https://marketplace.visualstudio.com/items?itemName=ms-python.python

Poetry >=1.4.0

https://python-poetry.org/docs/

  • Install Poetry using curl in the Visual Studio Bash terminal

    curl -sSL https://install.python-poetry.org | python -
    
  • Update System Environment Variables to contain Poetry Path

    1. Open “Edit System Environment Variables” from the Control Panel

    2. Click “Environment Variables” on the Advanced tab

    3. Select the Path System Variable and Click “Edit”

    4. Clink “New” and Add

      %APPDATA%\pypoetry

post image

Docker

Repositories

Source Repo (trader-quickstart)

https://github.com/valory-xyz/trader-quickstart

Forked Repo (gnostic-observer)

owlwilderness/gnostic-observer

https://github.com/OwlWilderness/gnostic-observer

Script Execution

Using the bash terminal run the ./run_service.sh and follow the prompts. Note the rpc needs the https.

  • trial and error and reruns and rituals needed (maybe some deleting of folders (until the address are created)

  • Replace “python3” with “python” in the run_service.sh

  • pip install --upgrade pip --user

  • needed to re-run a few times until the trader folder was created - there were errors

  • comment line 68-74 of %APPDATA%\pypoetry\Cache\virtualenvs\trader-VOVbp0DY-py3.10\Lib\site-packages\autonomy\cli\helpers\deployment.py

  • remove sudo from line 63 of the run_service.sh script (in the trader folder after run the first time)

Dock

Subscribe

Results

Docker

post image

Safe Wallet

https://gnosisscan.io/address/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490

Predictions

https://predictions.oaksprout.repl.co/agents/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490