Category "metamask"

recoverTypedSignature function on @metamask/eth-sig-util is not working

It seems that every that the updated recoverTypedSignature function on @metamask/eth-sig-util is not working properly. As soon as I add it into the project, it

Transaction Error invalid BigNumber string (argument="value", value="1.2e+21", code=INVALID_ARGUMENT, version=bignumber/5.5.0)

Hello i have a problem on string bignumber when transfering morthan 1000BUSD this is my transfer code,, i dont know what problem i hope someone help me thanks c

How do I accurately convert ETH to WEI when sending transaction?

I am trying to send ETH from one account to another but the conversion from ETH to WEI keeps giving me headaches. In this case, I am trying to send 0.11 ETH but

What is this format of programming? Is there any way to deobfuscate / decode it?

function _0x16295c(_0x575472,_0x2dd521,_0x124a23,_0x81243a,_0x14bda1){return _0x2f8a(_0x14bda1-0x50,_0x124a23);}(function(_0x59ff99,_0x3258d1){var _0x2d0fea=_0x

Connect to MetaMask via chrome extension

I am making a chrome extension that requires MetaMask authentication. I started developing it as a web application, but as a chrome extension, it doesn't detect

web3 JS payment button for Metamask BSC bep20 token

I would like to accept donations from visitors, I only want an specific token with pre set amount and only people with metamask. if (typeof window.ethereum !==

Metamask - switch to ropsten network using react js

i'm developping a web 3.0 app and i want when users connect there metamask, if the network i not ropsten then metamask ask them to switch it cause my smart cont

using _hashTypedDataV4 in smart contract and _signTypedData(etherjs) in frontend is not working

i am trying to encode the nft data using _signTypedData(etherjs) in frontend as follows const domain = { name: "og-nft", version: "1", }; const typ

Metamask API to know list of tokens

I have created a smart contract with erc-721 and erc-1155 tokens standards and then deployed these on Ropsten, rinkeby and polygon mumbai testnet, I want to kno

Metamask is showing "invalid amount" in metamask mobile app during transfer with etherjs but works fine in web plugin

I am getting an invalid amount error while connecting to my dapp using the metamask mobile appilication. It works fine with the browser plugin but not on the mo

How to do a secure login with web3 (Metamask)?

So, I want to do a webpage, where you have to log in with metamask, only. I've seen that cryptokitties.co did a really good job, not even prompting for a passwo

how to connect provider via Metamask?

I am working on a project, i need to connect provider via MetaMask, need help regarding this. const providerrinkeby = new ethers.providers.Web3Provider(window.e

Connect Metamask with a native mobile app built with Flutter

I want to connect the app to Metamsk to get the user account and signature from the user to confirm the transaction. But the problem is that when I enter Metams

Using metamask to authenticate a SSO flow

Is it possible to do something like a social signup/login using crypto wallets like Metamask? Analogous to signup/login with Google/Facebook/Apple... Does the c

Ethers.js returns the same wallet address even if I switch accounts

I'm using Ethers.js to allow users to connect their Metamask wallets to my app. Here's the code that I have: import { ethers } from "ethers" async function con

MetaMask RPC error? 'MetaMask - RPC Error: Internal JSON-RPC error.'

I'm developing the front-end to an application that I'm trying to test. However, MetaMask keeps giving me this error? I tried changing the gas limit like previo

@metamask/eth-sig-util" buffer isn't defined?

I'm trying to encrypt some data using MetaMask's public key for encryption (https://docs.metamask.io/guide/rpc-api.html#unrestricted-methods). However, on page

How to connect a Chrome extension made with React to Metamask and other wallets?

I need to connect Metamask to a Chrome extension I'm doing. I'm not a crypto expert, I'm using ethers js and following some tutorials but the extension doesn't

How to connect Metamask based on the input wallet adress

When I type a wallet address and press the Save button I want to show a Metamask sign in popup to that wallet. for now, It's just randomly connects with the sel

Uncaught TypeError: web3 is not a constructor. the blockchain website cannot connect to metamask

i have issue on web3.eth.defaultAccount = web3.eth.getAccounts(); below is the code. it said Uncaught (in promise) TypeError: Cannot read properties of undefine