Web3 developer interview questions and answers

Web3 developer interview questions test whether you can build a web app that talks to a blockchain safely: connecting wallets, asking users to sign the right thing, reading and writing contracts, showing a transaction from pending to final, handling token decimals, indexing events and supporting more than one chain. Expect a practical task in TypeScript or JavaScript, questions on Ethereum-style transactions and standards, and a front-end security discussion. Teams hire the developer who protects users from confusing or dangerous signatures.

By Published 8 min read

What a web3 developer works on day to day

Job posts use "web3 developer" for a range of work, but most of it sits between the user and the chain: the app that connects a wallet, reads contract state, prepares a transaction, explains what the user is about to sign, and shows what happened afterwards. Some roles include writing smart contracts as well; the deep contract and audit questions for those live on the blockchain developer guide. This page covers the application side, which is where most user funds are lost to confusing prompts, wrong amounts and stale data rather than to clever exploits.

  • Strong web fundamentals: TypeScript, a modern framework, async data and error states, because a dApp is still a web app.
  • Protocol literacy: accounts, nonces, gas, logs, ABIs and the common token standards.
  • Signing hygiene: every prompt the user sees is expected, readable and scoped as narrowly as possible.
  • Data correctness: integer math for amounts, the right chain, and confirmation rules that match the chain's finality.
  • Security mindset: front-end dependencies, RPC endpoints and domains treated as attack surface.

How web3 developer interviews usually run

  1. Intro callChains and libraries you have used, apps you shipped, and whether you write contracts or mainly integrate them.
  2. Practical taskOften a small dApp: connect a wallet, read a balance, send a transaction to a test network contract and show its status. Sometimes a take-home with a public repo.
  3. Protocol and integration roundQuestions on transactions, signing, events and standards, sometimes reading an ABI or a transaction receipt together.
  4. Security discussionApproval risks, phishing, blind signing, dependency attacks and how you would review a risky flow.
  5. Team and valuesHow you handle incidents, explain risk to non-technical users and work with contract developers and auditors.

Wallet and provider questions

Connecting users and keeping the app in sync with their wallet
QuestionWhat it testsWhat a strong answer shows
What is an injected provider, and what does EIP-1193 standardize?Provider basicsBrowser wallets expose an object the app calls with JSON-RPC style requests and listens to for events like account and chain changes. EIP-1193 defines that interface.
Several wallet extensions are installed. How does the app pick one?DiscoveryOlder apps read a single global object that wallets fought over. EIP-6963 lets each wallet announce itself so the app can list them and the user chooses.
How do you support mobile wallets?ConnectivityA connection protocol such as WalletConnect, or deep links into in-wallet browsers, with sessions that can drop and must be restored.
The user switches account or network in the wallet while your app is open. What should happen?State syncListen for the change events, clear cached user data, refetch for the new account or chain, and never submit a transaction built for the old one.
How do you ask the user to change chains?Chain handlingRequest a switch through the wallet, offer to add the chain if unknown, and block actions until the chain ID matches what the app expects.
Read calls versus write calls: what is the difference?RPC modelReads such as eth_call simulate against current state for free and need no signature. Writes are signed transactions that cost gas and change state once included.
Connecting users and keeping the app in sync with their wallet. Scroll sideways on a small screen.

Signing, approvals and sign-in questions

  • Signing a message versus sending a transaction? A message signature proves control of an address off chain and costs nothing. A transaction is broadcast, pays gas and changes state. Users mix them up, so the UI must say which is which.
  • Why use typed data signing (EIP-712) instead of a raw message? The wallet can show structured fields and the domain, including the chain and contract, which makes the request readable and stops replay on another app or chain.
  • How does sign-in with an Ethereum account work? The server issues a nonce, the user signs a standard message that includes the domain, nonce and expiry (EIP-4361 describes the format), and the server verifies the signature and creates a normal session.
  • What is the risk with unlimited token approvals? If the approved contract is compromised or malicious, it can move the user's whole balance. Request the exact amount where practical and show users how to revoke approvals.
  • What is a permit signature? A signed off-chain approval (EIP-2612 for tokens that support it) that a contract can submit, saving a transaction. It is also a phishing target because it looks like a harmless signature.
  • What is blind signing, and how do you avoid asking for it? Signing data the wallet cannot decode. Prefer typed data, verified contracts and transaction simulation so users see what will happen.

Transaction lifecycle questions

From the click to a result the user can trust
QuestionWhat it testsWhat a strong answer shows
Walk through what happens after the user clicks Confirm in the wallet.LifecycleThe wallet signs and broadcasts, the app receives a hash, the transaction waits in the mempool, is included in a block, then gains confirmations. Each step needs a UI state.
How are fees set on Ethereum since EIP-1559?Gas modelA protocol base fee per block plus a priority tip, with a max fee cap. The base fee is burned. Wallets estimate, but your app should handle estimation failures, which often mean the call would revert.
The user sped up or cancelled a pending transaction. Why does your app lose track of it?ReplacementSpeed up and cancel send a new transaction with the same nonce, so the original hash never confirms. Track by sender and nonce, or use library helpers that detect replacement.
When is a transaction final enough to show as done?FinalityIt depends on the chain: confirmation depth or finalized block tags on some, sequencer and settlement stages on rollups. Show included versus final, and reconcile if a reorg drops it.
A transaction reverted. How do you tell the user why?Error handlingDecode the revert reason or custom error from the ABI, map known errors to plain language, and simulate before sending to catch most of them early.
What is account abstraction in simple terms?Newer patternsSmart contract accounts that can batch calls, sponsor gas or use other signers. ERC-4337 is one widely discussed approach; it changes how the app submits and tracks operations.
From the click to a result the user can trust. Scroll sideways on a small screen.

