If a wallet gets stored as encrypted json it is not possible to open it with other frameworks like web3.js and ethers both show
same errors.
*Error Message:
Scrypt: N must be larger than 1, a power of 2, less than 2^(128 r / 8) and less than 2^32**
This is related to different kdfparams in web3.py and web3.js.
This could be a possible bug or i suggest to change API so that kdfparams can be passed in from outside.
If a wallet gets stored as encrypted json it is not possible to open it with other frameworks like web3.js and ethers both show same errors.
*Error Message: Scrypt: N must be larger than 1, a power of 2, less than 2^(128 r / 8) and less than 2^32**
This is related to different kdfparams in web3.py and web3.js. This could be a possible bug or i suggest to change API so that kdfparams can be passed in from outside.
compared to here: https://web3js.readthedocs.io/en/v1.2.11/web3-eth-accounts.html#encrypt