You probably do NOT need to dploy the protocol. This is only necessary if the rules engine is not already deployed on the network your application is on or you are developing locally and need or want to test out the rules in that environment.
Most projects can simply connect to an existing deployment of the rules engine. Check the networks page for a list of networks the protocol is live.
Due to the architecture of the Protocol, several contracts are required to be deployed to utilize the protocol. Once these are deployed, several application ecosystems may utilize these contracts independently without affecting each other. The following diagram is an overview of this deployment process:
source .env
) and then feel freeIf this is your first time and you’re trying to deploy in a local development environment, you might run into errors with the above approach, it’s recommended to set a local profile for foundry prior to deployment:
substitute <PROTOCOL_VERSION>
with the proper value. i.e: “1.1.0”.
(Optional) If a multi-sig wallet is to hold the protocol’s ownership, then:
If the response is the same address as MULTISIG_WALLET, the ownership transfer was successful. If not, repeat the process.
You probably do NOT need to dploy the protocol. This is only necessary if the rules engine is not already deployed on the network your application is on or you are developing locally and need or want to test out the rules in that environment.
Most projects can simply connect to an existing deployment of the rules engine. Check the networks page for a list of networks the protocol is live.
Due to the architecture of the Protocol, several contracts are required to be deployed to utilize the protocol. Once these are deployed, several application ecosystems may utilize these contracts independently without affecting each other. The following diagram is an overview of this deployment process:
source .env
) and then feel freeIf this is your first time and you’re trying to deploy in a local development environment, you might run into errors with the above approach, it’s recommended to set a local profile for foundry prior to deployment:
substitute <PROTOCOL_VERSION>
with the proper value. i.e: “1.1.0”.
(Optional) If a multi-sig wallet is to hold the protocol’s ownership, then:
If the response is the same address as MULTISIG_WALLET, the ownership transfer was successful. If not, repeat the process.