> For the complete documentation index, see [llms.txt](https://gotolabs.gitbook.io/merklepatriciatrie/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gotolabs.gitbook.io/merklepatriciatrie/storage/mpt.md).

# MPT

MPTMemoryStorage is a tailored in-memory key-value storage solution, specifically designed to be lightweight and efficient for the MerklePatriciaTree's operations.

🔄 **Integration with MerklePatriciaTree:**\
MPTMemoryStorage is instrumental for generating proofs within the MerklePatriciaTree. Given its in-memory nature, access times are rapid, making it an ideal choice for proof generation. Furthermore, its simplicity and efficiency make it a preferred storage during unit testing, ensuring quick and reliable tests without the overhead of disk-based storage.

📚 **Learn More:**\
MPTMemoryStorage is a part of the MerklePatriciaTree project, and its implementation can be explored directly within the project's [GitHub repository](https://github.com/Aleksao998/MerklePatriciaTrie/blob/main/storage/mpt/mpt.go).
