Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[explorer] Enables Switching Across Networks (MystenLabs#1986)
* creates simple context switcher * refactor and change where network printed on home page * WIP - feed network variable to the JsonRpcProvider * switches to Network enum that affects API calls across codebase * stylize network switcher * creates modal effect * further changes to modal css * changes to buttons for each network * handles static env case * can specify custom RPC URL * smaller sidebar and buttons * update home and error page tests * updates tests to work * WIP - test refactoring * lint tidy-up * adds licenses * refactors tests including removing all 'any' types * should be keys not values * removes legacy ace comments * improves modal display on results pages * re-enables clicking longtext to go between object and parent address * restore top-left home page button css * yarn start:local starts at local * improves rpcSetting comments * network stored in browser * network put into local storage and held for 3 hours * restore start:local mode * minor adjustments and README update
- Loading branch information