{"repo":"MikeCheng1208/vue-metamask","free":true,"listed":false,"github":"https://github.com/MikeCheng1208/vue-metamask","clone":"git clone https://github.com/MikeCheng1208/vue-metamask.git","description":"Testing Metamask's status with Vue","language":"Vue","stars":80,"topics":["vue","metamask","web3","ethereum","network"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"vue-metamask Testing Metamask's status with Vue Demo MetaMask will introduce an optional “Privacy Mode”, which requires that dapps ask permission to view users’ accounts. Dapps should update their code to support this feature, which will be enabled by default in the future. Reference link NPM Install And then import it: Use --- How to use init connect option --- Methods data type value Functionality ----------- ----------- ----------- --------------- initConnect Boolean true (default) Whether to connect initially userMessage （ Optional ） String Message return setting status message complete Event Callback return current data OnComplete return data key type value Description ----------- ----------- ----------- --------------- web3 Object function web3 metaMaskAddress String 0x09F38A7F... Ｍetamask address message String \"message\" User-defined message type String \"MAINNET\" MAINNET NO INSTALL METAMASK NO LOGIN NETWORK ERROR USER DENIED ACCOUNT AUTHORIZATION netID String 1n User's current network id License MIT.","default_branch":null,"files":null,"tree":[],"storefront":"/r/MikeCheng1208","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MikeCheng1208/vue-metamask/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}