Data, indexing and multi-chain questions

  • Why must token amounts be BigInt or a decimal library, never JavaScript numbers? Amounts are integers in base units, often with 18 decimals, far past the range where floating point stays exact. Rounding errors become wrong transfers.
  • Why not assume every token has 18 decimals? Decimals are set per token contract. Read them from the contract and cache them per chain and address.
  • How do you show a user's transaction history? Reading logs with eth_getLogs over large ranges is slow and rate limited, so most apps use an indexer: a hosted API, a subgraph, or your own service that stores events with block numbers and handles reorgs.
  • What do you do when the public RPC endpoint rate limits you? Use a provider with keys kept server side, batch and cache reads, fall back across endpoints, and do not let the app hammer RPC on every render.
  • The same token address exists on two chains. Is it the same token? Not necessarily. Always key data by chain ID plus address, and verify bridged versions from official sources.
  • How do you test a dApp without spending real funds? Unit tests with mocked providers, a local node or a fork of a live network for integration tests, and public test networks for end-to-end checks.
function parseUnits(text, decimals) {
  const [whole, frac = ""] = text.split(".");
  if (frac.length > decimals) throw new Error("too many decimal places");
  return BigInt(whole + frac.padEnd(decimals, "0"));
}

function formatUnits(value, decimals) {
  const s = value.toString().padStart(decimals + 1, "0");
  const whole = s.slice(0, -decimals);
  const frac = s.slice(-decimals).replace(/0+$/, "");
  return frac ? `${whole}.${frac}` : whole;
}

console.log(parseUnits("1.5", 6));        // 1500000n
console.log(formatUnits(1500000n, 6));    // 1.5
console.log(formatUnits(10n ** 18n, 18)); // 1
console.log(0.1 + 0.2);                   // 0.30000000000000004, why floats are banned here
Amounts as integers in base units (run with Node)

Interviewers often ask you to extend this on the spot, for example to reject negative input or to round a display value without changing the stored amount. Libraries such as ethers and viem ship tested versions of these helpers, and saying you would use them in production is a good answer.

Front-end security questions

  • How could an attacker drain users without touching your contracts? Compromise the front end: a hijacked DNS record, a malicious npm package or a swapped script that changes the recipient address.
  • How do you reduce that risk? Lock dependency versions and review updates, use subresource integrity for third-party scripts, a strict content security policy, protect DNS and hosting accounts with strong MFA, and monitor the deployed bundle.
  • Why verify contract addresses in the app config? A typo or a malicious pull request changing an address sends funds to the wrong place. Keep addresses reviewed, per chain, and checked in tests.
  • How do you help users spot phishing clones? Clear domain guidance, never asking for seed phrases, and signing prompts that always show your domain through typed data or sign-in messages.

Behavioral questions

  • Tell me about a time you stopped a risky flow from shipping. The risk, how you showed it to the team, and the safer design.
  • How have you explained a failed transaction to a frustrated user? Plain language, what happened on chain, and what they can do next.
  • Describe working with a contract developer on an ABI change. Versioning, coordinated deploys and tests on both sides.

Fictional example

Answering "Users say the app shows a swap as failed when it succeeded"
Interviewer
Support reports transactions marked failed in the app that actually went through. What is going on?
Candidate
My first guess is replacement. If a user speeds up the transaction in their wallet, a new transaction with the same nonce confirms and the original hash we were watching is dropped, which our code read as a failure. In a practice project where I hit this, I changed the tracker to watch the sender and nonce, detect a replacement, and follow the new hash. I also split the status into submitted, included and final, and added a test that replaces a pending transaction on a local fork so the bug cannot quietly return.

A ten-day preparation plan

  • Days 1 and 2: build a page that discovers wallets, connects, reads a balance and reacts to account and chain changes.
  • Days 3 and 4: call a test contract, send a transaction on a public test network and show every lifecycle state, including a revert.
  • Day 5: implement typed data signing and a sign-in flow with a nonce verified on a small server.
  • Day 6: index one contract's events into a local database and handle a simulated reorg.
  • Day 7: write the amount helpers above from memory and test edge cases with many decimals.
  • Days 8 to 10: review your project for front-end risks, then rehearse two incident stories and one design walkthrough aloud.

The broader app questions on sessions, state and releases are covered in web app developer interview questions. For hashing and signature background, see cryptography interview questions.

Web3 rounds mix protocol detail with security judgment, and a recorded mock is a good way to check that your explanations are precise. Natively, an AI interview assistant for Mac and Windows, transcribes practice interviews on your computer so you can find the answers that wandered. In practice it can suggest answers live, help with a coding exercise, and read a transaction receipt, an ABI or an error from a screenshot. With Pro or the free trial it uses the résumé and job description you upload, and saved transcripts and notes let you review each run.

Questions people ask

What questions are asked in a web3 developer interview?

Wallet connection and chain switching, signing messages versus transactions, typed data, token approvals, the transaction lifecycle and fees, replaced transactions, token decimals, event indexing and front-end security.

Is a web3 developer the same as a blockchain developer?

They overlap. Web3 developer roles usually focus on the app that connects users to contracts, while blockchain developer roles go deeper into writing and securing the contracts.

Do web3 developer interviews include a coding task?

Often a small dApp or take-home: connect a wallet, read contract data, send a test network transaction and show its status, usually in TypeScript or JavaScript.

Which libraries should I know for a web3 developer interview?

Know one client library well, such as ethers or viem, and the concepts underneath, so you can explain providers, ABIs, signing and BigInt amounts without the library.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP