Skip to main content
Prerequisites:
  • Foundry (forge, cast) installed
  • Node.js ≥20 (for dotenv, if desired)
  • Funded EVM testnet account (private key)
  • Environment variables.
Follow these steps to install, test, deploy and interact with your contracts on the Ritual Chain testnet.
1

Clone Repository

git clone https://github.com/RitualChain/automations-contracts.git
&& cd automations-contracts
2

Setup Environment

cp .env.example .env

# Note: save AUTO_COUNTER_ADDRESS after deployment.
3

Install Node Dependencies

pnpm install
4

Build and Test

pnpm build
&& pnpm test