{"repo":"gilberto-009199/Login-Cripto-Wallet-Vue","free":true,"listed":false,"github":"https://github.com/gilberto-009199/Login-Cripto-Wallet-Vue","clone":"git clone https://github.com/gilberto-009199/Login-Cripto-Wallet-Vue.git","description":"Nonce Login, Metamask, Trustwallet in Vue Nuxt Ethers","language":"Vue","stars":10,"topics":["ethers","login","nuxt","vue","wallet","web3","docker","login-system","metamask"],"license":"Unlicense","category":"blockchain-web3","readme_excerpt":"Login metamask and trustwallet Implementing authentication with noce , using ethers and vue: + plugins/ethers.js - ethers.js proxy plugin code + layouts/default.vue - \"Connect Wallet\" button code + pages/index.vue - Authentication code by name (Get the accounts-change emit) How Run in Docker: How does authentication by nonce work? Here are the basic steps for authentication using the wallet: 1° Connecting to the Ethereum Network + Button Wallet - Set providers + Get accounts - Get accounts Wallet's 2° Generation of Nonce: + NONCE Generate - Generate nonce in backend! Not use fixed! On the server or service performing the authentication, you need to verify the signature to ensure the authenticity of the data. Then, you must save in one of your tables: + wallet address + original nonce + signed nonce It is important that you change the nonce at each login (security issue) 3° Nonce Signature: + NONCE Signature - Signed nonce 4° Signature Verification: On the server or service performing the authentication, you need to verify the signature to ensure the authenticity of the data:","default_branch":null,"files":null,"tree":[],"storefront":"/r/gilberto-009199","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gilberto-009199/Login-Cripto-Wallet-Vue/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."}