Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

the join the whitelist button is non responsive onClick. can someone please look at my render button code and let me know where the problem is from

import Head from "next/head"; import styles from "../styles/Home.module.css"; import Web3Modal from "web3modal"; import { providers, Contract } from "ethers"; ...
user avatar
1 vote
0 answers
11 views

insufficient funds for gas * price + value in ropsten network with web3j (java)

I have a wallet in metamask in ropsten test network, and I try to send a transaction to another wallet in metamask ropsten network, using Web3j library with java. First, I build a httpServer with ...
user avatar
0 votes
0 answers
14 views

How do to stop triggering all installed web3 wallet providers together at the same time?

If both coinbase and metamask wallet extensions are installed in browser, the connect button of my react app triggers both extensions, and so, both wallet providers pop up. But I don't wont it to ...
user avatar
0 votes
1 answer
10 views

Same metamask account with different blockchains

I am learning blockchain by following blogs, youtube videos etc. and as expected,am confused with few things. So in tutorials they create an account using metamask and then use same account for ...
user avatar
  • 103
0 votes
0 answers
7 views

Retrieve Transaction hash on Client side using Metamask or Ethers

As part of my DApp, I have a front-end offering users the ability to buy and sell an ERC20 token, and a general-purpose script for tracking analytics around wallets, transactions, and errors. Without ...
user avatar
0 votes
1 answer
14 views

How get hash for user transaction?

Help me please . if we will using : await provider.getTransaction('0xeed4fadf09e9560f01056f240f86b515dce717087a42c7266bf659edef555861') ---> in this case i will have result for only this hash . ...
user avatar
0 votes
1 answer
23 views

How to get transaction link into etherumscan to my website using etherumscan API

please help me with my problem : I am creating a website with blockchain. Now I need to get my transaction results into etherscan.io to my website with a link for this transaction and all these by ...
user avatar
0 votes
0 answers
13 views

how to figure out IERC20 token address from javascript

