Open-source local desktop & CLI tool · Apache-2.0

Clone verified EVM contracts or rewrite them across chains, locally.

Point CloneMyContracts at a verified EVM smart-contract address to recompile, remap, and simulate a clone for another EVM chain—or rewrite Solidity to Solana, CosmWasm, Aptos, or Tezos using your own AI model and check the rewrite's behaviour against the original.

Download
  • Runs on your machine — no hosted backend, no keys uploaded, no telemetry.
  • Bring your own AI model — OpenAI, OpenRouter, Gemini, Anthropic, or a local endpoint.
  • Behaviour & security checks — recorded scenarios replayed on the target runtime.
  • Starting point only — unaudited output, fails closed on untranslatable guards.

01 · How It Works

Two modes, verified against real local runtimes

CloneMyContracts runs entirely on your machine as a local engine with a browser UI. Give it a verified EVM contract address, pick a destination chain, and inspect every check before you write or deploy anything.

MODE 1 · EVM → EVM No AI required

Clone to another EVM chain

Built for faithful, deterministic contract cloning between EVM-compatible networks without touching an AI model.

  1. Fetch verified source: Pulls source files, compiler metadata, and constructor layout from verified source providers.
  2. Exact recompile: Recompiles with the original solc compiler version and settings, checking target opcode compatibility.
  3. Remap dependencies: Maps chain-specific addresses (routers, wrapped native tokens, price feeds) to destination equivalents for review.
  4. Fork simulation & scripts: Simulates deployment on a local EVM fork and generates deploy scripts you inspect and execute yourself.
MODE 2 · EVM → NON-EVM Bring your own AI

Rewrite for Solana, CosmWasm, Aptos, or Tezos

Translates Solidity into a target-chain project using your configured AI model, then tests the output against the original contract's behaviour.

  1. Generate target code: Translates Solidity for Solana (Rust/Anchor), CosmWasm (Rust), Aptos (Move), or Tezos (SmartPy) using your chosen AI model.
  2. Compile in containers: Builds inside isolated local per-language toolchain containers (Docker or Podman) so generated code stays sandboxed.
  3. Record & replay scenarios: Generates behavioural scenarios, records outputs and reverts on the original EVM contract, and replays them on the rewrite.
  4. Security checks & verdict: Runs guard checks and security lint, then assigns an explicit verdict and lists every difference or refusal.
CloneMyContracts Local Verification Pipeline YOUR MACHINE (LOCAL ENGINE + WEB UI · NO HOSTED BACKEND) INPUT Verified EVM Address Source + ABI + compiler metadata MODE 1 · CLONE (EVM → EVM) Exact solc + Address Remap Local EVM fork simulation Generates deploy scripts MODE 2 · REWRITE (CROSS-VM) Your AI Model + Containers Solana · CosmWasm · Aptos · Tezos Docker / OrbStack / Podman Images pulled on first run VERIFICATION Behaviour & Security Checks Record on original Replay on rewrite Guard & lint checks Fails closed OUTPUT Verdict & Starting Point Explicit verdict Diff & refusals Project / scripts Unaudited code
Figure 1: Local execution boundary. Verification runs against local forks and per-language toolchain containers on your machine; only source/RPC fetches, Docker Hub image pulls, and calls to your chosen AI model leave the host.
Supported destination targets and local verification runtimes
Destination Language / Stack Local Verification Deliverable
EVM Chains Solidity (exact solc) Exact recompile, address remap check, local fork simulation Project files, deploy scripts, verification report
Solana Rust / Anchor Container compile, recorded scenario replay, security checks Anchor project bundle, verdict, diff & refusal log
CosmWasm Rust (CosmWasm) Container compile, recorded scenario replay, security checks CosmWasm project bundle, verdict, diff & refusal log
Aptos Move (Aptos) Container compile, recorded scenario replay, security checks Aptos Move package, verdict, diff & refusal log
Tezos SmartPy Container compile, recorded scenario replay, security checks SmartPy project bundle, verdict, diff & refusal log

02 · Honest Results & Limits

What verdicts mean—and what CloneMyContracts will not do

