Foundry : https://github.com/foundry-rs/foundry
forge build
make unit-tests
forge coverage
-
Fill .env file : Deployer PK, RPCs, API keys...
-
Deploy MobulaTokensProtocol
make deploy-tokens-protocol
-
Save the MobulaTokensProtocol address in .env TOKENS_PROTOCOL_ADDRESS
-
Deploy API
make deploy-protocol-api
-
Save the API address in .env PROTOCOL_API_ADDRESS
-
Update API address in MobulaTokensProtocol
make update-protocol-api
- Deploy Axelar senders (on other blockchains)
make deploy-axelar-bnb-sender
-
Update WhitelistAxelarContracts.s.sol with deployments script for each Axelar senders
-
Whitelist Axelar senders
make whitelist-axelar-contracts