Skip to content
RED SAGSkills
easyBlockchain Developer interview question

Describe the basic architecture of a decentralised application (dApp).

What the interviewer wants to hear

  • Smart contracts hold core logic and state on chain
  • Frontend connects through a wallet
  • RPC provider to read chain data and send transactions
  • Indexer for querying historical events
  • Off-chain storage such as IPFS for large files

Model answer

At the core are smart contracts deployed on a chain, holding the critical state and rules, like balances or NFT ownership. Users interact through a web or mobile frontend, usually React with libraries like wagmi and viem. The frontend connects to the user's wallet, such as MetaMask or a smart wallet, which signs transactions so the app never sees private keys. Reads and transaction submissions go through an RPC provider like a node service or the wallet itself. Since reading history directly from the chain is slow, an indexer such as The Graph or a custom service listens to contract events and stores them in a database for fast queries, like "all trades by this user". Large files, like NFT images, live off chain on IPFS or Arweave, with only their hash or link on chain. Some apps also have a normal backend for things like notifications.

Can you answer it under time pressure?

Take a timed easy round and get scored on every answer.

Start mock interview

More easy Blockchain Developer questions