Questions tagged [ethereum-wallet-dapp]
Tag for the questions related to the deployment of the contracts using Ethereum wallet.
946
questions
1
vote
1
answer
12
views
How a blockchain node provider works
When using a wallet such as Metamask that uses a blockchain node provider to connect you to the blockchain:
Does the smart contract get mined to specifically that node and
then the other update their ...
1
vote
2
answers
21
views
Question about whitelist with mapping(solidity)
Was trying to hard code a whitelist array of addresses using mapping got this error:
my code:
contract IntelliContract {
string public constant name = "CustomEnergyToken"; // solidity ...
1
vote
0
answers
18
views
How to add logo to a web3 personal signature message?
I have generated a signature message from my react js app for the users. But in mobile metamask the message displays a letter D, the first letter of my url, at the top of the message.
But I want to ...
0
votes
0
answers
23
views
Metamask does not open on opera using web3modal
I am using web3modal to connect with different wallets. On Mozilla I am able to connect with metamask but when I open my website on Opera GX browser (version: LVL4 (core: 89.0.4447.64)) it says that ...
0
votes
1
answer
13
views
how to resolve this error in ethereum [duplicate]
code:
pragma solidity ^0.8.15;
contract SendMoney{
uint public balanceRecieved;
function recieveMoney() public payable {
balanceRecieved += msg.value; // msg.value stores the amount ...
0
votes
1
answer
10
views
How to create a metamask address(custodial) for a user who can login with Gmail
I am trying to implement a dApp in which instead of asking users to create metamask account. I am thinking to create a Metamask address(Custodial) for each user when they login with Gmail and Private ...
0
votes
1
answer
16
views
Transaction triggered successfully but users can edit transaction amount, How can I stop this?
I've recently added FTM payments to my website and discovered once the transaction is sent to MetaMask everything goes to plan but looking at the image below, Users can directly edit the amount sent ...
0
votes
1
answer
15
views
How to catch multiple events from a single function in the hardhat framework?
I was going through a function that emits multiple events. Usualyy, if a function emits a single event, we can check that during the test cases using:
await expect(contract.claimTokens(busd.address))
...
0
votes
1
answer
21
views
Why are clouds like Pinata are used to host NFTs rather just using IPFS desktop?
I have been working on some NFT projects and came across Pinata to upload files to IPFS. But there is also IPFS desktop that provides the same functionality and is free. So why do people use Pinata ...
1
vote
2
answers
27
views
"eth_requestAcccounts" does not exist / is not available
I have this piece of code just to connect to MM, but it's saying eth_requestAcccounts does not axist/isnt available. Any tips?
function App() {
const innitConnection = async () => {
if(...
0
votes
1
answer
42
views
Can we sign and send transaction through Metamask on behalf of backend (nodeJs)
I am building an application where I want to sign and send transaction through metamask prompt.
Means as we sign and send transactions through web3 library in nodeJs so what will be the equivalent ...
0
votes
0
answers
12
views
Why isn't copyto clipboard function working in metamask mobile browser?
navigator.clipboard.writeText(walletAddress);
I used this piece of code to copy to clipboard. It is working properly in desktop browser but not in metamask mobile browser?
Is there any alternative ...
1
vote
2
answers
24
views
DAO Governance Off Chain
What are good methods for DAO decisions to be implemented off chain? If a company is looking to start a DAO to manage a specific centralized service (say a website, manufacturing plant, etc) through ...
1
vote
1
answer
14
views
Forking the chain locally
I would like to fork the ETH chain and play around with it locally, maybe even buy a few raspberry pi's and run some nodes just to present it visually.
Can someone please point me to some ...
0
votes
2
answers
33
views
Dapp can not be modified once deployed!
If Decentralised Applications are immutable and can not be modified once deployed then how we can implement large projects like Instagram, Facebook, Amazon using blockchain technologies using Agile ...
0
votes
1
answer
52
views
Is it possible to fetch an Owner of an NFT by providing Smart Contract address and NFT ID
I am developing a smart contract which requires users to upload a specific information about their NFTs. I somehow need to verify whether they are the actual owner of that NFT before uploading ...
0
votes
1
answer
28
views
Importing a different wallet address in my wallet app
I'm trying to create a basic crypto wallet and I want to add an import wallet functionality like other wallets but how can I do that ?
Is there any API which I can use for this ?
1
vote
0
answers
27
views
Send transaction in the backend on behalf of another person
I am designing like platform service. The user (browser) will send a web request to a backend server. The backend server will send transaction with platform's wallet, for the user. The user does not ...
0
votes
0
answers
12
views
trying to devlop my custom mint contract but images not fetch after adding base uri then i got to know its not returning json parameter in token uri
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/...
0
votes
0
answers
16
views
Temporary Ether addressess for a single purpose usage or reverse proxy address type solution
We have a custodial wallet payment gateway product and we accept crypto payments. For now we are giving out a single address to all the merchants.. and that is okay for our MVP. We want to move to ...
0
votes
2
answers
36
views
Transferring weth from my contract to an other wallet address on polygon without using bridges
I have a requirement where we are building a platform that receives funds on Ethereum L1 and sends that fund back to the same address on polygon L2. I know bridges are there to transfer funds from l1 ...
0
votes
0
answers
27
views
Ethereum Validators - Can IPFS Host Rocket Pool's Minipool?
Is it possible to host a Rocket Pool Minipool Ethereum validator on IPFS?
The IPFS data would be encrypted to not expose the ETH Validator's private key.
IPFS is built for storing data such as ...
0
votes
0
answers
21
views
how to call this sc function throught ether js and define pid amount while calling it
function mintpid(address _to, uint256 _mintAmount, uint256 _pid) public payable {
TokenInfo storage tokens = AllowedCrypto[_pid];
IERC20 paytoken;
paytoken = tokens.paytoken;
...
0
votes
0
answers
26
views
how to call approve function in token contract using etherjs to allow other contract for spending of tokens
This is approve function abi:
[
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "...
1
vote
1
answer
84
views
Getting WETH from ETH on Hardhat Local Network
I have a localhost Hardhat Network running but I need to convert Fake ETH on it into WETH.
How can I do this?
0
votes
1
answer
80
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(...
1
vote
1
answer
74
views
Next JS versus React. Which to use when for your Dapp? [closed]
This is a broader theoretical question. What advantages does a Next JS Dapp give over a React Dapp? Apart from file-based routing and an option to protect some code on the server side?
In case I am ...
0
votes
1
answer
86
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 ...
0
votes
0
answers
23
views
How do I interact with my token in smart contract after I send my assets from ethereum to polygon?
I couldn't find any good answer to the question from a development perspective. So if send my erc20 custom tokens from ethereum to polygon through bridging, what will happen then?
Do I get a new ...
0
votes
1
answer
43
views
How can I use my polygon erc20 custom tokens on other chains?
I am planning to launch polygon erc20 coin. But I have come to learn recently that interchain smart contract interaction is not possible.
If I want to use my polygon coins as a payment on ethereum ...
1
vote
2
answers
30
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 = ...
0
votes
1
answer
30
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 ...
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 ...
0
votes
0
answers
4
views
Are there ethereum wallet (online or desktop or even a program) that can be automated with vb.net?
For example
Say I want to automate doing certain things like buying certain product. I want to tell my wallet to do so.
What wallet support that functionality?
It would be great if the wallet support ...
0
votes
1
answer
243
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')
...
0
votes
0
answers
13
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 ...
0
votes
0
answers
44
views
Verifying a message in python signed with Coinbase Wallet doesn't work, but using Brave Wallet works
I'm trying to verify that a message was signed by a certain address using different wallets. The signature is completed using a Vue app and the verification will happen in Python. My code works with ...
0
votes
0
answers
84
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:...
0
votes
1
answer
52
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 ...
0
votes
0
answers
22
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 ...
0
votes
1
answer
32
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 ...
0
votes
0
answers
25
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.
0
votes
0
answers
7
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" ...
0
votes
0
answers
21
views
How can i connect to multiple blockchain nodes?
I want to connect to multiple blockchain nodes and index the data. For example, if I want to get my balance from Ethereum (or EVM compatible blockchain ) and Solana (Non-EVM compatible blockchain) I ...
0
votes
0
answers
10
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 ...
0
votes
0
answers
73
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 ...
0
votes
1
answer
22
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 ...
0
votes
1
answer
52
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;
}
...
0
votes
0
answers
11
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 ...
0
votes
0
answers
17
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.