2022 Developer Survey is open! Take survey.

Questions tagged [ethereum-wallet-dapp]

Tag for the questions related to the deployment of the contracts using Ethereum wallet.

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

How to Export public key from Metamask

【Front】 const keyB64 = await window.ethereum.request({ method: 'eth_getEncryptionPublicKey', params: [accounts], }); const publicKey = Buffer.from(keyB64, 'base64') ...
user avatar
0 votes
0 answers
5 views

ReactJS not displaying entire app, on localhost:3000

My app was displaying correctly yesterday, but now it is only showing parts of my app. There aren't any problems in my VScode terminal. I am developing on Brave Browser, and my web3 app is using ...
user avatar
0 votes
0 answers
24 views

openseaJs SDK error TypeError: Cannot read properties of undefined (reading 'target')

I am receiving this error from openseaJs while calling fullfillorder TypeError: Cannot read properties of undefined (reading 'target') at computeOrderParams (/…/node_modules/opensea-js/src/seaport.ts:...
user avatar
0 votes
0 answers
12 views

How to verify Bitcoin transaction against a specific user? [migrated]

I am working on project .i have a functionality where user can submit bitcoin to my wallet .and after submitting bitcoin a payment page will open and user will fill payment details e.g his/her bitcoin ...
user avatar
0 votes
1 answer
14 views

Smart contract using WETH

I am looking for info regarding WETH and what it allows. From what I understand, by using WETH a smart contract is able to process payment while the user is "offline". In other words, a ...
user avatar
0 votes
0 answers
11 views

How to integrate Gnosis chain to react native

In React native, I am trying to create a small wallet app for Gnosis Chain. I want the Dapp to show the balance of xDai and allow for sending and receiving as well. Any ideas on where to start for ...
user avatar
  • 1
0 votes
1 answer
20 views

Send ether from one address to another every month (like EMI payment)

I want to send some amount of ether(let say 0.1 ether) on every 1st of month to another address. I have a smart contract to send ethers from one address to another but it's a manual process. For every ...
user avatar
0 votes
0 answers
11 views

How do I determine the gas limit properly?

So I developed a minting website. But I don't know how can I determine and set the gas limit for users. I am new to blockchain.
user avatar
0 votes
0 answers
5 views

write contract for "access to your wallet and can transfer USDT to others"? [duplicate]

i have usdt in my wallet , is it possible to give a smart contract permission to access and transfer the usdt from my wallet on my behalf using the "approve" and "transferfrom" ...
user avatar
0 votes
0 answers
12 views

how can i connect to multiple blockchain nodes?

I want to connect to multiple blockchain nodes. For example, if I want to get my balance from Ethereum (or EVM compatible blockchain ) and Solana (Non-EVM compatible blockchain) I have to connect to ...
user avatar
0 votes
0 answers
6 views

How to create wallets/exchanges profile using API?

Please share information. What crypto wallets/exchanges are available with an online API available with which to create a profile? In the sense in the API itself, enter an email and get a profile with ...
user avatar
0 votes
0 answers
21 views

Any way to catch a signature request to a web3 wallet?

Is there any way to catch/intercept a signature request to a web3 wallet? Are there any events fired? Do not care about which contract the call is for, just need to know if there are ANY requests to a ...
user avatar
  • 36
0 votes
1 answer
17 views

How can I add ether ether to my balance and return ether from it later?

I am learning to create smart contracts, but I have encountered such a problem, I am trying to add ether to the balance of the smart contract but it does not work for some reason and the balance is ...
user avatar
0 votes
1 answer
25 views

Solidity Storage Pointers

contract X{ uint256 public x=2; uint256[] public array= [9,8]; function X(){} function getLength() public constant returns(uint256){ return array.length; } ...
user avatar
  • 3
0 votes
0 answers
9 views

window.ethereum not showing visible object on console even though i have metamask installed

Even though I have installed Meta mask and working with it many times my console is showing me disabled object when i do window.ethereum which means I dont have Meta mask wallet installed ?? what do I ...
user avatar
  • 1
0 votes
0 answers
10 views

wallet integration with desktop dapp

which wallet integration can I do with my react or electron desktop app? How can I do that? I had tried that swapy network and muon an electron fork maintained by brave but no use.
user avatar
0 votes
0 answers
55 views

How to handle wrong chain error [Infura, Wagmi, React, Typescript]

When I npm run dev and my wallet is not connected to one of the chains I have specified, I get the following error This raises the question for me, how to handle the error when a user is not ...
user avatar
0 votes
0 answers
28 views

use backend to interact with smart contract?

I'm currently working on the deployment of a smart contract for NFTs. We started by adding metamask on frontend side which act as a provider and signer. Recently we would like to add walletconnect. ...
user avatar
0 votes
1 answer
16 views

Is there any standard way to apply charges to users when minting and listing their NFT using my app?

In my iOS app, I want the users simply mint their NFT and list on marketplace using their wallet and in return they will give me a tiny portion of fees when processing. Is there any standards to do ...
user avatar
0 votes
0 answers
14 views

How to buy ETH by "in app purchase" in iOS?

In my iOS nft (wallet & minting) project, when a user creates a new wallet, initially it has 0 ETH. So I want to buy some ETH/Matic for minting or other stuffs.  Need to know, how can I buy some ...
user avatar
0 votes
1 answer
24 views

Buying ethereum from smart contract

Suppose I have a contract deployed which contains few wallet addresses. I want to buy the ethereum for these wallet addresses on behalf of them. Now, to buy ethereum or to do any kind of transaction, ...
user avatar
0 votes
1 answer
16 views

I'm trying to write an if condition to give a response if there is a change in balance

pragma solidity >0.7.0 <=0.9.0; contract demoCoin { address public Owner; mapping(address => uint256) myCoin; constructor() { Owner = msg.sender; } function ...
user avatar
0 votes
0 answers
68 views

Outdated solidity version in openzeppelin upgradable contract

I am trying to create an upgradeable smart contract and to do that I am using npm install --save-dev @openzeppelin/hardhat-upgrades When i try to compile my contract, I get this error: Error HH606: ...
user avatar
0 votes
2 answers
109 views

How to import private key in web3.py

I have the requirement to convert my private key to address and please don't devote me I have searched already I come to across many solution but all are outdate example and really many more but it ...
user avatar
  • 107
0 votes
1 answer
15 views

Any alternative to while loop in conditional scenarios in solidity?

I am developing an NFT Marketplace with Dropsite module where free NFTs will be Distributed randomly. There are 3 categories of NFTs with fixed number as follows: Platinum: 150, Gold: 350, Silver: 500 ...
user avatar
0 votes
0 answers
34 views

Deposit and withdraw system in web3 ethereum

I am developing a game where users have to log in with MetaMask and have to deposit USDT to purchase something on the game, and when they have some amount they can withdraw funds. So how can I do this ...
user avatar
0 votes
0 answers
35 views

VM Error - The called function should be payable

Error: Revert: The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. ...
user avatar
  • 13
0 votes
1 answer
22 views

I am trying to write a smart contract for a defy-Bank as a project. i can't figure out why hasTransfered() function not getting executed?

Smart contract code: // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; contract AddressWallets { // variables address owner; uint funds; bool transferFund; ...
user avatar
  • 1
0 votes
0 answers
10 views

Latest Subgraph query

How to get the latest subgraph of pancakeswap ? I have tried with the below link but it is not working fine go to this link
user avatar
0 votes
1 answer
34 views

How to create a launch function for a smart contract?

I'm trying to integrate a launch function into a smart contract, however I'm running into an error. When I compile the smart contract I get the following output error: DeclarationError: Undeclared ...
user avatar
  • 1
0 votes
4 answers
264 views

how can i withdraw money from a smart contract

Can anyone help me . I accidently transfer my money to my contract address. Can I withdraw it back?. but in my contract doesn't have a withdraw function.
user avatar
0 votes
0 answers
37 views

How to call smart contract from different networks?

I have two ethereum private networks, each with a smart contract deployed. for example network.A and network.B Now how can smart contract of network.A calls smart contract functions of network.B?
user avatar
1 vote
1 answer
120 views

Is Alchemy API key a private information?

I'm checking out Alchemy's tutorial https://docs.alchemy.com/alchemy/tutorials/hello-world-smart-contract/part-4, and it seems that they (and also every repo I have seen on the internet) store the ...
user avatar
0 votes
0 answers
34 views

Minting an NFT with any ETH tokens and not ETH itself

I am working on a NFT minting project. I'd like user to mint the NFT with the project token than using Ethereum / BSC Here's my code: // SPDX-License-Identifier: Unlicensed pragma solidity >=0.7.0 &...
user avatar
0 votes
1 answer
236 views

How to connect with the Metamask and Coinbase wallet separately in DAPP?

I facing an issue while connecting in Metamask and Coinbase wallet. The issue is when I try to connect with Metamsk wallet it will open Coinbase extension. I think when both Metamask and Coinbase ...
user avatar
0 votes
0 answers
31 views

How to store secure private keys on a server, that are being used for 'gasless' minting using EIP-712 based messages?

NOTE: By 'gasless' I mean that I won't have to mint the tokens for the user, they can mint it themselves provided they have a valid signature. Hi, In my NFT (ERC-721) contract, I'm allowing callers to ...
user avatar
0 votes
0 answers
57 views

How web3.eth.accounts.wallet.add(signer) helps in tranxation, Does it helps in signing the transaction?

link to repo I'm new to the public blockchain field. I was testing Infura by creating a sample contract to mint and transfer. In this repo under call.js in transferToken() here I'm trying to transfer ...
user avatar
0 votes
1 answer
29 views

Tracking newer ERC20 tokens in a portfolio manager type of app

Currently I'm using Blockfolio to track my portfolio of ERC20 tokens and other non-erc20 tokens that I input manually. But many times blockfolio doesn't have newer coins that are on coingecko or even ...
user avatar
1 vote
0 answers
332 views

How can I get wrapped Ether on Polygon Mumbai?

how can I get Wrapped ETH (wETH) on Polygon Mumbai (Testnet)? I'd like to have some WETH in PolygonTestnet for further testings on OpenSea (Testnet-stage). How to archive this? The official Polygon ...
user avatar
  • 115
0 votes
1 answer
49 views

Is that possible to "merge" multiple ERC721 from different collections?

Let say I create four distinct ERC721 contracts: Mouth Nose Eyes Head I want to create a last one contract for holders of each one in order to merge all their NFT. If I'm holder of each collection ...
user avatar
0 votes
0 answers
30 views

Secure Wallet Architecture Ideas

I have been tasked with developing a wallet that can store Cryptocurrency and NFTs. I understand that cryptos and nfts are not actually stored in the wallet, but the private keys that are used to ...
user avatar
0 votes
0 answers
177 views

How can I let an user login to their Metamask wallet and return their public address on mobile?

At the moment my website allows users to link their Metamask wallet by simply using the window.ethereum object that is attached to the window, assuming the metamask chrome extension is installed. Once ...
user avatar
0 votes
1 answer
284 views

How can I sign a transaction without a private key?

after connecting to the bag and signing the transaction, I want to do the transaction without requesting confirmation. My main goal is to make a transaction without asking for final confirmation to ...
user avatar
  • 1
0 votes
1 answer
53 views

How to allow contract to transfer token from your wallet to others in erc721?

I'm new here really confused can anyone please tell me about the question Scenario. Basically its a spinner game in which i have one master wallet which has tokens that are already minted. The ...
user avatar
0 votes
0 answers
31 views

Can you connect to the blockchain and send dapp data without a wallet?

I want to be able to process dapp info outside of the dapp. So usually you open the dapp site and connect your wallet. In my case I can then interact with the dapp to say buy crypto. I have a dapp ...
user avatar
0 votes
1 answer
18 views

How to create an on-chain proof that user 0x12423 is Discord user 'elonmusk'

I'm building a protocol where user can issue NFTs according to their web2 achievements. Users, on the front-end, connect with metamask + other auth2 mechanism (such as Twitter, Github, Discord ....). ...
user avatar
0 votes
0 answers
43 views

When Interacting with a DAPP, how can I see what it is passing to Metamask?

I am looking to intercept calls from Dapp to metamask to be able to see what is inside. I would like to be able to see with which contract am I interacting with and what is the transaction data passed ...
user avatar
0 votes
0 answers
12 views

withdraw Ether from a contract without gas fee?

I am implementing a website where the user makes a purchase, at that moment I create a contract and transfer the money to this contract along with a description of the purchase and then process it in ...
user avatar
  • 1
0 votes
1 answer
63 views

Solidity address payable not working

I'm working with solidity tutorial and the instructor write some code to send(withdraw) ether from the contract to address. but it's not working for me.it's shows an error like this TypeError: Type ...
user avatar
0 votes
1 answer
54 views

How to add databases to smart contract?

I creating dApp and I want to add some sort of registration pannel(add nickname to wallet address) and its nessesary to store this data on db (public wallet address, nickname, email(optionally)). So ...
user avatar
  • 1

1
2 3 4 5
19