Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nomoixyz/vulcan-ai-experiment

Experiment that uses AI to perform actions in Foundry scripts
https://github.com/nomoixyz/vulcan-ai-experiment

Last synced: about 1 month ago
JSON representation

Experiment that uses AI to perform actions in Foundry scripts

Awesome Lists containing this project

README

        

# Vulcan AI Experiment

The implementation could roughly look as follows:
1. When calling magic("Do something") (ignore the function names), this will use ffi to run a script that uses an AI to generate a Solidity smart contract, it will compile it and return its bytecode. Then, the function will also deploy the bytecode and perform a delegatecall to it so that everything is done in the context of the caller.
2. The contract generated by the AI needs to have a fallback function where everything happens (the delegatecall will use empty data). We can also have a template contract with a bunch of stuff that would be available to the generated contract, such as hevm opcodes, common interfaces, etc, and we would inform this to the model.