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 ₸What we build
A protocol, screens and data that match the chain.
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]
Who we build for
Where the protocol will run is settled before the first line of code.
- 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
- 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
Fork or build your own
Someone else’s code is cheaper to start, but its assumptions and keys stay theirs.
| Fork or build your own | Forked protocol | Your own build |
|---|---|---|
| Contracts | Someone else’s assumptions | Written for your product, spec first |
| Interface | Generic and hard to change | Built around your users |
| Audit | An old report on code you have changed | An independent audit of your code before mainnet |
| Upgrades and keys | Merge upstream changes or fall behind | Decided up front, admin keys in a multisig |
How the work goes
From the protocol map to mainnet.
- Protocol map
Every action, parameter and risk, written down in plain words.
- Contracts and tests
Solidity or Rust, unit and fuzz tests, a testnet deployment.
- Screens
Every figure read from the chain, every risk in view.
- Audit, then mainnet
An independent audit, our fixes, admin keys in a multisig.
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.
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.
Around a DeFi product
Contracts, exchanges, prices and the law.
Checked on 16 November 2026
- Law of the Republic of Kazakhstan No. 193-VII of 6 February 2023 "On Digital Assets in the Republic of Kazakhstan"
- Law of the Republic of Kazakhstan No. 508 of 19 December 2003 "On Advertising"
- Digital Code of the Republic of Kazakhstan No. 255-VIII of 9 January 2026
- 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.
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.
Terms on this topic
What should your DeFi product do?
Describe the protocol and the market, and we reply quickly with the scope and the next step.