Open mhagel opened 8 months ago
cc @jnaviask
this would be great and would save on quite a bit of bundle size, probably 50 -100ms at initial load
Note that Terra Station mobile is not updated to the newer version of WalletConnect and thus cannot connect to most apps at this time. An update (v3) should be coming out soon and once that hits mobile most would be compatible once again.
from Terra discord 1/7/24
This may not be relevant, because I have found at least one Terra dapp that connects via WalletConnect.
Our integration is currently broken, though, so I need to pinpoint when it broke to see if is because of WalletConnect, our recent Station V3 change, or something else.
Went back to commit 9eac2818f5ac75e6a0a7836b6fa20f15e7cb1365
(before #6316) and confirmed that walletconnect-terra was not working then.
Went back to commit 9eac2818f5ac75e6a0a7836b6fa20f15e7cb1365 (before https://github.com/hicommonwealth/commonwealth/issues/6316) and confirmed that walletconnect-terra was not working then.
Was wrong about this. There is a small bug from 6316, which I will fix here.
It looks like we can replace the last use of terra.js with the same cosmjs method we use for keplr-like wallets. The only caveat is we will have to use a Terra RPC node instead of the LCD REST node they presumably gave us. Sound good @jnaviask ?
Recommending we move this to backlog or unplanned. It is worth revisiting when Station Mobile has it next major upgrade, which could be within weeks.
Main win here is load time, but also if ~75 merits 5+ points of work at this juncture, with everything else that's needed.
Description
terra.js is only referenced in our WalletConnect Terra integration. If this can be removed, it will be a win for our bundle size.
Project Owner
Engineering Requirements
Acceptance Criteria
WalletConnect still works with /terra
Additional context