Digital Twin

A web3 demo app for OpenClaw: smart contracts, backend, and frontend for agent actions.

Digital Twin

Created At

ETHGlobal Cannes 2026

Project Description

The digital twin project is a comprehensive demonstration of an autonomous agent system designed for blockchain and smart contract interactions, specifically tailored for the Ethereum ecosystem. It features a modular architecture with a backend (Node.js) that manages agent logic, memory, and personality, and a frontend for user interaction. The core functionality revolves around the agentActions smart contract, which enables the agent to perform on-chain actions, interact with decentralized storage, and maintain both short-term and long-term memory for adaptive behavior. The project integrates with OpenAI for advanced language processing, supports persistent memory storage, and provides deployment scripts for seamless contract deployment and testing. It is ideal for developers exploring AI-driven agents, blockchain automation, and decentralized application workflows, offering a robust foundation for experimentation and further development in web3 and AI agent technologies.

How it's Made

This project uses Solidity for smart contracts, deployed with Hardhat, and a Node.js backend that manages agent logic, memory, and OpenAI integration. The backend uses ethers.js for blockchain interaction and stores agent memory in JSON files. A custom storage module connects to decentralized storage. Deployment scripts automate setup. The modular design allows easy updates to agent personality and memory, while OpenAI and decentralized storage make the agent smarter and more persistent. Notably, dynamic personality switching and rapid memory updates enable fast prototyping and testing.

background image mobile

Join the mailing list

Get the latest news and updates

Digital Twin | ETHGlobal