A web-based storage cost calculator for the Walrus decentralized storage network. Compare costs between individual blob storage and batch quilt storage to optimize your storage expenses.
- Real-time Pricing: Live cryptocurrency prices (WAL, SUI, BTC) from CoinGecko API
- Network Statistics: Current Walrus network capacity, usage, and epoch information
- Cost Calculator: Calculate storage costs for your files with customizable parameters
- Blob vs Quilt Comparison: Side-by-side cost analysis for individual and batch storage
- Instant Load: Optimized initial load with default values for immediate calculations
- Responsive Design: Mobile-friendly interface with adaptive layouts
- React 19.1.0 - UI framework
- Vite 7.0.0 - Build tool and dev server
- Tailwind CSS 4.1.11 - Styling
- JavaScript - ES6+
# Clone the repository
git clone https://github.com/reset-codes/blobboard.git
# Navigate to project directory
cd blobboard
# Install dependencies
npm install
# Start development server
npm run devnpm run devRuns the app in development mode at http://localhost:5173
npm run buildCreates an optimized production build in the dist folder
npm run previewPreview the production build locally
Edit /src/utils/constants.js to modify default values:
WAL_FALLBACK_PRICE- Default WAL price (0.25 USD)SUI_FALLBACK_PRICE- Default SUI price (1.0 USD)FROST_PER_MIB_PER_EPOCH- Default storage price (11000 frost/MiB)WRITE_FEE_FROST- Write transaction fee (20000 frost)MAX_FILES_PER_QUILT- Maximum files per quilt batch (660)
The application fetches data from:
- CoinGecko API: Cryptocurrency prices
- Walrus Network API: Network statistics and storage pricing
blobboard/
├── src/
│ ├── components/ # React components
│ │ ├── Header.jsx
│ │ ├── TopStatsBar.jsx
│ │ ├── RevenueSection.jsx
│ │ ├── StorageCalculator.jsx
│ │ ├── CostResults.jsx
│ │ └── Footer.jsx
│ ├── utils/ # Utility functions
│ │ ├── constants.js
│ │ └── costCalculations.js
│ ├── App.jsx # Main application component
│ ├── App.css # Application styles
│ └── main.jsx # Entry point
├── public/ # Static assets
├── index.html # HTML template
└── package.json # Dependencies and scripts
The calculator computes storage costs based on:
- Storage Size: File size in KB, MB, GB, or TB
- Number of Files: Quantity of files to store
- Storage Price: Current frost per MiB per epoch
- Write Fees: One-time transaction costs
Individual file uploads with separate write fees per file.
Batch uploads supporting up to 660 files per transaction, reducing write fees significantly.
- Added HTTP response status checks for API calls
- Optimized initial load with default values (11000 frost/MiB)
- Changed default WAL price to 0.25 USD for better accuracy
- Added division-by-zero protection in calculations
- Removed unused code and imports for cleaner codebase
- Updated write fee to use constant (20000 frost)
- Hide price ticker until API data loads
- Deleted backup files from source
- Initial release
- Basic cost calculator functionality
- Live API data integration
- Responsive mobile design
Contributions are welcome! Please feel free to submit issues or pull requests.
MIT License - feel free to use this project for your own purposes.
Created by Reset.sui