From Web Developer to Blockchain Developer
A practical guide for web developers moving into blockchain, covering which skills transfer, what is new, the current tools and a staged learning plan.
In this guide
Web developers have a head start in blockchain: most of a decentralized application is still TypeScript, HTTP, databases and a user interface. What is new is a different kind of backend, one where code is public, hard to change, costs money to run and holds value directly. The shortest path is to keep your existing stack, learn the Ethereum execution model and Solidity, and build one complete application end to end.
What you already have
A typical dapp has four parts: smart contracts, a front end, a data layer that indexes chain events, and ordinary backend services. Three of those four are web development.
Skills that carry over directly:
- TypeScript and JavaScript. The main Ethereum client libraries (viem, ethers.js) and wagmi are TypeScript. Hardhat 3 tests and scripts are TypeScript too.
- Front-end frameworks. wagmi has bindings for React, Vue and Solid, and viem works with anything, which is how our Angular dapp front-end guide approaches it.
- API and async thinking. Talking to a node is JSON-RPC over HTTP or WebSocket. You already know loading states, retries and caching.
- Databases. Production dapps almost always mirror on-chain data into a database such as PostgreSQL for querying.
- Testing and CI habits. These matter more here than in most web work, because you cannot hot-fix a deployed contract.
- Git, code review, package management. Unchanged.
You do not have to become a cryptographer. You need to know what a hash, a key pair and a signature are and what they guarantee.
What is different
The mental model changes more than the syntax. This table maps familiar ideas to their blockchain counterparts.
| Web development | Blockchain development |
|---|---|
| Server you control and can patch any time | Contract bytecode that cannot be edited after deployment |
| Database rows only your backend can write | Public state anyone can read, changed only through contract functions |
| Session or JWT authentication | A wallet signature; msg.sender is the identity |
| Free reads and writes (you pay for servers) | Reads are free through a node; every write is a transaction the user pays for |
| A request returns in milliseconds | A transaction is submitted, then included in a block, then becomes final |
| Bugs cause outages | Bugs can cause permanent loss of user funds |
| Private source code | Bytecode is public and source is usually verified on an explorer |
| Logs for debugging | Events are part of your API; indexers and front ends depend on them |
Three consequences are worth internalizing early.
Writes are slow, asynchronous and can fail. A user approves a transaction in their wallet, it waits to be included, and it may revert. Your UI needs states for "awaiting signature", "pending", "confirmed" and "failed".
Computation and storage are priced. Every operation costs gas. You design data structures to minimize storage writes, and you keep anything that does not need on-chain enforcement off-chain.
Everyone is a potential adversary. Any account or contract can call your public functions with any arguments, in any order, in the same transaction as other calls. Security is not a later phase. Start with smart contract security basics as soon as you can write a contract.
The current toolchain
Tooling changed a lot over the last two years, and many tutorials are out of date. As of December 2026:
| Job | Tools | Notes |
|---|---|---|
| Language | Solidity 0.8.39 | send/transfer are deprecated since 0.8.31; older tutorials still use them |
| Framework | Foundry 1.10.x or Hardhat 3 | Hardhat 2 reaches end of life by June 2027 at the latest; do not start new projects on it |
| Contract libraries | OpenZeppelin Contracts 5.x | Use audited implementations of tokens and access control |
| Client library | viem 2.x, ethers.js | Both widely used; viem is what wagmi builds on |
| React/Vue hooks | wagmi | Needs viem 2.x and TanStack Query |
| Testnet | Sepolia | The recommended default for application development; Holesky is deprecated |
| Indexing | The Graph, or your own indexer plus a database | See indexing blockchain data |
Which framework? Foundry lets you write tests in Solidity and is the most used primary framework among respondents to the Solidity Developer Survey 2025. Hardhat 3 is the more natural fit if you want to stay in TypeScript: it requires Node.js 22.13 or later, uses ES modules by default, supports Foundry-compatible Solidity tests alongside TypeScript tests, and can run tests with Node's built-in test runner. Learning both is realistic; they share concepts. We compare them in smart contract testing tools.
A staged learning plan
The durations below are a planning aid for someone studying part-time, not a promise. Adjust to your pace.
Stage 1: The execution model (1 to 2 weeks)
Learn accounts, transactions, gas, blocks, events and what a node is. Install a wallet, get Sepolia test ETH from a faucet, send a transaction and inspect it on a block explorer. Read a verified contract's source there.
Stage 2: Solidity and testing (4 to 6 weeks)
Write small contracts and test every one. A reasonable sequence is a counter, an ERC-20 token built on OpenZeppelin, a vault that accepts and returns ETH, and an escrow with a deadline. Learn fuzz tests early; they find the edge cases you did not think of.
Stage 3: Connect a front end (2 to 3 weeks)
Read state, send transactions, handle the pending and failed states, and react to events. Follow our wallet integration guide for connection flows.
Stage 4: The data layer (2 weeks)
Index your contract's events into a database and serve them through an API. This is the part of the stack where your web experience pays off most; see off-chain data with PostgreSQL.
Stage 5: Security and a portfolio project (ongoing)
Study common vulnerabilities, read audit reports, then build one complete project and document it. The full sequence, with alternatives, is in the blockchain developer roadmap.
Your first contract and your first read
A contract is closer to a class with persistent fields than to a server. This example targets Solidity 0.8.28 or later.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
contract Guestbook {
error EmptyMessage();
event Signed(address indexed signer, string message);
uint256 public entryCount;
mapping(address signer => string) public lastMessage;
function sign(string calldata message) external {
require(bytes(message).length > 0, EmptyMessage());
entryCount += 1;
lastMessage[msg.sender] = message;
emit Signed(msg.sender, message);
}
}
Things a web developer should notice:
- There is no login.
msg.senderis the address that signed the transaction or the contract that made the call. publicstate variables get a free read function.- The
Signedevent is how off-chain code learns what happened. Storing every message on-chain would be expensive; emitting them is cheap, and an indexer can rebuild the list. - Custom errors like
EmptyMessage()are cheaper than revert strings and easy to decode on the client.
Reading from it with viem 2.x:
import { createPublicClient, http, parseAbi } from 'viem'
import { sepolia } from 'viem/chains'
const guestbook = '0x0000000000000000000000000000000000000000' // your deployed address
const abi = parseAbi([
'function entryCount() view returns (uint256)',
'event Signed(address indexed signer, string message)',
])
const client = createPublicClient({ chain: sepolia, transport: http() })
const count = await client.readContract({
address: guestbook,
abi,
functionName: 'entryCount',
})
console.log(`Entries so far: ${count}`) // count is a bigint
Reads like this need no wallet and cost nothing. Writing requires a wallet client and a user signature, and returns a transaction hash long before the result is final. Also note that http() with no URL uses a public RPC endpoint, which is fine for learning but rate-limited; real applications configure their own provider.
Mistakes web developers commonly make
- Treating the contract like a database. Storing large strings, arrays that grow forever, or data nobody needs to verify. Emit events and index them instead.
- Looping over unbounded arrays. A loop that grows with user count will eventually exceed what a transaction can afford.
- Assuming secrets exist.
privateonly hides a variable from other contracts. All contract storage and all transaction inputs are publicly readable. - Using on-chain values as randomness. Block data is predictable or influenceable; the Solidity docs warn against it.
- Authorizing with
tx.origin. The Solidity docs say never to do this, and since EIP-7702 you can no longer assumetx.originis a plain key-controlled account with no code. - Copying old tutorials. Solidity 0.4 to 0.7 patterns, SafeMath for overflow,
transfer()for sending ETH and Hardhat 2 setups are all dated. - Skipping the unhappy path in the UI. Rejected signatures, reverted transactions, wrong network and dropped transactions are normal events, not edge cases.
- Hard-coding gas limits. Gas costs change with protocol upgrades; estimate per transaction instead.
Choosing where to specialize
After the first full project you can lean toward the part you enjoy:
- Dapp front end. Closest to your current work: wallets, transaction UX, client libraries.
- Smart contract engineering. Deeper Solidity, gas, security, upgrade patterns.
- Backend and data. Indexers, APIs, monitoring, automation.
- Another ecosystem. Solana uses Rust and a different account model; see Solidity vs Rust before deciding.
Front-end and backend roles at blockchain companies are a common entry point, because your existing experience counts in full while you build on-chain skills on the job. When you are ready to apply, portfolio project ideas and our interview questions cover the next steps.
FAQ
Do I need to learn Rust or Go?
Not to start. Solidity and TypeScript cover the EVM application stack. Rust becomes relevant if you move to Solana or to infrastructure work.
How much math or cryptography do I need?
Very little for application development. Understand hashing, public and private keys, signatures and Merkle proofs at a conceptual level. Advanced cryptography is a specialization.
Can I keep using my current front-end framework?
Yes. viem is framework-agnostic and wagmi provides bindings for React, Vue and Solid. Any framework that can call a TypeScript library can talk to a chain.
Is a bootcamp necessary?
No. The official documentation and free tools are enough for a disciplined learner. A bootcamp buys structure and feedback; we weigh the trade-offs in bootcamp vs self-taught.
Sources
- Solidity compiler releases (GitHub)
- Solidity 0.8.31 release announcement
- Solidity docs: contracts
- Solidity docs: security considerations
- Solidity Developer Survey 2025 results
- Hardhat: getting started
- Hardhat: what's new in Hardhat 3
- Hardhat 2 end of life
- Foundry releases (GitHub)
- viem: getting started
- wagmi: getting started
- ethereum.org: networks and testnets
- ethereum.org: EIP-7702 guidelines
- ethereum.org: Glamsterdam roadmap page
- OpenZeppelin Contracts 5.7 announcement
- The Graph: subgraph quick start