Post
Share your knowledge.
Can modules generate multiple coins onchain seamlessly?
I’m working on a module for prediction markets and need it to generate coins onchain through a factory class in a permissionless and verifiable way. Currently, modules have limitations like only one coin per module due to One Time Witness, which means I had to create an equivalent coin standard that users' wallets don't recognize as a coin. Can we resolve this in the next update?
- Move CLI
- Move Module
Answers
1While modules currently have limitations such as the restriction to only publish one coin per module because of One Time Witness, consider using a single deployed contract like WASM, which allows for the creation of multiple coin types as described in this guide: https://docs.sui.io/guides/developer/nft/asset-tokenization.
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.