Skip to content

Open-source · Smart contract architecture

Open-source frameworks for modular smart contracts.

F-Tokens develops open-source frameworks, methods, and reference architectures for building secure, composable, upgradeable, and long-lived on-chain systems.

KernelModulesInterfacesStorageLifecycleGovernance

From contracts to systems

Architecture before application.

Modern protocols are no longer single contracts. They are evolving systems of modules, permissions, storage domains, interfaces, upgrades, and governance constraints.

F-Tokens focuses on the layer beneath products: the patterns, kernels, modules, storage models, and lifecycle rules that determine whether smart contract systems can evolve safely.

Modular
Install · upgrade · remove
Isolated
Namespaced storage
Composable
Reusable modules
Open
Public, permissive licensing

Frameworks & reference architectures

Modularity as a protocol-level primitive.

We design open-source frameworks around a simple idea: keep a small, stable core, and let everything that changes live in modules. Modules declare their identity, version, storage schema, and callable surface, while the core governs installation, upgrades, routing, and lifecycle transitions.

The result is a foundation for complex on-chain systems that can be inspected, extended, and upgraded without redeploying or risking storage collisions.

Kernel-orchestrated architecture

A small, stable core governs routing, installation, and lifecycle while the system around it evolves.

Installable & upgradeable modules

Functionality ships as modules that can be installed, upgraded, and removed without redeploying the system.

Namespaced storage isolation

Each module owns an isolated, collision-free storage namespace — no layout clashes across upgrades.

Explicit interface surfaces

Modules declare the exact callable surface they expose. Nothing is reachable by accident.

Lifecycle hooks

First-class hooks for boot, upgrade, and removal make state transitions explicit and auditable.

Built for system evolution

Designed for long-lived systems that must change safely over years, not single-shot deployments.

Methods

Methods for smart contract architecture.

F-Tokens is a methodology lab. We document the repeatable patterns that make modular systems safe to build and safe to change.

01

Modular contract design

Decompose systems into modules with clear boundaries, identities, and versioned interfaces.

02

Upgradeability patterns

Safe upgrade paths that preserve invariants, storage, and external integrations over time.

03

Storage isolation

Namespaced storage domains that prevent layout collisions and make state ownership explicit.

04

Runtime extensibility

Add and route new behavior at runtime through explicit, permissioned callable surfaces.

05

Governance surfaces

Model who can install, upgrade, and configure — and bound those powers by architecture.

06

Security-by-architecture

Constrain the blast radius of every change before a line of business logic is written.

07

Composability & module registries

Treat modules as reusable, discoverable units that compose into larger systems.

08

AI-assisted orchestration

Methods for using AI to assemble, verify, and reason about modular contract systems.

Open by default

Inspect it. Fork it. Extend it.

Our work is published as open-source frameworks, technical specifications, reference implementations, and architectural notes. F-Tokens is built for builders who want to inspect, fork, improve, and extend the foundations of smart contract systems.