I would like to send some IERC20 tokens from metamask for contract I link an HTML button to following javascript function const placeFunds = async (side, e) => { e.preventDefault(); await ...
user avatar
  • 101
0 votes
1 answer
14 views

Testing a SmatContract on Ropsten - The transaction is "Success" but I didn't get token in my wallet

I'm trying to take my first steps in the blockchain, and sometimes I stuck with some very weird issue (for me), this is one of them. I've deployed a very simple SmallContract that inherit from @...
user avatar
0 votes
1 answer
31 views

Ethernaut lvl1 : Fallback - how to set msg.value when calling contribute()?

I'm starting the ethernaut tutorial. At the level 1, I want to send some eth to a function named contribute. In the console, I type : await contract.contribute() Then I can't enter the amount in ...
user avatar
  • 1
0 votes
1 answer
14 views

Sign with metamask and send with backend

I am making an online store, where you can buy physical products. And I want to be able to pay with metamask. Is it possible to sign the transaction with metamask and send it in the backend (to verify ...
user avatar
  • 1
0 votes
1 answer
50 views

How to approve or give permission to access your tokens? Solidity /Metamask?

I'm currently creating a Dex which needs 1inch permission to access the users to tokens/funds. e.g The problem is permission doesn't show up but instead shows 'contract deployment': my current is ...
user avatar
0 votes
0 answers
8 views

Is it possible display .gif in Metamask?

Im developing a plataform that works with Metamask in the transactions, etc... The thing is that we make NFTs from .gif and others, the problem is that those .gif doesnt move in Metamask. We have the ...
user avatar
0 votes
1 answer
12 views

My contract fails to receive value (MATIC) [duplicate]

I have a problem in sending 0.01 MATIC to the smart contract, I always get the not enough funds error: the called function (createBid) is payable in the smart contract and here is the code: I tried ...
user avatar
  • 3
1 vote
1 answer
13 views

Creating HTTPS enabled reverse proxy for GoEthereum

On metamask, I want to connect to my private geth with SSL, because ios/android needs it. server { listen [::]:443 ssl ; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /...
user avatar
0 votes
0 answers
13 views

how to obtain the signed transaction from metamask

recently, I develop a blockchain app which supports metamask to let user sign transaction. now, there is a demand, I'd like to get the whole signed transaction data (not transaction hash only) from ...
user avatar
0 votes
0 answers
20 views

Metamask installed in browse chrome but when I check in console window.ethereum it respond undefined

I am trying to connect my contract through infuria in Rinkeby and connect Metamask to web3 as injection to give autherization. I successfully installed Metamask and deployed my contract, the problem ...
user avatar
  • 101
0 votes
1 answer
22 views

0x API: Invalid Signature

I found out how to sign an approval into Metamask,in conformity with EIP712: const domain = [ { name: "name", type: "string" }, { name: "version", type: "...
user avatar
  • 1
0 votes
1 answer
13 views

how to fail a ether transaction on blockchain (with insufficient balance)

Need to generate error cases for ether transfer to see how blockchain deals with these cases. But ethereum clients like metamask didn't allow sending ether higher than the balance. Tried the same with ...
user avatar
0 votes
1 answer
71 views

Gas price limit in metamask Rinkeby

Unknown processing time Max fee:0ETH This error occurs while testing a front end application with smart contract. code :- //this is deposit function function Depoist(){ var depAmt = document....
user avatar
0 votes
0 answers
6 views

How to inform the user an account isn't active after disconnecting the currently active account in MetaMask?

Scenario... User has connected two accounts to our DAPP via MetaMask. User disconnects the currently active account. User still has their other connected account but it isn't active in MetaMask. In ...
user avatar
  • 101
0 votes
1 answer
27 views

How "blockies" are working?

Hm, I really like how are "blockies" looking in ethereum(a square colorful picture next to the user's address). I would like to know how and from what they are generated. Help me please)
user avatar
0 votes
0 answers
5 views

Metamask Flask - Hardware Wallet [closed]

did anyone tried to integrate Hardware wallet in Metamask Flask / Snaps? Is this possible? Thank you
user avatar
0 votes
2 answers
14 views

Latest remix version is not detecting metamask

I just updated Remix to the latest version and it is not detecting metamask wallet when I try to select Injected Web3 from the list of environments.
user avatar
  • 770
0 votes
2 answers
27 views

Is There A Way to Do A Whitelisted NFT Mint Via Email?

I am trying to do an NFT launch via email. I have a basic NFT smart contract that I'm ready to deploy. I also have a react app with metamask connected and a button for the end user to mint an NFT. My ...
user avatar
0 votes
0 answers
20 views

Help please, React State is not changing, when trying to fetch account balance

I am trying to fetch the account balance as seen below I have highlighted the h2 tag (below with ////////// ) for retrieving account balance, but when I console.log(this.state), I getting the ...
user avatar
0 votes
2 answers
26 views

Automating Payments From Server Side To User

To all Ethereum Developers, I am currently working on a school project where my application involves users spinning a lucky wheel and getting rewarded with Ethereum. However, I am stuck with the ...
user avatar
0 votes
2 answers
153 views

Help Please hardhat.config.js * Invalid account: #0 for network: Rinkeby - private key too short, expected 32 bytes

Hi Please i get this error while compiling hardhat.config.js : * Invalid account: #0 for network: Rinkeby - private key too short, expected 32 bytes i have my private key in dot env copied from ...
user avatar
0 votes
1 answer
16 views

How to add a rederecting in mobile metamask browser?

I created a site using web3.ys with some features, without react and node. How can I make it so that when entering from a mobile device and when clicking on the button, the user is transferred to the ...
user avatar
0 votes
1 answer
32 views

Metamask: Error encountered during contract execution [Reverted]

I am trying to work with the smart contract I found on: https://github.com/pappas999/Parametric-Crop-Insurance/blob/main/contracts/Crop-Insurance.sol I can deploy the contract but when I try to ...
user avatar
0 votes
0 answers
19 views

metamask confirmation window does not show up

I was testing a frontend dApp. I tried to call a contract’s function in a way that will fail the require statement inside the contract’s function. However, to my surprise, there should be a ...
user avatar
1 vote
1 answer
39 views

RPC Error 32603 when deploy new Contract

Im trying to deploy ERC20 contract through web3. Token Code (OpenZeppelin): // SPDX-License-Identifier: MIT pragma solidity ^0.8.14; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; ...
user avatar
  • 11
0 votes
1 answer
52 views

Use WETH for NFT MArketplace

I am working on WETH pragma solidity ^0.8.5; import "./Token.sol"; contract WETH { function transferFrom(address recipient, uint256 amount) external { Token token = Token(...
user avatar
0 votes
0 answers
30 views

Problem with funds and incrementing counter

I am writing this app using Truffle and Ganache suite and I am having trouble with a certain transaction. Solidity ver is 0.8.3. I am using metamask to connect the wallet and importing contacts from ...
user avatar
0 votes
0 answers
17 views

What are the odds I punch in 12 random words from the wordlist and randomly get a wallet hash?

If someone just randomly punches in 12 random valid words from the 2048 wordlist, what are the odds that the generated key is a valid one and that it could belong to someone? I have tried looking this ...
user avatar
0 votes
1 answer
5 views

Metamask Staked Tokens not loading

I am trying to look at my account where I have staked my OX to review how much ether I have earned. I am loading my wallet with metamask, and I have done this many times in the past, and I sit in an ...
user avatar
  • 1
0 votes
1 answer
10 views

Send Token Failing in Metamask

I am trying to transfer 1 WETH betweeen my wallets. It is not letting me I have 2 WETH and I am transferring 1. What could be the possible reason. Network : Rinkeby
user avatar
0 votes
2 answers
14 views

Mismatch in WETH shown in Metamask wallet and shown by code

tokenContractAddress is 0xc778417E063141139Fce010982780140Aa0cD5Ab on execution, returns but balance of WETH in my wallet is 2 WETH as i can see. How is it possible?
user avatar
0 votes
0 answers
7 views

Importing WETH to Rinkeby test Network [duplicate]

How can I import WETH as Custom Token in Metamask Wallet? I need user to pay using WETH. Also how can i find wallet's WETH balance using ethers/web3 library
user avatar
0 votes
1 answer
41 views

Can Metamask be used for all ERC20 token?

How can I use WETH with Metamask wallet? I can see ETH in my Metamask (Rinkeby TestNet, it works on Mainnet) but can not use other tokens. Any Repository or lead will be appreciated. If yes, What will ...
user avatar
0 votes
0 answers
14 views

How to create smart contract using openzeppelin metatx relayer to receive and withdraw usdt erc20 token using metamask?

Here is what I need to do, Create a smart contract that can use a relayer account from Openzeppelin defender and do the gasless meta transactions. Which I already created and sent some Ethereum too. ...
user avatar
1 vote
2 answers
24 views

Network switching in HTML JS. Please support

Please support in adding network switch for my JS file in HTML code. Just one example will be sufficient. var bep20Button = document.querySelector('.network-bep20-token'); var matic20Button = ...
user avatar
  • 11
0 votes
1 answer
20 views

How to show my erc20 coin custom logo everywhere?

I am planning to launch my custom tokens on polygon. I want to add a logo to my coin and after a while I want to change my token logo. I have understood that there is three ways to do that - Manually ...
user avatar
0 votes
0 answers
56 views

Mint NFT with web3.js: Invalid parameters: must provide an Ethereum address

I have a simple Smart Contract deployed to Rinkeby Test Network from "administrator Wallet" and I'am trying to write a code which allow other users to mint a ERC-721 token from it using Web3....
user avatar
  • 1
1 vote
1 answer
57 views

“Personal address detected. Import the collectible contract address” error while importing an NFT from Opensea

Let me share my problem in short here. So I did a course on Buildspace that was on Creating your first smart contract. On completing it, I got a Buildspace NFT from their side but I was not able to ...
user avatar
0 votes
0 answers
10 views

How to make my erc20 token all time visible on meta mask wallet along with a logo? [duplicate]

So I have cteated an erc20 tokens on testnet and planning to launch it on Polygon. But the token is not listed on any market place. Without importing the token using contrat address, token is not ...
user avatar
0 votes
0 answers
26 views

Conflict between GameStop Wallet and MetaMask extensions when trying to deploy a smart contract with injected web3 in Remix

I have just started my journey into coding with Solidity and I'm running into an issue right now when trying to test my contract on the testnets. I have both the MetaMask and the GameStop Wallet ...
user avatar
  • 1
1 vote
2 answers
40 views

Minting gas price too high

I am trying to test a minting function in a smart contract deployed on rinkeby and i was wondering why is the gas price so high for minting, is there any way to reduce the gas price ? pragma solidity ...
user avatar
1 vote
1 answer
49 views

How do you import a custom unlocked account from Ganache-CLI into MetaMask?

I'm attempting to write some test contracts that interacts w/ Uniswap and am using the following stack: Remix (Injected Web3) -> MetaMask -> Ganache-CLI -> Alchemy (Fork of Ethereum Mainnet) ...
user avatar
  • 113
0 votes
1 answer
10 views

Can I make a transaction using Etherjs without signer?

Is it possible in EtherJS to execute a transaction/s without using signer ? Or If we could setup the signer one time and use that signer indefinitely.
user avatar

1
2 3 4 5
39