Developer API

Build Ethereum-powered HTML applications with our zero-configuration smart contract API.

🚀 Getting Started

Our API provides Ethereum transaction signing, AI-generated smart contracts, and real-time verification through pure HTML5 integration.

// Minimal setup example
<script src="/egthhtml/core.js"></script>
<button onclick="ethHtml.deploy({ type: 'ai-generated' })">
  Deploy Smart Contract
</button>
🔒

Blockchain Integration

Automatic Ethereum address generation with HTML attributes:

data-contract - Contract templates
data-verify - Verification endpoints

📘 API Reference

🧠

AI Smart Contracts

Generate smart contracts from natural language descriptions using on-chain AI models.

Zero Dev Setup

No configuration files or blockchain knowledge required - just HTML with Ethereum superpowers.

🛡️

Verification API

Real-time verification of contract interactions through Ethereum blockchain hashes.

Example Contract

<div data-contract="erc-20" data-ai="true">
  Create token: <input type="text">
  <button onclick="ethHtml.generateToken(this.parentNode)">Deploy</button>
</div>
ethHtml.generateToken = async (container) => {
  // AI generates contract template
  const contract = await contractAI.generate();
  // Deploy to Ethereum
  await deployer.signAndDeploy();
  // Embed verification UI
  ui.showVerification(container);
}

Ready to Build?

🚀 Tutorial 💬 Support