Mobile and desktop interfaces of the Mantra DAO platform

Mantra DAO

Community-governed DeFi platform

  • Blockchain
  • Web
  • Cryptocurrency
  • FinTech
  • Trading
  • Blockchain
  • Web
  • Cryptocurrency
  • FinTech
  • Trading

About the client

Our client, Mantra DAO, is developing a community-governed DeFi platform aimed at giving financial control back to users through a transparent and decentralized ecosystem. The platform is focused on lending, staking, governance, and launchpad services.


PixelPlex helped the client build an efficient DeFi solution by developing smart contracts, deploying new staking pools, performing a migration to the Solana blockchain — and delivering a range of other enhancements.


  • Solidity developer
  • Backend developer
  • Frontend developer
  • Rust developer
  • Go developer
  • Project manager

Business opportunity

  • Initially, the client brought in a third-party service provider to assist them with the development of their DeFi platform. However, the resulting platform had inefficiencies such as bugs in existing smart contracts that needed to be fixed.
  • Aiming to continually improve the platform, the client wanted to enhance it with new functionality by implementing new smart contracts and adding new platforms, including Binance Smart Chain and Polygon (being built as a Polkadot-first project, the platform only supported Ethereum when the customer approached PixelPlex). These changes would allow Mantra DAO to offer services on different blockchains.
  • The client chose PixelPlex to complement their in-house team and join their project as a trustworthy technology services provider with extensive experience in blockchain and smart contracts development.

Project goals

Together with the client, we established the key project goals:

  • 1

    Improve the performance of the Mantra DAO platform and eliminate inefficiencies

  • 2

    Add new smart contracts and staking pools

  • 3

    Incorporate multi-chain support

  • 4

    Add new functionality to the existing platform

Work done

  • check-icon

    Development of smart contracts

  • check-icon

    Deployment of new staking pools

  • check-icon

    Migration from staking pool V1 to staking pool V2

  • check-icon

    Extension of the existing functionality to new platforms (Binance Smart Chain, Polygon)

  • check-icon

    Bug fixes, UI enhancements, and inefficiencies resolution

Project features

A blue and green icon of a chain

Multi-chain support, including Ethereum, Binance Smart Chain and Polygon

A blue and green icon of a three layers

Multiple staking pools on different networks

A blue and green icon of a gear

The ability to manage assets staking and governance in one place

A blue and green icon of a segmented circle

The platform’s own token – OM token

A blue and green icon of a bullet list

Secure smart contracts for staking pools

A blue and green icon of a light bolt

Zendit launchpad solution offering all the necessary tools and resources for organizations to launch their tokens


he interface of a home page of the Mantra DAO platform
The interface of a dealings page of the Mantra DAO platform
The interfaces of exchange pages of the Mantra DAO platform
* The design of layouts was provided by the client.
Smart contracts development

One of the largest of Mantra DAO’s modules is Staking, which allows users to stake tokens and receive token rewards. The company offers both single asset and LP staking pools. The client had already developed staking smart contracts when we joined the project, but they had bugs that could lead to potential security issues in the production environment.

To prevent security problems, our team resolved the bugs in the LP staking smart contract and followed up with unit tests. We also developed a smart contract for single asset staking from scratch. The logic we introduced makes it easy to roll out new staking pools.

Staking pools deployment

Mantra DAO regularly partners with different organizations and adds further new tokens to staking pools. For each partnership our specialists deploy new staking pools based on the parameters provided by the customer (for example, token owner or token rewards).

To begin with, our team implemented new staking pools on the Ethereum network. In order to offer a chain-agnostic solution, the client extended their staking to Binance Smart Chain and Polygon, so our team is now also responsible for deploying new staking pools for these platforms.

Throughout the project we deployed 60+ staking pools on different networks (Ethereum, Binance Smart Chain, Polygon).

Security audit

Focusing on enhanced security, the customer approached SlowMist – a company engaged in blockchain ecological security – to perform security audits of smart contracts developed by our team. After a detailed analysis and testing, our smart contracts successfully passed the audit with no major issues found.

Zendit launchpad implementation

PixelPlex assisted the client with the development of Zendit launchpad. It uses a decentralized fixed swapping protocol which provides transparency with regard to the number of tokens offered during a token launch. Zendit offers the client’s partner organizations the necessary resources and support to launch their tokens.

Dutch Auction mechanism

The distinctive feature of the implemented launchpad is that it offers the opportunity to use a Dutch Auction style of launch in addition to standard fixed swap protocols. The major benefit of the Dutch Auction mechanism lies in it being a decentralized and democratic way of determining the price of a company’s coin, where bidding for an item begins with a high asking amount which is systematically lowered until a user makes the winning bid and the item is sold.

