How can I implement token registration, trading, and fee payment with my native token (GGG) in a decentralized exchange (DEX) built with Substrate?
Specifically, I am looking to:
Allow users to add their own tokens to the DEX and enable trading between different tokens.
Use an off-chain worker to periodically send data to the main network and enforce the use of my native token (GGG) as the primary token in the network.
Provide a way for users to upload their smart contracts to create custom tokens on my network. I want to know if I should use the substrate-node-contract or pallet-contract feature to do this.
Ensure that all transactions in the network, including those in DApps, are conducted using my native token (GGG) as the fee payment.
I would appreciate it if you could provide guidance on how to implement these features using the capabilities of Substrate.