This repository hosts the source code for scripts designed to generate informal and data analysis content utilized across WeaveVM platforms.
This script provides an outline of the DA costs across various DA solutions. In this case study, we do not account for any data compression or utilize data serialization methods other than JSON for WeaveVM data on Arweave. As a result, the costs are approximately 2x higher than they could potentially be with these optimizations.
Here, we have recalculated the DA costs, achieving an approximate 50% reduction in data costs for settling data on Arweave by employing Borsh serialization.
This comparison shows that using Borsh serialization results in approximately a 26.6% reduction in data size compared to JSON serialization (~50% achieved in Rust Borsh). This reduction significantly lowers the Arweave fees incurred by WeaveVM for posting data on Arweave.
In this section, we test various compression algorithms using two data serialization methods (JSON and Borsh) on an empty WeaveVM block.
This repository is licensed under the MIT License