Пост
Поделитесь своими знаниями.
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. Это может помочь вам в создании монет более универсальным и неразрешимым способом.
Знаете ответ?
Пожалуйста, войдите в систему и поделитесь им.