Packages
Utilities
The example code snippets used in this guide are experimental and have not been audited. They simply help exemplify usage of the OpenZeppelin Sui Package.
The openzeppelin_utils package provides reusable, embeddable building blocks for Sui Move protocols. Its modules are plain values you compose into objects you already own, rather than standalone services with their own lifecycle, registry, or admin surface.
Usage
Add the dependency in Move.toml:
[dependencies]
openzeppelin_utils = { r.mvr = "@openzeppelin-move/utils" }Import the module you want to use:
use openzeppelin_utils::rate_limiter::{Self, RateLimiter};Modules
Next steps
- Rate Limiter for the module guide and key concepts.
- Utilities API reference for function signatures and errors.
- Access for role-based authorization to gate the functions that consume a limiter.