Skip to main content

Stable memory

The Region library can be used to interact with stable memory on ICP.

The library provides low-level access to Internet Computer stable memory.

The ExperimentalStableMemory library has been deprecated.

New applications should use the Region library: it offers additional isolation between different libraries using stable memory.

Mops packages for stable memory

  • memory-buffer: Persistent buffer implementation.

  • memory-hashtable: A library for storing, updating, deleting, and retrieving a single blob-value per key.

  • StableTrie: A key-value map data structure that has its main data living permanently in stable memory using Regions.

Samples

Logo