Skip to content

samkay-ops/invoice-storage-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Invoice Storage Optimization

Example of reducing struct/data size for lower storage cost in blockchain / Stellar projects.

Goal Demonstrate how to optimize data structures (e.g. using u32 instead of u64 for timestamps) to minimize storage costs.

Techniques Shown

  • Using compact types where safe
  • Removing redundant fields
  • Before vs After size comparison
  • Tests to prevent data loss

Built as practice for performance optimization tasks.

Relevant for: Storage cost reduction issues in smart contracts.

About

Example of reducing struct/data size for lower storage cost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors