Questions tagged [ethereum-wallet-dapp]
Tag for the questions related to the deployment of the contracts using Ethereum wallet.
1,035
questions
0
votes
0
answers
7
views
Uncaught runtime errors:
ERROR
Cannot read properties of undefined (reading 'methods')
TypeError: Cannot read properties of undefined (reading 'methods')
at App.createProduct (http://localhost:3000/static/js/bundle.js:9909:28)...
0
votes
0
answers
12
views
WETH not reflected on my COINS PH WALLET [duplicate]
Coins ph supported ETH (ERC20) and i thought my WETH TOKEN from my ronin wallet is the same as ETH that's why i transferred it but unfortunately i haven't received it yet, it almost 10hrs pas. Is ...
0
votes
0
answers
9
views
"Params specify an EIP-1559 transaction but the current network does not support EIP-1559"
I am working on a decentralized application project. Whenever I am trying to do any write operation on smart contract from my react application I am getting this error. Smart Contract is fine, fully ...
0
votes
1
answer
22
views
Consolidate multiple Ethereum accounts
I have multiple Ethereum accounts with pretty small amount of Ether, like equivalent of $20…$50
Is it possible to consolidate all wallets and/or transfer the all coins to a single wallet in Ethereum ...
0
votes
1
answer
30
views
"eth_estimateGas" throws execution reverted error
I was trying to use eth_estimateGas but It throws execution reverted, The error doesn't indicate anything.
This is my code :
final gas = await _web3Client.estimateGas(
sender: sender,
...
1
vote
1
answer
37
views
Metamask getBalance method doesnt work
When I wanted show my eth balance in my web site it gives me this "0x103cf17cc1518eb4" how can i turn into string?
0
votes
1
answer
23
views
Stuck in Smart Contract
I paid the fees on ethereum for item but received nothing what can I do for this? I think there is an error in smart contract please check for me my address is ...
0
votes
2
answers
23
views
New Account with no transaction
I'm working with my metamask wallet to interact with my DApp. While reading about data in Ethereum, I read that the blocks in the chain do not store any account information. It will have only ...
0
votes
1
answer
62
views
Display token balance of test tokens
I am working on a React-Native crypto application for fun, and I am trying to show the test tokens that I have inside my metamask wallet to display on my app to display the token balances.
I have ...
0
votes
0
answers
13
views
How to Implement User Account Switching in a Mobile DApp without Hardcod Wallet Private Keys?
I'm currently developing a mobile decentralized application (DApp) and I've had to hardcode the private key of the wallet to sign transactions. However, I'm facing a challenge when it comes to ...
0
votes
2
answers
58
views
Error Handling in Solidity Using Custom Errors with Web3js
In many posts, I've noticed discussions about handling this using the Ethers library. However, my implementation is based on Web3.js, and I'm facing a challenge.
My contract is set to revert a ...
0
votes
1
answer
123
views
ERC721: invalid token ID"
I'm minting an NFT and listed it on my NFTMarketplace, after minting I keep getting ERC721: invalid token ID, whenever I try to create the sale on the market place.
this is my nft code
// SPDX-...
0
votes
1
answer
27
views
Dose contracts must be deployed?
I see js programmers compile and call solidity contract without actually deploying it using hardhat and/or similar tools. Do they really can use the contract without deploying on the chain(like swap ...
1
vote
2
answers
71
views
Error: VM Exception while processing transaction: reverted with reason string '12'
I'm getting an error like:
Got 20000000000000000 WETH.
Approved!
Depositing...
Deposited!
You have 20000000000000000 worth of ETH deposited.
Yoy have 0 worth of ETH borrowed.
You can borrow ...
0
votes
1
answer
63
views
1Inch with flashloan provider
Is there a way to trade on 1Inch using the API and flash-loaned balance. If it is possible please give me some info. I was seeing the DOC to find how to integrate the flash-loan provider with 1Inch ...
0
votes
1
answer
101
views
TypeError: Cannot read properties of undefined (reading 'match')
I'm new to Solidity and ether js. I'm stuck with error below in VSCode. Can anybody help explain what this error means and advise how to fix this? Thank you so much!
ERROR BELOW:
(node:5884) ...
2
votes
1
answer
148
views
Why Ethereum addresses contain lowercase and uppercase letters
Take my address for example : 0xc9d7b2e7fb30613cf0303438e739ff0aa7c856ef
You can see all of the alphabet letters are small case . But when I search this address in polygon mumbai for example , I get ...
3
votes
1
answer
52
views
Smart Contract/Nextjs Error: Returned values aren't valid, did it run Out of Gas?
I'm having an error while calling one of the function of the deployed contract from Next.js
Error: Parameter decoding error: Returned values aren't valid, did it
run Out of Gas? You might also see ...
0
votes
1
answer
116
views
getAmountsOut and sushiswap user interface shows different result
Hello eth communities..
I am trying to interact with ethereum chain using programming and I'm using getAmountsOut to get swap path quote using sushiswap's contract. But the result in my vscode and ...
0
votes
3
answers
77
views
fallback and receive function on WETH
Does a contract that works with Wrapped Ether(WETH) require a fallback or receive functions? Let say I send WETH to a smart contract with/without fallback functions, what will happen?
0
votes
2
answers
18
views
What are the standard solutions to enable new users to interact with a DApp contract for free without gas fees?
I'm developing a decentralized application (Dapp) where new users receive a free NFT upon registration. I want to allow these users to list their NFTs for sale without requiring them to have any ...
1
vote
1
answer
36
views
Building Cryptocurrency Tracking system for monitoring stolen cryptocurrency transactions
When hackers steal tokens from an account, what they generally do is divert the flow of tokens via multiple proxy accounts making it complicated for the cyber-forensics department to track final ...
1
vote
0
answers
102
views
Pancake swap hack
I have been recently victim of a pancake swap by buying some custom token.
My Ledger and my Metamask were connected to pancake swap while i tried for the 1st time a Crypto Pump found on Telegram (a ...
2
votes
2
answers
31
views
How to Reduce Wallet Prompts for Enhanced User Experience in a Blockchain Gaming dApp?
I am developing a gaming dApp on the Ethereum network and aim to optimize the user experience, particularly in interactions with the blockchain. A major challenge is the frequent Metamask prompts ...
1
vote
0
answers
63
views
Uniswapv2 "quote" ABI
I am trying to sign contractof Uniswapv2 on ethereum mainnet using "quote" ABI. the function is
quote(uint amountA, uint reserveA, uint reserveB)
I use c++ to make the raw transaction and ...
0
votes
0
answers
28
views
Connect & interact with dApp without wallet connection
I have a question regarding the issues I am facing on my current project. I am building NFT marketplace on the Polygon network.
The specific requirement is we should allow the users can interact with ...
4
votes
1
answer
149
views
How to sign message EIP-712 with whitespace in name?
I have a message need to sign like below
message = {
"types": {
'EIP712Domain': [{
'name': "name",
'type': "string"
...
0
votes
0
answers
14
views
High fee uniswap liquid add for my new erc20 token
Uniswap.Today I tried to add liquidity to my new ERC20 token, I chose a pair, set up a range, clicked add and I was asked for 0.2 ether gas fee, which is almost $350, why so much? And will liquidity ...
0
votes
2
answers
27
views
What is the purpose of the constructor?
contract Constructor {
string public name;
// I thought constructor will prevent the name to change but after deployed the contract, calling the function resulted in changing the name?????
...
0
votes
0
answers
10
views
I got Session proposal trying to log in to Opensea: Events: chainChanged, accountsChanged
Would really appreciate your help. Is that a scam? I cannot log in without resolving the wallet Session proposal. So far i have denied request several times. What happens is i Approve?
NetworkEthereum
...
0
votes
1
answer
51
views
Someone has defrauded me using this contract. What should i do to get my money back?
/**
*Submitted for verification at Etherscan.io on 2023-06-22
*/
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**...
0
votes
1
answer
73
views
Not able to install rainbow kit
How to deal with these errors to install and integrate wallets
0
votes
0
answers
21
views
How to Un-flatten a smart contract in Solidity?
how to un-flatten this smart contract?
https://etherscan.io/address/0x789e35a999c443fe6089544056f728239b8ffee7#code
0
votes
0
answers
21
views
Safe-CLI not working on BSC
I have a contract wallet created by 1.1.1 manually on BSC. It seems the only way to interact with it is through SAFE-CLI (Command Line Interface).
However, I find the CLI package seems down on BSC ...
0
votes
0
answers
13
views
Lost ETH, can't work out what wallet was used to store it
I bought some Ethereum on behalf of my parents in 2017. I think we decided to store the currency on my Ledger Live but on a different address. I have the password for every wallet I've ever created by ...
0
votes
1
answer
343
views
What are Ethereum Genesis transactions?
I recently came across these transactions on Ethereum that don't have a typical transaction hash. They are sent by a wallet named "GENESIS," which is not associated with any specific address ...
0
votes
1
answer
8
views
Can user buy NFT without external wallet
This is a client request I got. The client is having a platform where he sells NFTs as tickets for events. The client needs all users to have a internal wallet that is within the application so that ...
1
vote
1
answer
54
views
State variable not returning value when the contract is deployed into sepolia test network
The manager state variable captures the value of account that deploys the contract on the network. When deploying the contract on Ganache and calling ContractName.methods.manager().call(), it returns ...
0
votes
0
answers
32
views
Newbie to hardhat, I am able to make transactions to smart contract but when I return a data it complains: Calling an account which is not a contract
I am a complete newbie in hardhat, web3 and smart contracts. I wrote a simple sol file:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
contract CreatorRegistry {
struct Creator {
...
0
votes
1
answer
11
views
Why Cic testnet transaction cost is high?
I was testing my smart contract on cic testnet but the transaction cost for a simple transaction like updating the string was asked for 65 cict how to resolve this issue?
1
vote
1
answer
39
views
View Function Error in Ethers js
I Use ethersjs Cdn when i call getCounter Function in my SmartContract it return me transaction object not give me counter value. View Function not give me value it give me transaction object
async ...
1
vote
1
answer
328
views
taking too long time to sync Ethereum Full Node
I'm trying to sync full node for ethereum by using Vultr service.
I borrowed VPS from Vultr service and I try to sync to it but after 3 days, it's still working.
It takes too long time. At first, ...
0
votes
0
answers
9
views
How to create provance hash for NFTs
i am working on the NFT project where i need to implement the provance hash. but i am unable sure from where is should start. like it is doen through smart contracts are from JS Libraries or node js ...
0
votes
2
answers
72
views
How to check the life of the wallet address?
I want to know if there is a way to check how long ago is the wallet created? like 2 days ago, 6 months ago?
Is there a way we can check?
0
votes
1
answer
33
views
Can i transfer token to a account for next 180 days automatically without any further interaction with function using for loop?
I have written a function to lock some amount of tokens. If user lock tokens then by calling this function then token will be locked for 180 days. One of the important logic I wanted to implement is I ...
1
vote
0
answers
316
views
wallet connect button integration using web3Modal
I'm trying to integrate wallet connect to my dApp using web3modal.
Link to the docs -> https://docs.walletconnect.com/2.0/web3modal/react/installation
The dApp is about token swapping.
When I try ...
0
votes
1
answer
33
views
Is there any way to interact with current status of a deployed contract from another smart contract?
Suppose a contract,which is working with ERC20, lets call it contract-1, is already deployed onchain and functioning properly in real world. I want to add some functionality in it. But as we know ...
0
votes
0
answers
34
views
'Execution Reverts' when sending ERC-20 token on Swift
When I run this method in Swift, the transaction fails. And I get the following error in Polygon Scan Mumbai:
Warning! Error encountered during contract execution [execution reverted].
When I print ...
1
vote
0
answers
33
views
Polygon Top addresses Polygon chain vs Ethereum chain
If I check Polygon top addresses on Polygon chain, I see the following list on https://polygonscan.com/accounts. With top1 address 0x0000000000000000000000000000000000001010 containing 9,070,304,832....
0
votes
0
answers
133
views
How i can install eth infinitism bundler locally to my system
i am new to learning account abstraction which is defined in ERC-4337. i had found the following repo on the github which is the implementation of bundler from the original authors of ERC-4337.
https:/...