EtherEngine is a smart contract that interacts with the LilypadEventsUpgradeable contract. It allows users to run jobs on the Ethereum network. This project is currently set up to work with the Calibration Testnet.
- Clone the repository:
git clone https://github.com/yourusername/ether-engine.git
- Install dependencies:
npm install
- Compile the contract:
npx hardhat compile
To deploy the EtherEngine contract, you need to provide the address of the already deployed LilypadEventsUpgradeable contract. For the Calibration Testnet, we are using the following proxy address: 0xdC7612fa94F098F1d7BB40E0f4F4db8fF0bC8820
.
You can deploy the contract using the provided script:
npx hardhat run scripts/deploy.js
You can test the contract using the provided test script:
npx hardhat test
After deploying the contract, you can interact with it using the EtherEngine interface. You can run jobs by calling the runJob
function and providing the job specification as a string.