WEB3wallet apps / dApp interfaces / token-gated membershipExplore Web3 →
Web3 and blockchain

What is a smart contract?

A smart contract is a program stored on a blockchain that runs as written when called, for example releasing a payment or transferring a token once set conditions are met.

Why it matters for a business

A smart contract can replace a middleman for rules that several parties must trust, such as token issuance, escrow or royalty splits.

More

On Ethereum and compatible chains, smart contracts are usually written in Solidity.

Once deployed, code is hard to change and bugs can lose real money, so design, testing and an independent audit matter more than in a normal app. Plan upgrades and admin rights before launch.

  • Not a legal contract

    It is code that enforces rules on-chain; a legal agreement may still be needed alongside it.

  • Smart contract audits

    An audit is an independent review of the code for security flaws before deployment, often by a specialist firm.

  • Gas and calls

    Each transaction that changes a contract’s state costs a network fee, called gas; a wallet asks the user to approve it.

Smart contract in a Web3 product
  1. AppWhere people click
  2. WalletHolds the keys and signs
  3. Smart contractRules that run as code
  4. BlockchainRecords every transaction

Token

What it costs

Starting prices of our services on this topic, in your currency.

All our pages on this topic

Smart contract in practice

A program stored on a blockchain that runs automatically when its conditions are met.

Example
  1. A music publisher in London wants royalties from digital sales split automatically between songwriters.
  2. A smart contract receives each payment in a stablecoin and divides it according to the agreed shares, recording every split on-chain.
  3. The legal agreement stays on paper; the contract only enforces the payout rules.

Which term is it?

A shared ledger copied across many computers, where records are added in blocks and cannot be quietly changed.
Anatoly Mikhailov

From the founder

In Web3 I care about products people can actually use: clear wallets, tested smart contracts, costs you can see. Scope and price are agreed up front, as for everything we build.

Anatoly MikhailovFounder of Pazl

Got an idea? It’s one message away.

Scope agreed before development, fixed price, six-month warranty.