Migration to staking pool V2

PixelPlex assisted the client in implementing the logic for migration from staking pool V1 to staking pool V2 and token swap to OM V2.

OM V2 is an enhanced version of the OM token, which has many important advantages, including but not limited to:

  • auto-compounded staking rewards
  • immediate unstaking for a fee
  • the ability to cancel unstaking and automatically re-stake
  • improved countdown timer (seconds, minutes, hours, days).

Thanks to the implemented logic, Mantra DAO end users can migrate to a new version in only a few clicks and start staking OM V2 tokens.

Development of a migration mechanism

The major problem was that the first version of the staking pool developed by the client didn’t have migration functionality. It was essential that users’ existing assets could be seamlessly migrated to staking pool V2 so that users who had tokens in staking pool V1 could easily receive rewards in the new staking pool.

Our team conducted technical research to make the required migration possible. We made changes to the existing architecture of the solution and implemented a migration mechanism. As a result, the platform’s users were able to easily move to staking pool V2 without losing their existing tokens and rewards.

Got an idea? Let’s work together

Moving from Ethereum to Solana

Benefits of using Solana

Having initially built their DeFi platform on Ethereum the client decided to switch to Solana. Solana has multiple benefits over the Ethereum blockchain, such as:
  • A green checkmark

    The use of PoS consensus algorithm

  • A green checkmark

    Frequent transactions (more than 65,000 per second)

  • A green checkmark

    Better scalability

  • A green checkmark

    Lower transaction cost ($0,00025)

Prepared research

Our blockchain consultants prepared research, which covered multiple aspects and the various peculiarities of the Solana blockchain. It included details such as a high-level overview of the platform, the ownership of accounts, a guide on how to create a coin in Solana, and returning values from cross-program invocations.

When the final decision to move to Solana was made, the client asked our team to choose the optimal migration strategy and then proceed with the chosen variant. PixelPlex tech specialists researched different migration options, evaluating the pros and cons of each scenario.

Choosing the best migration strategy

  • 1st strategy

    Use Neon virtual machine to run Solidity contracts directly in Solana

    • Dependency on the Neon project
    • This approach offers less flexibility due to the dependency on a third-party tool
    • A simple solution as it may not require writing any code
    • Neon is very immature, which results in bugs and limitations (e.g. we faced many issues trying to deploy a simple Ethereum contract)
    • It is a whole new ecosystem with its own coins (which are now sold to private investors)
    • It can only be used for Solana
  • 2nd strategy

    Rewrite everything in Rust

    • There is no dependency on any project
    • Better overall flexibility
    • It will take more time compared to using a virtual machine, yet the performance can be tuned to fit the client’s need
    • The maintenance burden
  • 3rd strategy

    Compile Solidity contracts into Solana’s blockchain using Solang

    • Compile Solidity contracts into Solana’s blockchain using Solang
    • Better flexibility as some of the contracts may be rewritten completely while others will be recompiled by Solidity compiler
    • A simple solution as there is no need to completely rewrite all the contracts
    • Solidity contracts must be tuned to circumvent restrictions of Solang
    • Assembly language can't be compiled (but it is used in the MANTRA Dao stake contracts)
    • Sizes of integers must not be higher than 64 bit (whereas they are bigger in the project)
    • Need to write code in order to trigger these smart contracts, which will add to the maintenance burden