Compiling is not proof of correctness, and passing generated scenarios is not an audit. Every run finishes with an explicit verdict and surfaces anything that failed, differed, or could not be translated safely.

EXPLICIT VERDICT SYSTEM

Every run reports an honest verdict

  • PASSED Compiled cleanly and all generated behavioural scenarios and security checks passed with no noted divergences. Still unaudited.
  • PASSED-WITH-DOCUMENTED-DIFFERENCES Core scenarios passed within documented cross-chain differences (such as VM semantics, integer bounds, or time/block behaviour) recorded in the report.
  • PARTIALLY-VERIFIED Part of the contract was verified against scenarios, while other paths could not be automatically exercised or translated.
  • FAILED-COMPILE The generated rewrite failed to compile inside the target toolchain container.
  • FAILED-BEHAVIOUR Compiled, but replayed scenarios diverged from the recorded behaviour of the original contract.
  • UNVERIFIED Output was generated without completing behavioural replay verification.
  • UNSAFE: do not deploy Security checks or guard analysis detected a critical safety problem. Treat this as a hard stop—do not deploy the output.
FAILS CLOSED BY DESIGN

Untranslatable guards are refused, never weakened

If a function relies on safety or access guards that cannot be faithfully translated to the target chain—such as cryptographic signature verification or external-contract guards—CloneMyContracts refuses to translate that function rather than emitting a weakened substitute.

HARD BOUNDARIES

Known limitations

  • State is never copied: Only contract logic is cloned or rewritten. Live balances, storage slots, and historical state are never migrated.
  • Proxy upgradeability is not reproduced: Proxy patterns and upgradeable storage layouts are not automatically reproduced as upgradeable contracts on the destination chain.
  • Complex AI rewrites often fail: AI-generated rewrites of complex Solidity contracts frequently fail to compile or behave differently from the original.
  • Everything is unaudited: Every output—including PASSED runs—is a starting point for manual engineering review and an independent security audit, never a finished product.

03 · Download

Run locally on macOS or Linux

Downloads are not published yet. Installers and checksums will appear here for the first public release—until then, each package is listed with a coming-soon placeholder.

macOS

Coming soon

Signed, notarised .dmg — Swift app shell around the local engine and web UI.

Architecture
TBD (Apple silicon / Intel)
Version
Pending
Release date
Pending
File
CloneMyContracts.dmg
Size
TBD
SHA-256
Pending first release
Signature: pending

Linux (x86_64)

Coming soon

Self-contained tarball with launcher (optional self-extracting .bin planned).

Architecture
x86_64 (amd64)
Version
Pending
Release date
Pending
File
clonemycontracts-linux-x86_64.tar.gz
Size
TBD
SHA-256
Pending first release
Signature: pending

Linux (aarch64)

Coming soon

Self-contained tarball with launcher (optional self-extracting .bin planned).

Architecture
aarch64 (arm64)
Version
Pending
Release date
Pending
File
clonemycontracts-linux-aarch64.tar.gz
Size
TBD
SHA-256
Pending first release
Signature: pending
INTEGRITY & AUTHENTICITY

Verify your download

Before opening any release archive, compare its SHA-256 digest against the checksum published in the download card above and verify its signature once release signing keys are published.

macOS — check SHA-256
shasum -a 256 CloneMyContracts-<version>.dmg
Linux — check SHA-256
sha256sum clonemycontracts-<version>-linux-x86_64.tar.gz

Signature verification (coming with first release): Detached release signatures and the signing public key fingerprint will be published here alongside the first release. On macOS, you will also be able to verify Apple notarisation with spctl --assess --type open --context context:primary-signature -v CloneMyContracts.dmg.

04 · Requirements

What you need on your machine

CloneMyContracts isolates target compilers and local test runtimes inside containers so you do not have to install Rust, Anchor, Aptos CLI, or SmartPy directly on your host OS.

MACOS

macOS requirements

  • Operating system: Minimum macOS version TBD (placeholder — to be confirmed before first release).
  • Architecture: Apple silicon / Intel support TBD (placeholder — to be confirmed before first release).
  • Container runtime: Docker Desktop or OrbStack installed and running.
  • Distribution: Signed and notarised .dmg containing the Swift app shell, local engine, and web UI.
