What's Changed
This release introduces storage and access-control support, improved asset and logic creation flows, native asset standard support, and several important bug fixes.
Highlights
Storage & Access Control
• Added storage deposit and withdrawal interactions.
• Added access policy create, update, and delete operations.
• Added RPC methods for storage metrics, pricing, and access policies.
Automatic Funding
Asset and logic creation now automatically funds newly created accounts with KMOI to cover their initial storage costs.
The funding amount can be customized through RoutineOption.
Asset & Logic ID Prediction
• Added predictAssetId and predictLogicId for predicting account IDs before creation.
Native Asset Standards
• Added dedicated creation flows for MAS0, MAS1, and MAS2 assets.
• AssetFactory is now dedicated to custom MASX asset deployment.
State API Improvements
• Renamed PersistentState to LogicState.
• Renamed EphemeralState to ActorState.
• Updated the SDK terminology to match the current manifest syntax.
Bug Fixes & Validation
• Fixed BigInt asset supply handling.
• Fixed asset ID validation.
• Fixed malformed logic IDs in logic invokes.
• Added fail-fast validation for missing call sites during asset and logic deployment.
Breaking Changes
• AssetFactory.create() now requires a manifest for custom asset deployment and deploys MASX assets.
• Native MAS0, MAS1, and MAS2 assets should be created through their respective AssetLogic.create() methods.
• PersistentState → LogicState
• EphemeralState → ActorState
Full Changelog: v0.7.1...v0.8.0