Development Services for Aerum Blockchain Platform

1841e246-74ac-405d-bed1-706d2c6363e9
exyte
  • Score Awaiting client review
    n/a
  • Date Published
  • Reading Time 4-Minute Read
image01

Reducing transaction costs for a FinTech oriented platform with a proof-of-stake mechanism for sidechains.

Background

Ethereum blockchain for business

Ethereum, being one of the most popular blockchain-based distributed computing platforms, offers a wide variety of applications not only in the financial sphere but for any type of business where transparency, trustless data retention, and cryptographic proofs can help combat traditional scalability barriers.

Blockchain scalability issues

However, it still has a very high entry barrier when embedding it in your business, When a project grows it inevitably starts to slow down the network and get the cost of transactions unreasonably high. The network then shows less than optimal performance which makes it unsuitable for speed-sensitive real-time applications.
Our client, Aerum, had an idea to create a blockchain platform that is reliable, fast, and free for the end-user, while still being 100% compatible with Ethereum.

Objective

Aerum offers its clients a business blockchain platform for authenticating and transacting in digital assets, including marketing tokens, financial products, cryptocurrencies, etc. They wanted to create a way to adopt and integrate blockchain solutions with maximum efficiency and minimal effort.

As Aerum’s Whitepaper states: “With Aerum any company will be able to build a reliable, scalable and decentralized blockchain solution quickly and easily. Using Aerum PetalChains – a multi-chain scaling solution in conjunction with atomic swaps ensures breakthrough improvements when compared with transactions on the Ethereum mainnet, as well as providing enterprise-ready block times”.
The project would not rival, but instead complement Ethereum, being 100% compatible with it on a dApp and smart-contract level while offering in its basic form about 350% better network throughput and reaching transaction finality after 10 seconds.

The system includes:

  • Full integration with Ethereum for easy and secure token transfers (on-chain/off-chain atomic swaps).
  • A highly decentralized consensus algorithm.
  • Decentralized token exchange.
  • Fully-developed software integration toolkit for users/merchants, dApps, marketplaces, and various liquidity providers.

Process

Aerum had an ambitious goal and concluded the research and analysis step, releasing a white paper with the specifications of the platform.

Developing a proof-of-stake mechanism

Exyte came on board during the development phase as a Solidity-based smart contract developer. The project was moving very fast, which posed a number of challenges for us. These challenges included:

  • Adopting a development process to quickly test out prototypes while retaining a high-quality codebase.
  • Optimising performance, especially for deployment.
  • Quickly finding a way to update already deployed contracts.

Challenges

Quick Prototyping

Testing out a lot of different implementation approaches was essential, and eventually the dev team settled on a 1 week cycle. It included daily discussions about the desired changes, quick prototyping and testing, and in case the change was deemed beneficial, test coverage and main codebase integration.

Performance optimisation

There was a problem with the newly introduced code, which would not perform as fast as we wanted. We learned that some of the usual approaches don’t translate well to Solidity contracts where performance is crucial. For example, we switched from an object-oriented approach to using custom highly efficient algorithms on row data arrays, and in the end saw a 2x improvement of deployment cost and 3x improvement of execution cost.

Updating deployed contracts with ZeppelinOS

During development, Aerum decided to provide the ability to update already deployed contracts. We researched all available options and in the end, chose ZeppelinOS. It’s a great system with a reasonably easy API, but nevertheless including it as soon as possible proved to be a challenge.

Result

Exyte was a part of a project for 7 months, during which our team implemented a number of the infrastructural smart contracts powering the core of the Aerum, as well as providing general input to the overall performance and stability of the system. Aerum was pleased with our contribution, saying our team member was a “very skilled Solidity developer with a wide array of knowledge.”

Just recently Aerum launched a crowd sale round, raising money to continue the development and introduction of new features.