Skip to content
Legitsoft

What a dapp costs, and where the money goes

People expect the smart contract to be the expensive part. Often it is the product around it.

By Legitsoft, updated

The short answer

The cost of a dapp has three parts: the smart contract and its tests, the web app and admin tools around it, and outside costs such as an audit and network fees. The web app and admin tools are often the largest part.

Smart contract
Small code, heavy testing
Hard to change after launch
Frontend and admin tools
Often the largest part
Wallet states, accounts and reports
Audit and network fees
Paid to third parties
Varies with contract and chain

The contract is small, the care is not

A contract may be a few hundred lines. The effort goes into deciding the rules, testing them and considering how someone might abuse them, because fixing it after launch is hard.

The frontend does the explaining

Wallet connection, wrong network, rejected signature, pending transaction, not enough balance for the fee. Each is a screen that a normal web app never needs.

Custom logic costs more than standards

A standard token or NFT collection builds on well-tested public code. New economic rules need original design and far more testing.

Keep a separate line for the audit

If the contract will hold significant value, budget for an independent audit and for the time to fix what it finds. Do not ask the team that wrote the code to certify it.

How to spend less

Put only what must be shared or owned on-chain. Keep profiles, search and content in a normal database. It is cheaper to build, and cheaper for your users with every transaction.

Read next

Tell us what you want to build

Describe the problem in a few lines. You do not need a specification.