I’ll start with two of my ideas. Idea 1: Can we skip the bAsset swap step in the UI?
bAssets is what physically gets deposited, but if someone wants to borrow with their LUNA or ETH (soon SOL and ATOM) as collateral, there should be a way to deposit either asset directly, without extra steps on the user’s part. The user would provide their asset to a smart contract, which would 1) swap the asset for the bAsset and 2) provide the bAsset as collateral.
This really simplifies the user experience (of course there would need to be relevant disclaimers, info about slippage etc.)
Ideally, either would be possible natively. Borrowers shouldn’t need to first bridge to Terra, they should be able to connect their Metamask/Phantom/whatever wallet, deposit in one click and get UST that lives on their chain.
Not sure if this is better done by the core Anchor team - it seems like a great opportunity for an outside dev team, a’la Orion but for the borrower side, not depositor.