dOrgTech / Mix

DeFi Portfolio Manager, Decentralized
3 stars 1 forks source link

Routing #7

Open tspoff opened 4 years ago

tspoff commented 4 years ago

Routes will have the following format:

mix.eth/:widget/:account (e.g. mix.eth/portfolio/0x123456..)

This means we can link directly to an address + widget to display. We could potentially expand this to pre-highlight a certain asset.

mix.eth/mix-assets/0x123456../dai/tornado-cash/

The account is the ethereum address we're currently viewing information for. Note that a user does not have to be connected to check an account. Of course, they can't take actions if they're not logged in to the account that is being viewed.