New answers tagged

0

With the seed phrase and the derivation path m/44'/60'/0'/0/0 is enough to calculate the private key associated with the address. Currently for metamask private keys are 64 hex characters. Other wallet may accept other formats like bip32 extended private keys.


1

The import "X" form is fine in simple cases but has several downsides: You have no control over what is imported. It always imports all top-level definitions: contracts, structs, enums, events, functions, etc. You cannot avoid naming conflicts at all. You just cannot do import "X"; import "Y"; when both X and Y define the same ...


1

No, as you have noted contracts are immutable, you can not change anything about them, including imports. You would have to re-deploy and migrate anything from your previous contract (like balances, mappings etc.) to the new one


Top 50 recent answers are included