Skip to content
Preptima

Blockchain & Web3 interview questions and answers

Smart contracts, consensus, and decentralised architecture.

6 published across 2 topics.

Smart Contracts

3 questions

Solidity, re-entrancy, and EVM gas optimization.

hardConceptDesign

How does a proxy make a deployed contract upgradeable, and what does that put at risk?

The proxy upgradeability pattern keeps state in the proxy and delegates calls to replaceable implementation logic, which makes storage layout, initializers and upgrade admin control the core smart contract security risks. Use this solidity answer to show the decision, trade-off, and evidence rather than a memorised definition.

5 minsenior, staff, lead
mediumConceptCoding

Why does storage layout dominate the gas cost of a contract?

Solidity storage layout dominates gas cost because persistent 32-byte slots are expensive to read and write on every node. Efficient smart contracts pack fields, cache repeated storage reads, avoid unnecessary writes and preserve layout during upgrades.

5 minmid, senior, staff
All 3 in Smart Contracts

Wallets, RPC nodes, and decentralized storage.

mediumConceptScenario

What happens between a user clicking confirm in a wallet and the transaction landing on chain?

A wallet transaction signing flow chooses nonce and fee fields, encodes the transaction, signs the hash locally with the private key and sends only the signed transaction to an RPC node for mempool broadcast. Use this wallets answer to show the decision, trade-off, and evidence rather than a memorised definition. It also connects transactions to the point an interviewer is testing.

5 minmid, senior
All 3 in Web3 Architecture