Lightlines
By caffeinelabs

migrating-motoko-actors

caffeinelabs2.3k installs

Change Motoko app data safely across upgrades.

What it does

Guides Motoko actor-state upgrades using automatically replayed migration files.

When to use it

Use when planning actor-state upgrades, choosing implicit or explicit migration, writing migration functions, or introducing stable state.

How to use it

It changes how the agent implements actor-state upgrades by requiring compatible state definitions, appropriate migration files, and upgrade-safety checks.

What you provide

  • An existing project

Latest review

What you need · 3

Requires the Motoko compiler at version 1.11.2 or newer.

Requires the core package at version 2.5.0 or newer.

Requires mops to check compilation and upgrade compatibility, then build the backend and updated IDL bindings.


Access · 0

No additional actions listed.