https://github.com/BuiltByMom/ajnaHelpers.sc

MOM Deployer: 0x1bf58bD08c3eBdF57b8457706CA1087698Eeb532

Steps

  1. Clone repo: https://github.com/BuiltByMom/ajna-wrapper
  2. Follow the README instructions to install foundry
  3. Get API keys and RPCs
  4. Deploy using the commands below

<aside> 💡 If the verification fails, wait 5 minutes and send the command again adding --resume. Sometimes it takes time for the explorer to pickup the deployed contract.

</aside>

ETHEREUM

forge script script/deploy.s.sol --rpc-url ${ETH_RPC} --sender ${MOM_DEPLOYER} --keystore ${DEPLOY_KEY} --broadcast -vvv --verify --etherscan-api-key ${ETHERSCAN_TOKEN}

GOERLI

forge script script/deploy.s.sol --rpc-url ${GOERLI_RPC} --sender ${MOM_DEPLOYER} --keystore ${DEPLOY_KEY} --broadcast -vvv --verify --etherscan-api-key ${ETHERSCAN_TOKEN}

ARBITRUM

forge script script/deploy.s.sol --rpc-url ${ARBI_RPC} --sender ${MOM_DEPLOYER} --keystore ${DEPLOY_KEY} --verifier-url <https://api.arbiscan.io/api> --etherscan-api-key ${ARBISCAN_TOKEN} --broadcast -vvv --verify

POLYGON POS