LINUX

Linux requirements

  • Architectures: x86_64 or aarch64.
  • Container runtime: Docker Engine or rootless Podman.
  • Distribution: Self-contained tarball with launcher (optional self-extracting .bin under consideration).

Disk space & first run: Allow several GB of free disk space for the per-language toolchain container images, which are downloaded on first run from Docker Hub. Cross-VM rewrites also require an AI model API key or a local OpenAI-compatible model endpoint.

05 · Model Connectors

Bring your own AI model

Cross-VM rewrites use whichever model you configure. Credentials stay on your machine and requests go directly from your local app to the provider you choose. EVM-to-EVM cloning works without any AI model.

API Key

OpenAI

Connect directly with your own OpenAI API key for cross-chain translation and repair turns.

API Key

OpenRouter

Route rewrite prompts through your own OpenRouter API key to choose from multiple hosted models.

API Key

Google Gemini

Use your own Google Gemini API key directly from the local engine.

API Key

Anthropic

Use your own Anthropic API key directly from the local engine.

Self-hosted / Local

Custom OpenAI-compatible endpoint

Point at any OpenAI-compatible HTTP endpoint—for example a local model server running on your own workstation or LAN—so contract code never leaves your network.

Experimental Off by default

Claude Code CLI connector

Optional, disabled by default. Invokes your own locally installed Claude Code CLI using its own login rather than a separate API key. Expect breaking changes; turn it on only if you already use Claude Code locally.

CloneMyContracts is an independent open-source project. It is not affiliated with, sponsored by, or endorsed by OpenAI, OpenRouter, Google, or Anthropic.

06 · Licence & Disclaimer

Open source under Apache-2.0, with no warranty

CloneMyContracts is free to inspect, modify, and run locally. Use it as an engineering accelerator—never as a substitute for legal review or a smart-contract security audit.

SOFTWARE LICENCE

Apache License, Version 2.0

CloneMyContracts is released under the Apache-2.0 licence. The software is provided "as is", without warranty of any kind, express or implied, including fitness for a particular purpose or non-infringement.

USER RESPONSIBILITY

Starting point only — your code, your deployment

  • Source-code licences: You are solely responsible for checking and complying with the licence terms of any verified smart contract you clone or rewrite.
  • Audit & deployment risk: Generated deploy scripts and rewritten contracts are unaudited starting points. You are solely responsible for reviewing, auditing, testing, and operating anything you deploy.

07 · FAQ

Short answers

Why is CloneMyContracts a local app instead of a hosted web service?

Running everything locally means you never hand API keys, wallet keys, or unpublished work to a third-party server. It also avoids shared server queues for heavy compiler containers and lets you point rewrites at a local AI model on your own hardware.

What data leaves my machine?

Only the outbound network requests required for what you run: calls to your configured blockchain RPC endpoints, verified contract-source providers, your chosen AI model provider (during cross-VM rewrites), and the container registry (Docker Hub) when downloading toolchain images on first run. There is no telemetry, no analytics, and no CloneMyContracts backend server.

Which source chains are supported?

EVM chains where the source contract is verified on supported contract-source providers (such as Sourcify, Etherscan-compatible explorers, and Blockscout) and reachable via a standard JSON-RPC endpoint. The exact default chain registry list will be published alongside the first release.

Do I need an AI API key if I only want to clone between EVM chains?

No. EVM-to-EVM cloning uses deterministic source fetching, exact solc recompilation, address remapping, and local fork simulation. An AI model is only used for cross-VM rewrites (Solana, CosmWasm, Aptos, Tezos).

Public Source Repository

The public Apache-2.0 source repository link is not published yet and will be added here alongside the first release.

Why Toolchain Containers?

Compiling generated Rust (Anchor, CosmWasm), Move (Aptos), and SmartPy code executes compilers, macros, and test harnesses. Running each language toolchain inside an isolated container keeps generated code away from your host environment and avoids manual multi-chain SDK setup.