gnosis / prediction-market-agent

GNU Lesser General Public License v3.0
22 stars 4 forks source link

Create Python functions from smart contract functions on-chain #169

Closed gabrielfior closed 1 month ago

gabrielfior commented 3 months ago

Idea is to generate Python functions from Solidity functions in verified smart contracts.

-> Agent is pointed towards a smart contract, e.g. "Here is the smart contract of a DEX. The source code is here (address) - go take a look and understand what it is doing, maybe you can profit from it." -> Agent can call this tool to generate a tool, which can then be used in the future for interacting with the smart contract.

kongzii commented 3 months ago

https://github.com/OpenDevin/OpenDevin could be useful here

evangriffiths commented 3 months ago

Gabriel says you can go from abi -> typescript already with https://viem.sh/