🚢How to Deploy
Deploying the Ajna Protocol on an EVM chain.
Last updated
Deploying the Ajna Protocol on an EVM chain.
Last updated
In this summary article, we cover the basics of deploying the Ajna Protocol on EVM chains of your choice. It's not as simple as pressing a couple of buttons and forgetting about it because there are considerations and requirements to be aware of.
All of this info could be found on github, in the Ajna-core Readme.md file.
The full details are here. To summarize; Third parties may deploy The Ajna Protocol so long as:
No other functional and successful deployment of Ajna is available on the target chain.
No modification to Solidity source files in the protocol is made, and no changes are made that conflict with the Business License.
Before deployment, the canonical burn-wrapped AJNA token (bwAJNA) on Ethereum mainnet is bridged to the target chain using the L2’s canonical bridge. For untrusted bridges, consider double-wrapping on L1.
Upon deployment, the protocol is configured to use the bwAJNA token from step 3 on the target chain.
The full details are here. To summarize;
Create some bwAJNA.
Do so by going to ajnafi.com and navigating to any pool's "manage pool" section, then go to the "reserves", then interact with the "Wrap AJNA for L2s" widget on the bottom left.
Bridge bwAJNA to the target chain.
Bridge the token to the target chain.
Configure deployment to use the bridged bwAJNA token by setting AJNA_TOKEN
environment variable to the L2 token address.
A deployment script exists to help automate the deployment of all the libraries and contracts. Before running, update the Makefile
with any specific configuration for the target chain, such as the --verifier-url
. You may need to create a new account and API key using the chain’s explorer GUI and set your ETHERSCAN_API_KEY
accordingly.
Run the script with make deploy
.
These make it easier for frontends to integrate your network's Ajna Protocol instance:
Give UIs access to a node.
Consider paying UIs to integrate your network.
To get your deployment listed on frontends and info sites you will need to get in contact with them. The parties are under no obligation to list new deployments. In all cases they will likely do their own verification that the deployment is done properly. Frontends may seek financial and/or infrastructure support (ETH-RPC node, subgraph deployment) for integrations. Below are some of the popular sites and contact info of their representatives.
Front End Apps
Summer.fi Summer.fi/ajna https://discord.gg/summerfi Contact Lucian https://t.me/Lucianken Builtbymom ajnafi.com https://discord.gg/zp8aJBkwBY (visit the ajnaficom-support channel) Contact Facu https://t.me/saltyfacu
Block Analitica info.ajna.finance https://discord.gg/zp8aJBkwBY Contact https://t.me/xcommanderkeen