MetaMask Chrome extension study - devopstaku/ERC20_DApp GitHub Wiki
Target
- ε°ζΎ MetaMask ι½ζθ³ζεε¨η覽ε¨ηεͺιοΌι樣ε―δ»₯η΄ζ₯ιι MetaMask δΎζδ½
Source Code
Survey
- It mostly use the package
obs-store
for data store - https://www.npmjs.com/package/obs-store
- https://github.com/kumavis/obs-store
Trying
- After study the source code, found mostly using HTML5 localStorage
- Because of the Origin policy of Chrome, it should not be able to access the storage from other domain
- Found a
public config
of MetaMask extension, but try to access failed