
This tool helps developers optimize smart contract code by tracking function call frequency, displaying cost per execution with notable variations, calculating average resource consumption for benchmarking, and offering optimization suggestions to reduce resource usage and improve contract efficiency.
Yes
$18.2K
1. User Adoption: A significant percentage of developers actively using the tool during their development processes.
2. Feedback and Satisfaction: Positive user feedback and high satisfaction ratings regarding usability and effectiveness in monitoring resource consumption.
3. Continuous Improvement: Regular updates and enhancements based on user feedback and changing development needs.
Looking ahead, while our current focus is on optimizing development workflows through essential resource tracking, we aim to expand the tool’s functionality to further support the Soroban ecosystem as it grows. This will reinforce Stellar’s commitment to developer support and network sustainability, with an emphasis on enhancing workflows and contributing to the chain’s long term performance and scalability.
Background
Soroban Resource Usage Reporter is designed to meet the specific needs of developers working within the Soroban ecosystem. In the coding and testing phases, this tool enables developers to efficiently track resource usage through key metrics, much like Hardhat Gas Reporter helps Ethereum developers streamline contract efficiency. By offering insights into these metrics, developers are empowered to write more efficient and cost-effective smart contracts from the very start.
For Stellar, this tool can help drive adoption and best practices within the ecosystem. By providing developers with early-stage resource usage tracking and optimization suggestions, Stellar can foster a community that is conscious of resource efficiency, which is crucial for maintaining scalability and cost-effectiveness across the network.
Additionally, as developers refine their contracts with the help of our Resource Usage Reporter, this can lead to better overall performance and lower transaction costs on the Stellar chain, contributing to Stellar’s long-term success.
Goal
We propose to develop a Node.js-based Resource Usage Reporter tool specifically for Stellar, designed to offer developers detailed insights into resource consumption metrics during their coding and testing cycles. The primary aim is to enable developers to track key data points, such as execution frequency and resource fee, and receive basic suggestions for improving efficiency.
Looking ahead, while our current focus is on optimizing development workflows through essential resource tracking, we aim to expand the tool’s functionality to further support the Soroban ecosystem as it grows. This will reinforce Stellar’s commitment to developer support and network sustainability, with an emphasis on enhancing workflows and contributing to the chain’s long term performance and scalability.
Considering resource limitations, the resource usage reporter will assist developers in optimizing their smart contract code by highlighting cost variations in contract function calls under constrained resources, as well as displaying function call runtimes. The insights provided in the generated table will guide developers in reducing resource consumption, managing fee limitations, and improving the speed of contract function execution.
https://docs.google.com/document/d/1gAGDgGSSGEKMWUDlbCoPF0owVu3Cwl38YKdcqKB_eTc/edit
1.Resource Usage Reporter library github repository
We need to develop the resource usage reporter, including encapsulation of objects and functions, clean code, and a well-designed way to use it.
Resource usage reporter library implementation
Resource usage reporter library documentation
Unit test & 100% test coverage
2.Npm package
Once it was complete, we needed to release the resource usage reporter to npm in order to make it available to a wide audience of developers.
3.Resource usage reporter demo github repository
To help guide developers in using the resource usage reporter, we will provide a simple but comprehensive demo code to get started. We will based on soroswap to build in our resource usage reporter then display the result of it.
Resource usage reporter demo implementation
Resource usage reporter demo documentation
The user portal for the resource usage reporter demo
4.UAT support
Fix the relevant bugs from the UAT period.
As Soroban Resource Usage Reporter is an auxiliary development tool, it can be applied to Local Network, Testnet, and Mainnet directly.
As Soroban Resource Usage Reporter is an auxiliary development tool, it can be applied to Local Network, Testnet, and Mainnet directly.
57Blocks helps web3 companies launch and accelerate their protocols and applications, with a particular focus on smart contracts and on-chain/off-chain integration.
We incubate early ideas, collaborate on protocol and smart contract design, and provide the resources to launch to market and capture mindshare faster.

No other submissions.