Introduction
contract.dev is an observability platform for smart contracts.
Watch a deployed contract to get dashboards for its activity, value flows, assets, users, and more.
Track on-chain values as metrics, monitor their behaviour, and receive alerts when monitor conditions are met.
Setup
Start by watching a deployed contract.
Once watched, contract.dev automatically indexes it and creates dashboards for its on-chain activity and state.
# Install
npm install -g @contract-dev/cli
# Sign in
contract-dev login
# Watch a contract
contract-dev watch 0xMyContract --chain 1 --name "MyContract"From there, you can track custom on-chain values and add monitors as needed.
Coding agents can use the same CLI. Give your agent access to contract.dev and your project context, and it can watch contracts, track metrics, and configure monitoring for you.
Explore
| Page | |
|---|---|
| Overview | An interactive on-chain map to explore your watched contracts. |
| Contract dashboards | A dashboard for every watched contract: activity, flows, users, assets, methods, dependencies, and metrics. |
| Activity | Transactions, calls, events, and transfers involving watched contracts, with a built-in explorer. |
| Metrics | Track on-chain values over time, on any address, watched or not. |
| Monitoring | Three default monitors on every watched contract, custom monitors on any metric, and alert history. Alerts go to Telegram, Slack, Discord, or a webhook. |
| Stagenets | Private testnets that replay a production chain. |
| CLI | Command-line access to contract.dev. |
Supported chains
contract.dev currently supports Ethereum, Arbitrum, Avalanche, and Sepolia.
Reach out to the team if you need support for another chain.