Independent discussion of crypto, wallets, cards and markets
Forum Home > Crypto Trading & Markets > Solana > Building on Solana: what a developer actually touches
Building on Solana: what a developer actually touches40 replies · 3,020 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Where to open an account: Open a Trustee account.

Building on Solana: what a developer actually touches

Moving from EVM development to Solana feels like switching from writing forms to plumbing pipes. The concepts are the same, the plumbing is not. If you go in expecting Solidity patterns to transfer, you will fight the toolchain for a week.

Programs, not contracts

On Solana you write programs, not contracts. A program is stateless code that reads and writes accounts. There is no single contract holding all your state. State lives in accounts, and your program is handed those accounts on every call. That single difference changes how you design everything.

You also cannot just call another program by name and trust it. You pass explicit account references, and the runtime checks they are writable and owned correctly. More ceremony, more failure modes, but also more control.

PDAs and the accounts you must pay for

Program-derived addresses, or PDAs, are how a program "owns" an account without holding a private key. You derive an address from a seed plus your program id, and the program signs for it. This is how you store per-user state, per-market state, whatever.

The catch is rent. Every account you create must hold enough lamports to be rent-exempt, roughly two years of storage rent up front, or the runtime garbage collects it. That is a real cost per account, and it shapes your data model. You cannot spray thousands of tiny accounts without budgeting for it.

The tooling gap versus EVM

EVM tooling is mature: hardhat, foundry, ethers, a decade of libraries. Solana tooling is younger and rougher at the edges. You will write in Rust, compile to BPF, and interact through anchor or raw instructions. The anchor framework helps a lot, but you still spend time on account layout, serialization, and rent math that EVM devs never think about.

Debugging is also different. Failed transactions give you simulation errors that are sometimes opaque. You learn to read them, or you learn to suffer.

What to learn first

  • Learn the accounts model before you write a line of program code
  • Use anchor for the first project, then drop to raw instructions once you understand what it hides
  • Budget rent for every account you plan to create
  • Practice reading simulation failures; they are your main debugging tool
  • Do not assume EVM gas patterns map to compute-unit limits here

The takeaway

Solana development is not harder, it is lower-level. You touch more of the machine: accounts, rent, ownership, explicit references. If you want to build where the plumbing is hidden, stay on an EVM layer 2. If you want to build where speed is the point and you are willing to learn the pipes, Solana rewards it.

Thread Statistics40 replies · 3,020 views