News, Product, Product overviews

Development Report – Algem (Bi-Weekly Update)

Overview:

Hello Algem users!

Welcome to our latest bi-weekly development report! Our development team has been diligently working to refine and enhance the Algem platform, focusing on testing, optimization, and preparing our smart contracts for upcoming audits. Here’s a detailed breakdown of what Danny and Alex have been working on in the past two weeks.

TLDR:

Over the past two weeks, Danny focused on preparing the front-end and point system for the testnet, refining admin functions, and getting the code ready for audit. Meanwhile, Alex worked on testing and optimizing the Liquid Crowdloan and Liquid Staking V2 contracts, improving gas efficiency and ensuring smooth cross-network operation.

Smart Contracts Progress

Testnet Preparations and Code Refinement – Danny:

During the first week, Danny’s primary objective was to prepare the platform for the testnet by debugging front-end functions and updating the point system infrastructure. Several adjustments were made to the new contract getters, adding missing parameters and tweaking the behavior of some functions to improve their performance. This ensures that data flows correctly between the contracts and the front-end, which is crucial for a seamless user experience.

On the infrastructure side, Danny enhanced the point system with new security features, such as certificate updates and cross-origin policies, making the system more robust and secure for external interactions. Additionally, he created a helper contract that allows the generation of mock pool rewards and the minting and burning of liquidity, facilitating more comprehensive testing scenarios.

In the second week, Danny shifted his focus to preparing the code for audit. This involved a thorough review of all admin functions to ensure that they work as intended and provide the necessary control over the system. He also removed testnet-only functions that are irrelevant for the mainnet deployment. Danny took the time to update Natspec comments across all contracts, which are essential for documentation and understanding the code during audits. Finally, he refactored the test scripts, separating testnet scripts from mainnet code to streamline the testing process.

Liquid Crowdloan and Liquid Staking V2 Progress – Alex:

During the first week, Alex concentrated on testing the LiquidCrowdloan, resetting the crowdloan period to ensure everything worked smoothly. He launched a new crowdloan to test the user interface and functionality, ensuring that participants could easily interact with the system without any issues. The second half of the week saw Alex turn his attention to LiquidStakingV2. Through rigorous testing, he identified an opportunity to improve the way data is packaged for CCIP (Cross-Chain Interoperability Protocol) calls. This change not only made the code more readable but also reduced gas costs, making the system more efficient.

In the second week, Alex continued his work on LiquidStakingV2, focusing on optimizing the stake and unstake logic for the Astar and Soneium networks. These functions are among the most resource-intensive, so reducing their gas consumption was a key goal. By optimizing these areas, Alex ensured that users will benefit from lower transaction costs when staking or unstaking their assets. Testing on these contracts is still ongoing, with further improvements being explored. Additionally, Alex gathered the monthly staking data for LiquidStaking participants, providing valuable insights into user activity and contract performance.

Conclusion:

The past two weeks have seen considerable progress in preparing the Algem platform for the next stages of development. Danny’s work on testnet preparations, admin function review, and code refactoring sets the stage for a successful audit, while Alex’s focus on optimizing LiquidCrowdloan and LiquidStakingV2 ensures that cross-network functionality and gas efficiency are prioritized.

As always, we are committed to refining the Algem platform to provide the best experience for our users..

Stay tuned for more updates in the coming weeks, and thank you for your continued support!

About Algem

Algem is a decentralized application built on the Astar Network and offers two main features: liquid staking and liquid farming. As their names suggest, these two options let ASTR holders keep their assets liquid while putting them to work. Also, the liquid staking and farming solutions let users use Algem’s liquid nASTR tokens across Astar’s Defi ecosystem to earn staking rewards and make more money. In doing so, Algem supports other Defi protocols by providing liquidity and creating a sustainable and cooperative ecosystem on the Astar Network and Polkadot.

Join Our Growing Community!

Website | Twitter | Discord | Telegram