Web3 · DeFi

DeFi development: swaps, staking and lending

Smart contracts, screens and the data between them for swap, staking and lending protocols. Every figure and every risk is shown as the contract reports it. According to the National Bank, Kazakhstan’s approach to regulating DeFi is still to be set, so we build DeFi products for foreign markets and for licensed AIFC participants.

Contracts and interface from 1 000 000 ₸
Please notePazl develops software on the client’s assignment and does not provide digital asset services: we do not issue, hold or exchange digital assets and do not promise income. Projects that need a licence or registration (issuing digital financial assets, exchange, custody) are built for clients licensed by the National Bank of Kazakhstan or AFSA (AIFC), or for foreign markets. Unsecured digital assets are not a means of payment in Kazakhstan.What the law says →
Breakdown

What we build

A protocol, screens and data that match the chain.

SwapThe quote, slippage and price impact are visible before the person signs.
StakingLocking and withdrawing, periods and conditions exactly as the contract states them.
LendingSupply, borrow and repay, with the health factor and liquidation price on screen.
Liquidity poolsDeposit and withdraw, the pool share and the risk of impermanent loss, explained in words.
AnalyticsPositions, history and protocol data from an indexer, ready to export.
Smart contractsA spec in plain words, then Solidity or Rust, tests and a testnet.
What the law says

DeFi and Kazakhstan law

The Law on Digital Assets, the Law on Advertising, the Digital Code and a National Bank statement.

  • The approach to DeFi is still to come

    In its statement of 8 July 2026 on the new stage of the digital asset industry, the National Bank says that approaches to regulating decentralised finance (DeFi) will be set. Until they are, we build DeFi protocols for foreign markets and for licensed AIFC participants.[4]

  • Exchange in six cases only

    Issuing unsecured digital assets and organising their circulation, including buying, selling and exchanging them, is allowed in Kazakhstan only in the cases of Art. 12-1(1): by operators licensed or registered by the National Bank, through AIFC exchanges and licensed AIFC participants, under the National Bank’s special regime, and in three more cases unrelated to such products. These assets are not recognised as a means of payment (para. 2).[1]

  • Users from Kazakhstan

    Under the law, circulation of digital assets covers transactions in Kazakhstan or involving its citizens, residents and legal entities, including buying, selling, exchanging, transferring and holding them (Art. 1(4-3)). If the protocol is open to people in Kazakhstan, a lawyer assesses this before launch.[1]

  • Advertising without promises

    Advertising of digital assets may not guarantee income, give guarantees of future performance, including by announcing a rise in their market price, or urge people to profit by recruiting others (Law on Advertising, Art. 14). We do not promise figures on the protocol’s screens or in texts about it either.[2]

  • Smart contracts in the Digital Code

    A smart contract’s terms may be expressed in code if they can be reproduced in a form people understand (Art. 67(2)), and its dispute procedure must leave the final decision to a person (Art. 67(3)). That is why we write the spec in words before the code.[3]

Which to choose

Who we build for

Where the protocol will run is settled before the first line of code.

We build
  • A protocol or interface for a foreign market whose rules your lawyer has checked
  • A product for a licensed AIFC participant within its licence
  • An interface to a live protocol for a foreign audience
We do not build
  • DeFi for users in Kazakhstan for a client without a status
  • Promises of figures or income on screens and in texts
  • Holding users’ funds ourselves or running the protocol
Comparison

Fork or build your own

Someone else’s code is cheaper to start, but its assumptions and keys stay theirs.

Fork or build your ownForked protocolYour own build
ContractsSomeone else’s assumptionsWritten for your product, spec first
InterfaceGeneric and hard to changeBuilt around your users
AuditAn old report on code you have changedAn independent audit of your code before mainnet
Upgrades and keysMerge upstream changes or fall behindDecided up front, admin keys in a multisig
Step by step

How the work goes

From the protocol map to mainnet.

  1. Protocol map

    Every action, parameter and risk, written down in plain words.

  2. Contracts and tests

    Solidity or Rust, unit and fuzz tests, a testnet deployment.

  3. Screens

    Every figure read from the chain, every risk in view.

  4. Audit, then mainnet

    An independent audit, our fixes, admin keys in a multisig.

Checklist

What the work includes

Contracts and screens ready for auditors first, then for users.

  • A spec in plain wordsWhat each contract does, before the first line of code.
  • Tests and testnetUnit and fuzz tests, deployed to a testnet first.
  • Screens for web and mobileSwap, staking or lending in clear steps.
  • Risks in wordsSpending approvals, slippage and liquidation risk explained before signing.
  • Audit fixesWhatever the independent auditor finds, we fix and recheck.
  • Code and warrantyCode, repository and access are yours, with a 6-month warranty.
Important

No promises of income

Pazl writes software: we do not set the protocol’s rates or parameters, run it, hold users’ funds or issue tokens. The figures on screen come from the contract and sit next to the risks. The audit by an independent firm and network gas are paid separately, directly to them. This is not legal advice: your lawyer assesses your case.

Read next

Around a DeFi product

Contracts, exchanges, prices and the law.

Sources

Checked on 16 November 2026

  1. Law of the Republic of Kazakhstan No. 193-VII of 6 February 2023 "On Digital Assets in the Republic of Kazakhstan"
  2. Law of the Republic of Kazakhstan No. 508 of 19 December 2003 "On Advertising"
  3. Digital Code of the Republic of Kazakhstan No. 255-VIII of 9 January 2026
  4. National Bank of Kazakhstan: statement on the new stage of the digital asset industry, 8 July 2026

This is not legal advice. Laws change: before launch, check the current version on adilet.zan.kz and talk to a lawyer or accountant.

Questions

Short and to the point.

Do you set the rates users see?

No. Rates and parameters are set by the protocol and your team. We show them as the contract reports them, next to the risks, and never promise a figure.

Who checks the contracts?

An independent audit firm, before mainnet launch. We prepare the spec, tests and code for the audit and fix what it finds. The audit is paid separately, directly to the firm.

Can we launch a DeFi protocol for users in Kazakhstan?

According to the National Bank’s statement of 8 July 2026, approaches to regulating DeFi are still to be set, and exchanging unsecured digital assets in Kazakhstan is allowed only in the cases of Art. 12-1(1). So we build DeFi for foreign markets and for licensed AIFC participants. Your lawyer assesses your case.

What does DeFi development cost?

A first interface with its contracts starts from 1 000 000 ₸; the exact price follows the brief and goes into the contract. The audit and network gas are not included. What the price is made of is broken down on the pricing page.

Which chains do you build on?

Ethereum and compatible chains such as Arbitrum, Base and Polygon in Solidity, and Solana in Rust. Outside prices come from Chainlink oracles where the design needs them.

Will you issue a token for the protocol?

No, we do not issue or sell tokens. If a token is needed, we write its logic to the brief, and the client issues it under its market’s rules. In Kazakhstan the lawful route for an asset tied to property is a digital financial asset on a registered operator’s platform.

What should your DeFi product do?

Describe the protocol and the market, and we reply quickly with the scope and the next step.

Your selectionDeFi appPrice after the brief
The team gets your request; we reply during business hours.Price fixed in the contract before you pay.No calls unless you ask.
Request a quote
Project budget
Your request goes to the team. We reply by email, no cold calls.

Got a task? Write to us.

Describe your project on WhatsApp or by email. We reply during working hours and name the price after the brief.