Initially, we considered taking advantage of the Solang compiler due to its flexibility and time-efficiency. However, after reviewing the limitations associated with Solang, we decided to go with rewriting everything in Rust. This approach allowed us to achieve increased flexibility and performance. Currently our team is in the process of migrating to the Solana blockchain.


  • 60+

    staking pools deployed

  • $23M

    total value of stacked assets (as of April 2022)

  • Services IT R&D RESEARCH & DEVELOPMENT In this ever-evolving tech realm, don't just follow trends — set them.Capitalize on innovation, launch ground-breaking products, and forge new business models for maximum ROI. IT Consulting CONSULTING From complex enterprise tech transformation to the innovative project launch, our team supports businesses at different stages of their projects.Come along, we’ll help you get an edge and play big on the global market. Custom Software Development CUSTOM ENGINEERING Let us have your back in a project of any scale. From user-centric mobile apps to full-blown cross-platform enterprise ecosystems — we’ll bring your concept to life, exactly as you think it should look and work. Mobile App Development MOBILE APP DEVELOPMENT Entrust us with your end-to-end mobile project — from ideation and engineering to app launch and integration.With business growth in mind, we’ll help you hit the market with a slick iOS, Android, or cross-platform app. Mobile App Development iOS App Development Android App Development Cross-Platform App DevelopmentWeb Development WEB DEVELOPMENT Whether you need an app from the ground up or require a legacy system to be updated, we can jump in at any stage.From an accessibility roadmap to post-launch support, we’ll help your business stay strictly legal and competitive. Web Development Web Accessibility Audit Web Accessibility Consulting Accessible Web Development and DesignDevSecOps DevSecOps Ensure your software's integrity and efficiency from conception to compliance. UI/UX Design UI/UX DESIGN Give us the pleasure of adding our secret sauce to your app.We’ll create beautiful screens at the front while breaking the limits of what’s behind them to help your app get to beyond-plausible business achievements. QA & Software Testing QA & SOFTWARE TESTING Engage us for integrated quality assurance services, and our experts will advise on QA strategy and optimize software testing costs.We’ll balance manual testing with QA automation to ensure consistent performance for all possible use cases and devices.
  • Technologies Blockchain BLOCKCHAIN DEVELOPMENT Blockchain Development Blockchain Consulting NFT Development STO Development ZK Rollup Solutions Enterprise Blockchain Development Smart Contracts Development Smart Contract Audit DApp Development Cryptocurrency Exchange DevelopmentData Science DATA SCIENCE Transforming data into growth strategies is our specialty.Leverage our expertise to unlock the potential of your big data and diverse digital assets, driving business growth. Big Data Consulting Data Analytics Business Intelligence Data VisualizationMachine Learning and AI ARTIFICIAL INTELLIGENCE Machine Learning Predictive Analytics Computer Vision Custom AI Development Chatbot DevelopmentAR & VR AUGMENTED VIRTUAL REALITY Immerse your customers into a universe of unimaginable and give them truly novel experiences with AR, VR, and Mixed Reality.We'll help define a proper business concept and find a balance between legacy workflows and next-gen customer engagement solutions. Metaverse METAVERSE We create tools, assets, and ecosystems to seamlessly merge real-life and digital worlds within your Metaverse projects.It could be a multi-layer virtual space or a unique artwork item. Either way, we’ll deliver it — ready and working. Connected Devices (IoT) INTERNET-OF-THINGS Aching to handle digital and physical asset management? We build load-resistant IoT services, both enterprise and consumer.Hit us with IoT consulting, app development, back-end engineering, or existing infrastructure revamping – we’ll nail it down.
  • Industries FinTech & Banking FINTECH & BANKING As traditional finance goes digital, we are committed to building efficient ecosystems and better engagementThink of customized FinTech solutions with tamper-proof transactions and storage, progress transparency and automation — and we’ll make them see the light of day. Retail & eCommerce RETAIL & ECOMMERCE Whether you market B2B or B2C, commerce tech trends are all about value-driven purposes, global sustainability, hybrid shopping journeys, and extra-resiliency.Let your clients know that there’s more to your brand than meets the eye by creating unique customer experiences in all your stores. Supply Chain & Logistics SUPPLY CHAIN & LOGISTICS To make things easier for all vendors, we deliver apps for route and cost optimization, vehicle operational support, and better dispatch time efficiency.With focus is sustainability, resilience, transparency, and immutability, let’s get your transformation going. Healthcare HEALTHCARE Custom healthcare software solutions are aimed at helping you ensure accurate diagnosis, better patient engagement, and positive healthcare outcomes.Whether you require a patient management solution, practice management software, EMR/EHR system, or ML-enabled diagnostics – we’ve got you covered. Real Estate REAL ESTATE Keep up with digital innovation trends by accelerating enterprise transformation and scaling, leveraging data and orchestrating workflows.Whether you manage and sell commercial facilities or invest third-party capital, our integrated solutions help you make the most of it. Oil & Gas OIL & GAS With mobility and digital technologies standing to change the game and define leadership, our mission is to get you digital-first.Resolve operational and conceptual issues by introducing clear tech vision, feasible architectures, and flexible software to take business extension off limits.
  • Solutions Know-Your-Transaction KYT platform ensures financial integrity, compliance, and proactive risk management. Control your operations seamlessly with real-time API integration. DocFlow Secure workflows, decentralized storage, and total document control. Streamline your processes with our business document management system. Arbitrage Bot Alternate your yield channels, maximize investment efficiency, customize trading strategies, and execute profitable low-risk transactions. CryptoAPI Connect your dApps to blockchains commission-free. No need for heavy database upload, infrastructure updates, or a dedicated engineering team. OTC Hawk Redefine wealth and portfolio management at your firm, outpacing your competitors. Make crypto/fiat trading easy and profitable for your clients.
  • Success stories Blockchain Government & Enterprise Energy & Utilities Financial Services Supply Chain Healthcare Retail & eCommerce See all projects
  • Company About us Team News Careers Scholarship CSR Contacts
  • Blog