Wallet connect help

How does the exchange connect to AE’s main network?

This is a question you would need to ask the exchange. Basically AE has a node that has an API that can respond many questions, and there are SDKs in various flavours, which one an exchange is using is a decision of the exchange.