Documentation under construction. Some pages are incomplete and some values may change. Check critical values before using them on the mainnet.

Build · Build applications

Build applications

If you already know how to build for the EVM, you already know how to build here. What changes is the kind of problem: several organizations, devices that sign and fees that someone else pays.

Last updated: November 22, 2026

What an application on the network is

An application on the network usually has three parts:

  • Contracts. They hold the rules and the data that have to be shared and verifiable. They live on the chain.
  • Each organization’s systems. The interfaces, databases and systems each party already uses. They live off the chain, as always.
  • Signatures. Each operation is signed by the account of whoever performs it: a person, a system or a device.

Not everything has to live on the chain. What must be verifiable and shared goes in the contracts. What is heavy or confidential stays outside, and its fingerprint is recorded on the chain.

Off-chainEach organization's systemsInterfaces, databases, full documents. They stay where they already were.
Who actsSignaturesPeople, systems or devices: EVM wallets, Ledger or passkeys (P-256).
On-chainContractsThe shared rules and data: fingerprints, states, approvals.

Systems prepare each operation, an account signs it and the contract applies it with the same rules for every party.

The three parts of an application on the network.

For example, in a certificate register, the contract stores the fingerprint of each certificate and who issued it. The full document stays in the issuer’s systems. Anyone can check, with the fingerprint, that a document is authentic.

Blog → · How contracts run →

The EVM, in practice

Contracts run on the Ethereum Virtual Machine (EVM). For builders, that means three things:

  • Same language. Contracts are written in Solidity or Vyper.
  • Same tools. EVM development environments, libraries and testing tools work with the network.
  • Same wallets and signing devices. Accounts are operated with EVM-compatible wallets and signing devices such as Ledger.

A contract written for the EVM can be published on the network without changing its code.

Patterns for infrastructure applications

An infrastructure application has needs that do not always appear in other applications: devices that sign records, organizations that act on behalf of others, users who should not have to handle units. The protocol offers an answer to each one.

Fees paid by the organization

Every transaction pays a fee. In an infrastructure application, whoever signs a record, such as a technician or a sensor, should not have to obtain units to pay it.

  • For contract operations, the protocol supports accounts that delegate their logic to a contract (EIP-7702). The person or device signs the operation, and another account, the organization’s, sends it and pays the fee.
  • For native network operations, such as transfers or votes, one account can grant another a fee allowance: the account that receives the allowance operates, and the fees are charged to the account that granted it, up to the set limit.
Contract operations · EIP-7702 The organization sends and pays
1. A technician or a sensor signsThe contract operation, with their own key.
2. The organization's account sends itAnd pays the fee.
3. The contract applies itAs an operation of whoever signed it.
Native network operations · fee allowance The organization grants a limit
1. The organization grants an allowanceTo another account, with a limit and, optionally, an expiry date.
2. That account operatesTransfers, votes or other operations native to the network.
3. The fee is deducted from the organizationUntil the granted limit is used up.
Who signs and who pays, with each of the two mechanisms.

Delegated permissions

An organization can authorize another account to perform certain operations on its behalf, for example a contractor, without handing over its key.

  • In contracts, the rule of who can do what is written in the contract itself: which accounts can record, approve or revoke.
  • In native network operations, one account can grant another an authorization for a specific kind of operation, with or without an expiry date, and revoke it at any time.

Signatures with passkeys and secure chips

Besides the usual EVM signatures, contracts can verify P-256 signatures: the ones produced by passkeys and the secure chips of phones, computers and many industrial devices. Combined with fees paid by the organization, they let a person or a piece of equipment sign a record with a key stored in its own hardware, without a dedicated wallet.

Native network functions from contracts

Contracts can use the protocol’s own functions directly: query and move native units, work with staking and governance, send transfers to other networks and check, with a proof, data from another network. Each function has a fixed address and is called like any other contract.

The network’s own functions and their addresses →

Mainnet and testnet

Two networks run the same protocol.

The testnet is for developing and testing. It is public and uses test units, which have no use outside it. Test units are free from a faucet in the directory.

The mainnet is the network where records have real effect.

Since both networks run the same protocol, an application moves from the testnet to the mainnet without changing its code. Only the connection parameters change, and they are in Connect to 42 Chain.

From testing to operation

Taking an application into operation usually follows five steps:

  • 1. Write and test locally. Contracts are written and tested on your own computer, with a development environment that simulates the network.
  • 2. Test on the testnet. The participating organizations connect their systems to the testnet and use it under real conditions.
  • 3. Review. Since a contract cannot be modified once published, contracts are reviewed thoroughly before going into operation and, if they are critical, audited.
  • 4. Publish on the mainnet. The same contracts are published on the mainnet, and each organization connects its systems.
  • 5. Operate. The application is monitored while it runs. If the rules need to change, a new contract is published and migrated to, because the previous one cannot be modified.

Compatible tools

Category Tools
Languages Solidity, Vyper
Development Hardhat, Foundry, Remix
Libraries Viem, Ethers.js, Web3.js
Signing EVM-compatible wallets, Ledger, passkeys (P-256)
Infrastructure RPC nodes, indexers and oracles are offered by independent providers, each with its own domain · Directory

Next steps

The parameters of each network and the provider directory are in Connect to 42 Chain.

To connect existing systems, devices or other networks, see Integrate systems.