Deploy Example AVS
Deploy your AVS contracts on Ethereum Holesky and Base Sepolia testnets, using Simple Price Oracle AVS Example.
For other language quickstart implementations, refer to:
Prerequisites
Othentic CLI installed - see previous step
Deploy AVS
Run the following command to deploy AVS contracts:
othentic-cli network deploy \
--l1-chain holesky \
--l2-chain base-sepolia \
--rewards-token eth \
--l1-initial-deposit 10000000000000000 \
--l2-initial-deposit 10000000000000000 \
--name test-avs-name
When prompted, enter the private key of the deployer account.
The CLI will initiate the AVS contract deployment process. After finishing, it will print out the deployment addresses on both networks.
Please Note:
You can deploy on any supported network and on multiple networks simultaneously.
Make sure the Deployer account has at least 0.3 holETH.
Troubleshooting Errors
If you get an error:
✖ Simulation of deployment failed ✖ Deployment failed: err: insufficient funds for gas * price + value: [...]
It is likely due to spiking gas prices on testnet.
Try getting more funds from a faucet or use a different testnet - holesky
and sepolia
are supported.
Next, prepare three internal operator accounts for your AVS by running a simple setup script.
Last updated