You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To provide an extension mechanism for third-party developers, enabling them to extend the minting methods of Movescription through custom plugins. We can refer to this type of extension as a "mint_factory".
Mint Factory Extension Requirements
Require wrapping other assets during minting, such as MOVE.
Allow random selection within a limited set, such as for issuing game props.
Require users to hold a certain asset to mint.
Minting can only be done through third-party application programs, such as generating Movescription through game actions within a game.
Mint Factory Solution
Deploy Tick with a WITNESS parameter, recording the calling module name as mint_factory.
Provide a mint_with_witness method. The caller also needs to pass the WITNESS, ensuring in the movescription that this WITNESS must come from mint_factory. This effectively opens up the construction method for Movescriptin, with the specific strategy implemented by the developer.
Built-in Mint Factories
epoch_bus_factory: The minting mode used by MOVE movescription. Settle once every epoch, with addresses participating in minting during the epoch sharing the amount equally. If full (500), the bus departs immediately, starting the next epoch.
mint_get_factory: Mine and Get, receiving a movescription with each mint. Supports participation in minting with SUI or MOVE.
Developers can implement other requirements in their own applications. If there is a demand common to multiple applications, it can be submitted to the protocol repository for joint maintenance.
动机
提供扩展机制给第三方开发者,开发者可以通过自定义插件来扩展 Movescription 的 mint 方式,我们可以把这种扩展叫做铸造工厂(mint_factory)。
Motivation
To provide an extension mechanism for third-party developers, enabling them to extend the minting methods of Movescription through custom plugins. We can refer to this type of extension as a "mint_factory".
Mint Factory Extension Requirements
Mint Factory Solution
mint_factory
.mint_with_witness
method. The caller also needs to pass the WITNESS, ensuring in the movescription that this WITNESS must come frommint_factory
. This effectively opens up the construction method for Movescriptin, with the specific strategy implemented by the developer.Built-in Mint Factories
epoch_bus_factory
: The minting mode used by MOVE movescription. Settle once every epoch, with addresses participating in minting during the epoch sharing the amount equally. If full (500), the bus departs immediately, starting the next epoch.mint_get_factory
: Mine and Get, receiving a movescription with each mint. Supports participation in minting with SUI or MOVE.Developers can implement other requirements in their own applications. If there is a demand common to multiple applications, it can be submitted to the protocol repository for joint maintenance.
动机
提供扩展机制给第三方开发者,开发者可以通过自定义插件来扩展 Movescription 的 mint 方式,我们可以把这种扩展叫做铸造工厂(mint_factory)。
铸造工厂扩展需求
铸造工厂方案
mint_factory
。mint_with_witness
方法,调用方也需要传递 WITNESS,movescription 中确保该 WITNESS 必须来自mint_factory
。相当于开放了 Movescriptin 的构造方法,具体的策略由开发者自己实现。内置的铸造工厂
epoch_bus_factory
:MOVE 铭文采用的铸造模式。每个 epoch 结算一次,epoch 内参与铸造的地址平分铭文。如果满员(500),则立刻发车,开启下一个 epoch。mint_get_factory
: 即挖即得,每次铸造获取等额的铭文。支持用 SUI 或者 MOVE 来参与铸造。其他需求开发者可以在自己的应用中实现,如果是多种应用通用的需求,可以提交到协议仓库,共同维护。
The text was updated successfully, but these errors were encountered: