I am in the process of developing a decentralized exchange (DEX) using Substrate on the Polkadot network and could use some assistance with the implementation. The key features I want to incorporate into my DEX are as follows:
Enable users to create their own tokens with the Substrate contract node, utilizing ink!.
Allow users to deploy the created token contracts on my network using substrate-node-contract.
Permit users to list their custom tokens on the DEX for trading.
My question is related to the interaction between the token contracts and the DEX. When users deploy their token contracts on the network with substrate-node-contract, will I be able to use the smart contract address for transferring tokens within the DEX?
I would appreciate any guidance on implementing these features in a Substrate pallet, as well as suggestions or resources that could be helpful. Thank you!