1. Ensure the environment variables are set correctly. The RULE_PROCESSOR_DIAMOND is used by the deployment script.
  2. Use the following script to deploy the Application Manager and Application Handler:
forge script script/clientScripts/Application_Deploy_01_AppManager.s.sol --ffi --broadcast --rpc-url $ETH_RPC_URL
  1. Use the output from the deployment to set relevant environment variables:
bash script/ParseApplicationDeploy.sh 1 --chainid $CHAIN_ID
  1. The deployer of the Application Manager is granted the super admin role.

  2. Create additional administrators (Optional)