Adapter contracts are required to bring Allora network prices to a chain. Follow the instructions below to deploy the Adapter to a new EVM chain.
- Git pull the the Allora Adapter repository.
If forge is not already installed, follow these directions to install
The deploy script can be found under
ADMIN address with the desired admin for the new adapter.
.env file in the root of the project with the following structure:
deploymentName=<chain name string>
chainId=<chain id unt>
privateKey=<private key hex without '0x'>
etherscanApiKey=<etherscan api key string>
You should see output indicating that each of three contracts are being deployed, and then verified on etherscan. Deployed addresses will be saved in
/deploy/deployments/<deploymentName>.json. If a given contract is already deployed with that deployment name, it will be skipped. Delete the deployment record
/deploy/deployments/<deploymentName>.json to deploy new contracts.
Updated 9 days ago