Hackless – Staking System Development
The Hackless platform seeks to enhance the security of DeFi protocols by providing a thorough set of monitoring tools, analytics, and security services. The task at hand was to establish a standardized DeFi staking system for the platform, which involved creating a MasterChief-style staking contract in Solidity. Although the contract was based on a standard model, it incorporated unique features, such as a custom commission system, lock/unlock periods, safe rewards distribution, and the capability to reinvest rewards into staking in a single transaction. The project also encompassed the implementation of a dApp and preparation for UI design.
In terms of development, we assembled a robust team comprising a blockchain Tech Lead, a Solidity developer, a frontend developer, a blockchain architect for reviews and approvals, a QA specialist, a project manager, and a designer.
We faced challenges in distributing a specific amount of funds within a designated timeframe, as well as the need to extend this timeframe and adjust reward amounts as necessary. Consequently, a standard MasterChief solution was not suitable for our requirements. On the dApp page, we also needed to include a dynamic APY/APR that reflects real-time data rather than fixed values.
Ultimately, our efforts led to the Hackless team receiving a well-crafted, standardized DeFi staking system in Solidity. This system features a customized MasterChief staking contract, including modifications for commissions and lock periods, along with a rewards system tailored to Hackless's needs and the implementation of the dApp. The technologies used included Solidity, JavaScript, Node.js, Hardhat, and React.