If your app is on React, you can use react-open-app to enable deep links. If not, you can still borrow its implementation to do it yourself as it's MIT licensed. Also, Metamask Deeplinks is a good tool to get your deeplinks.


You have a constructor in your ERC20Basic contract that expects a totalSupply, you need to pass that value as a parameter when you're instantiating the class in your DEX contract. So you should have for example constructor() public { token = new ERC20Basic(1000000000); } depending on how you want to implement it. Hope this helps


I was able to compile it successfully via Remix using the compiler version 0.8.7. Most likely you might be using an older version that isn't able to compile the contract.

Only top voted, non community-wiki answers of a minimum length are eligible