All Questions
2 questions
1
vote
0
answers
25
views
"not logged in" when metamask gets locked by password
I have a pretty standard code used by logging in via MetaMask, something similar to this:
const connectWallet = async () => {
const provider = new ethers.providers.Web3Provider(window.ethereum)
...
0
votes
2
answers
137
views
Uncaught Error: Invalid number of arguments to Solidity function
function TriggerContract() {
var account = getAccounts();
var test = web3.eth.defaultAccount;
console.log(account);
var q = document.getElementById("Quantity").value;
var ...