/autonomous-fund

The autonomous fund autonomously changes the allocations of Managed Pools according to a rich set of pre-defined conditions.

Primary LanguagePythonApache License 2.0Apache-2.0

autonomous-fund

Checkout the spec of the autonomous-fund, and the grant announcement by Balancer.

Developing

  • Clone the repository:

    git clone git@github.com:valory-xyz/autonomous-fund.git
    
  • System requirements:

  • Pull pre-built images:

    docker pull valory/autonolas-registries:latest
    docker pull valory/safe-contract-net:latest
    docker pull valory/autonomous-fund-contracts:latest
    
  • Create development environment:

    make new_env && pipenv shell
    
  • Configure command line:

    autonomy init --reset --author balancer --remote --ipfs --ipfs-node "/dns/registry.autonolas.tech/tcp/443/https"
    
  • Pull packages:

    autonomy packages sync --update-packages
    
  • During development use make formatters, make code-checks and make generators

  • After building your development environment and pulling the packages, you can conduct an end-to-end test with a local network and 4 agents by running

    pytest packages/balancer/agents/autonomous_fund/tests/test_agents/test_autonomous_fund.py::TestAutonomousFundFourAgents