帖子
分享您的知识。
How to create multiple coins onchain via modules?
I'm trying to develop a module that can generate coins for prediction markets. I want these coins to be created by a factory class on-chain in a permissionless, verifiable way. However, I'm facing limitations with modules being unable to publish other modules and the restriction of initializing only one coin per module due to One Time Witness. I've also had to make my equivalent coin standard, which doesn't display as coins in users' wallets. Could there be a way to allow modules to create multiple types of coins on-chain in the next update?
- Move CLI
答案
1目前,您可以使用单个已部署的合约来使用 WASM 创建多种类型的硬币. 你可以在这里查看这种方法:https://docs.sui.io/guides/developer/nft/asset-tokenization. 这可能有助于你实现以更灵活和无需许可的方式创建硬币的目标.
你知道答案吗?
请登录并分享。
Move is an executable bytecode language used to implement custom transactions and smart contracts.