Automate your
Web3 Workflow

The first event-driven automation plugin for Web3.js v4. Create programmable rules that live on the client-side.
No private keys. No server costs. Pure automation.

zapchain-demo.ts
import { Web3 } from 'web3';
import { ZapChainPlugin } from 'zapchain';

// Initialize Web3 and plugin
const web3 = new Web3('YOUR_RPC_URL');
const zapChain = new ZapChainPlugin();
web3.registerPlugin(zapChain);
await zapChain.init();

// Create an automation rule
const ruleId = await zapChain.createRule({
  name: 'Auto-stake balance > 2 ETH',
  conditions: [{
    type: 'balance',
    operator: '>',
    value: web3.utils.toWei('2', 'ether')
  }],
  actions: [{
    type: 'contract_call',
    functionName: 'stake'
  }],
  config: { simulateFirst: true }
});

Why ZapChain?

Event-Driven Loop

Replace manual polling with instant reactions. The engine listens to block headers, pending txs, and logs in real-time.

🔐

Non-Custodial

Your private keys never leave your wallet. ZapChain simply requests signatures via your provider when needed.

📦

Plug & Play

Zero infrastructure. No databases to manage. Just register the plugin and start defining rules in TypeScript.

Built for Safety

ZapChain is designed for developers who verify, not trust.
All automation is simulated locally before broadcasting.