Skip to content

Architecture

app

Main entry points for pages, layout and routing

(api)

Serverless functions

abi

Get the ABI of a contract (WhatsABI)

token-price

Get the price of a native token (CoinMarketCap)

address/[account]

Account page (whenever an address is searched)

components

Everything related to the UI

common

Recurrent components across the app

config

Independent config-related components (e.g. theme, analytics)

core

Components related to the main logic/purpose of the app

layouts

Layouts for the app used across all pages

templates

Generic templates for better consistency

ui

shadcn/ui components

lib

Libraries, utilities and state management

constants

Constants for the site, default config, providers, starting points

hooks

Custom hooks (n.b. we're mostly using stores for state management)

store

State management (providers, config, transactions, etc.)

tevm

Tevm clients, calls and utilities

types

Type definitions that are used across multiple files

...

Other libraries and utilities (e.g. WhatsABI, local storage, gas estimation)

styles

Global styles, theme, and tailwind classes

This open-source initiative is released under the MIT License.
It is mostly built upon Tevm.