MvrClient class
Move Registry (MVR) resolver: turns @org/app package names and MVR-named
types (e.g. @org/app::module::Type) into on-chain package IDs / fully
qualified type tags.
Backed by Mysten's public <network>.mvr.mystenlabs.com HTTP service.
Inputs without an @ are returned unchanged.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePackage(
String package) → Future< String> -
Resolve an MVR package name (
@org/app) to its package ID. Returns the input unchanged if it is not an MVR name. -
resolveType(
String type) → Future< String> -
Resolve MVR-named types inside
typeto their fully qualified type tags. Returnstypeunchanged if it contains no MVR names. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
forNetwork(
SuiNetwork network, {Dio? dio}) → MvrClient? - Construct for a network's public MVR endpoint (null for devnet/localnet).