Web3 development: smart contracts and interfaces for them

In Web3 applications data and rules are stored on a blockchain, so there is no single server that can be switched off. The basis is smart contracts: programs that run automatically and need no intermediary. Tokens, exchanges, marketplaces and loyalty programs are built on them.

We write contracts in Tact for TON and in Solidity for Ethereum and compatible networks, and build the dApp and web interface: we connect wallets, show data from the network and build transactions. Before publication we test the logic and scenarios, because a published contract is hard and costly to fix. For the other parts of the product, such as an account or an admin panel, we add a web application.

TON projects are convenient to launch as a Telegram Mini App: the wallet connects through TON Connect and the user pays without leaving the messenger. The contract itself accepts contributions and makes payouts by the set rules.

What is included

  • Architecture design: what to keep on the network and what off it
  • Smart contracts in Tact (TON) and Solidity (Ethereum and compatible networks)
  • Testing contracts and scenarios before publication
  • A dApp and web interface with wallet connection
  • Integration with the network, blockchain data and your backend
  • Documentation and handover of the project to the team

When it fits

You launch a token, a marketplace or a service on a blockchain
You need an interface to work with your smart contracts
You want to test an idea on a prototype before big development

How the work goes

  1. 01

    Idea analysis and architecture

    We find out what must happen on the network and off it, and choose the blockchain and approach.

  2. 02

    Prototype

    We build a first version of the contracts and interface to test the idea on a test network.

  3. 03

    Contract and dApp development

    We write smart contracts and the interface and connect wallets and data from the network.

  4. 04

    Testing

    We check logic, edge cases and user scenarios before publication.

  5. 05

    Launch and support

    We publish the contracts, launch the app and help with further changes.

Examples of our work

Smart contract, backend and Mini App

Telegram Mini App with TON escrow contracts

A mutual-aid platform inside Telegram: participants join tickets with equal contributions in TON, the money is held by a smart contract, and the distribution of the fund can be verified. It runs on the TON mainnet with real money, so the core of the project is reliable accounting and verifiability.

We do not disclose the project's name; it is hidden on the screenshots. The data on the screens is demo data.

Telegram Mini App with TON escrow contracts - 1
Telegram Mini App with TON escrow contracts - 2

What we did

  • Escrow smart contract in Tact: a separate contract for every ticket takes the contributions and sends the fund itself, tested in the TON sandbox
  • Verifiable selection: the round of the external drand randomness network is fixed in advance, its signature is checked, and anyone can re-check the result
  • NestJS and PostgreSQL backend: tickets, levels and leagues, personal goals, a referral program, payments, notifications, background jobs on pg-boss
  • React Mini App: sign-in through Telegram, wallet connection through TON Connect with proof of ownership, tickets, statistics, a landing page and an admin panel
  • Money is counted only as integers in nanotons, never as floating-point numbers
  • Hundreds of automated tests, CI on GitHub Actions: checks on every pull request, deployment only after them, a separate test environment on testnet
  • Infrastructure: Docker Compose, Caddy with automatic TLS, a VPS

Stack

Smart contract

  • Tact
  • TON Blueprint
  • @ton/sandbox
  • @ton/core

Backend

  • NestJS 10
  • TypeScript
  • Prisma
  • PostgreSQL 16
  • pg-boss
  • @ton/ton
  • drand
  • JWT
  • Swagger
  • Jest

Frontend

  • React 18
  • Vite
  • React Router
  • TON Connect
  • Telegram Mini Apps

Infrastructure

  • Docker Compose
  • Caddy
  • GitHub Actions

Frequently asked questions

What is a smart contract?

A program stored on a blockchain that automatically carries out set conditions: for example, transfers tokens after payment. It cannot be quietly changed, so the logic must be thought through and tested before publication.

Which networks do you work with?

With TON and with Ethereum and compatible networks: BNB Chain, Polygon, Arbitrum, Base. These are called EVM networks. We write TON contracts in Tact and EVM contracts in Solidity. The choice depends on the task, fees and audience, and we discuss it at the brief.

Which to choose: TON or Ethereum?

TON fits when your audience is in Telegram: the wallet is built into the messenger and the app opens as a Mini App. EVM networks are chosen when you need the ready tools and tokens of the Ethereum ecosystem. The languages differ, Tact and Solidity, so a contract cannot be moved from one network to the other without rewriting it.

How much does Web3 development cost?

It depends on the complexity of contracts and the interface. We estimate after the brief and splitting the project into stages.

Can we start with a prototype?

Yes, it is a sensible path: first we test the idea on a test network and an interface prototype, and only then invest in a full product.

Do you build only contracts or the site too?

Both: smart contracts, the user interface and integration with your system.

We name the price and timeline after a short brief

Describe the task in a request. We will come back with a solution, a timeline and a price that we fix in the contract.

Discuss the project

Request a quote

Request topic

Or write to us directly:TelegramWhatsApp+7 999 219-35-01

  • We work with individuals and companies
  • A request does not oblige you to anything
Discuss the project

Request a quote

Request topic

Or write to us directly:TelegramWhatsApp+7 999 219-35-01