Disclaimer: this may not repair your downside, however may enable you to discover the trigger
Listed here are some debug suggestions for individuals who have accounts go “lacking” in Metamask or different Web3 companies.
TrezorConnect
First some background on how all these items is linked. For websites like OpenSea, MyEtherWallet, or any of a lot of DeFi websites there are normally two methods they will entry Trezor:
The 2 commonest Web3 companies are MetaMask and Courageous-Pockets. Websites can both carry out actions by way of one of many talked about Web3 companies, or to by way of TrezorConnect instantly.
As soon as TrezorConnect will get the request, it could actually select to entry the Trezor Machine both by way of WebUSB or TrezorBridge
The Firefox browser would not help WebUSB, and actually, most websites that use TrezorConnect will attempt to use TrezorBridge, even with WebUSB is accessible. The one TrezorConnect shoppers I do know of that makes use of WebUSB is MetaMask and TrezorSuite.
So understand, from any given website, there could also be 6 paths from the Web site to the TrezorDevice. And every of those layers have their very own set of variations and fixes. TrezorConnect and the TrezorDevice firmware each have latest updates for NFTs and EVM transaction signing. As such, MyEtherWallet might join by way of TrezorConnect model 8.2.4, or 8.2.3, or 8.2.1, relying on the trail you’re taking. Whereas the most recent model of TrezorConnect is already at model 8.2.6. Main EVM enhancements have been included in 8.2.0, 8.2.2 and eight.2.5, so these sort of issues do matter.
And none of that is static. They will all replace independently making issues much more complicated. So sure, simply because it labored that method in 2018 doesn’t suggest it’s going to work that method in 2022.
Passphrase
Passphrase is on by default. This was once an opt-in function, however now, if you happen to observe the usual unboxing course of, you would need to manually opt-out to keep away from it.
Which means that within the default config, MetaMask will ALWAYS immediate for a passphrase while you try to pair a Trezor. And to make issues extra complicated, Metamask requires an unlock password at any time when it’s loaded. This could lead clients to make use of their Metamask password at any time when metamask provides any secret-challenge with out realizing that the metamask-password and trezor-passphrase are impartial.
Even be warned of “clean air pollution”. The passphrase ” hunter2″, “hunter2 “, and “hunter2” are all totally different, although they may look the identical within the Trezor on-device verification display screen. The identical might be mentioned for off-by-one errors like Qfz3SRwx
-vs- Qfz3SRvx
. At first look they could register as the identical, and you’re going to get NO WARNING, it’s going to simply load a singular pockets.
Derivation
When a brand new gadget is paired with Metamask the consumer shall be offered with a alternative between “BIP44” or “Take a look at” derivations, in addition to an inventory of addresses to select from. These decisions will create what known as a “Derivation Path”. Often Metamask will hold some reminiscence of the derivation initially chosen, but when you must transfer computer systems it’s crucial that you simply replicate this course of EXACTALY to regain current funds. Another excuse why a private log (see under) is necessary.
Machine Reminiscence
In most metamask configs, you’ll solely pair the gadget as soon as. Metamask will save off all the knowledge it must function independently to do all the things besides swap and spend. Simply because you possibly can entry the account in Metamask does NOT imply that your Trezor is in the identical state it was while you initially paired it.
Capacity to deposit doesn’t suggest withdraw
EVM chains are insanely complicated, however most of that complexity involves the floor on spending facet. Simply because OpenSea means that you can ship an NFT to your Trezor doesn’t suggest it’s going to help you withdraw it. EVM chains imply that almost all anybody can create a brand new coin or NFT, and Satoshi Labs isn’t going to trace every one. Trezor might help most of them, however the consumer might want to both analysis or take a look at particular person EVM chains and property to find out help.
Learn and write logs
Metamask, TrezorBridge, and TrezorSuite all hold utility logs which can be out there to the consumer. These ought to be reviewed repeatedly if issues go fallacious. You must also possible hold a private log (pen and paper) while you arrange new accounts on Trezor. It appears easy to recollect now, however in 5 years it might be laborious to know if you happen to have been prompted for a password, passphrase, or account. Even more durable to recollect what your decisions have been.
Change-logs maintained by Trezor and Metamask are additionally crucial. They’ll inform you when options regarding your favourite token or EVM chain are launched. This can present clues on what options are prepared and that are in growth.
Most EVM options shall be proposed by way of the EIP course of. You need to assessment the EIP, epically EIPs talked about in any of your favourite EVM chains, tokens, or different changelogs.
“Use the supply Luke”
Studying code isn’t the identical as writing it. Since all these items is open-source, it’s going to assist if you’re prepared to wade in a bit. Even one thing so simple as looking the supply for “trezor-connect” in information referred to as “package deal.json” will possible provide you with some crucial data. Github additionally maintains difficulty databases you possibly can search which can be typically way more informative than boards or boards.
References
Edit: added derivation path; added model desk with hyperlinks