This project provides a powerful Web3 ABI Explorer with wallet connectivity and smart contract interaction.
- ABI Exploration: Parse and visualize smart contract ABIs
- Contract Interaction: Call and test contract functions directly from the interface
- Multi-chain Support: Connect to various Ethereum networks including testnets
- Wallet Integration: Multiple wallet connection options via Reown AppKit
- Smart Contract Generation: Generate Solidity smart contracts from natural language prompts
- React Hook Generation: Create ready-to-use React hooks from smart contracts for different libraries:
- Wagmi
- Ethers.js
- Viem
- Code Documentation: AI-powered explanations of contract functions and parameters
- Clone the repository
- Install dependencies:
pnpm install
- Create a
.env.localfile with your WalletConnect Project ID:You can get a Project ID from WalletConnect CloudVITE_PUBLIC_PROJECT_ID="YOUR_PROJECT_ID"
Run the development server:
pnpm devThe application consists of several key components:
- Left Panel: ABI input and source selection
- Right Panel: Function visualization and interaction
- Contract Generator: Create smart contracts from prompts
- Hook Generator: Generate React hooks for different Web3 libraries
- Documentation: AI-powered explanations and documentation
- React + Vite
- TypeScript
- Reown AppKit for wallet connections
- Wagmi
- AI for code generation (planned)
The <appkit-button /> component is available throughout the application to trigger the wallet connection modal.
The Reown AppKit is configured in:
config/index.tsx- Wagmi adapter setupcontext/index.tsx- AppKit context provider
Currently configured networks:
- Ethereum Mainnet
- Arbitrum
- Sepolia
- Arbitrum Sepolia
To add more networks, modify the networks array in config/index.tsx.