Skip to main content

All Questions

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

Two of my transactions were not completed

Two of my transactions were not completed but I was charged for them. How do I get the fees back? It's around $25.
Matin Meghdadi's user avatar
0 votes
0 answers
5 views

Problems in experience of blockchain splitwise

When I was running code of this splitwise code by using "npx hardhat run --network localhost web_app\script.js",but it answered back with the fault:"cannot find module abiDecoder",...
hh l's user avatar
  • 1
0 votes
0 answers
23 views

ERC-20 Token Lookup

I am looking for an ERC-20 token with only the Name (Ticker), but when I search that up on Etherscan I come up with many many options. Is there any way yo look these up by other criteria such as ...
cyptonewb's user avatar
0 votes
2 answers
59 views

Why is my transaction showing as 'success' but the value is 0 ETH ($0.00)?

I am new to the bitcoin world and any help would be appreciated. Transaction hash: 0xfba22d3b6d047bbd81d25dd5d6ef3f070f57f79abeaeb4de49e7dc605ab4cb7c If I was scammed, is there any way to recuperate ...
serge larin's user avatar
1 vote
1 answer
41 views

Why I need an RPC URL to call a view function in Solidity

hello so my question is why I should need a RPC Url while calling a view function Here is my simple code that is deployed in the localhost anvil testnet and that run successfully and there I did not ...
Debayan Ghosh's user avatar
0 votes
0 answers
15 views

I got scammed by Robot [duplicate]

There's APP called ETH MINER ROBOT. I withdraw 0.1ETH to my Binance Account and never received it.
Musanda's user avatar
0 votes
0 answers
11 views

I got scam from one pretty girl she told me invest USDT up to 5k and earn daily profit, refer this website, "ogfvs.top" ETH-ERC_20 [duplicate]

I got scam from one pretty girl she told me invest USDT up to 5k and earn daily profit, refer this website, "ogfvs.top" ETH-ERC_20 by using this website, and i lost my USDT 4600 recently, ...
shabi's user avatar
  • 1
0 votes
0 answers
18 views

Private Node Network-GoEth

i am trying to install private network of three nodes on my single laptop. i did following: install go-eth. used a medium article and followed instructions when i try to connect nodes with each other,...
Mohsin Munir's user avatar
0 votes
1 answer
18 views

Can someone spend native Ethereum from a signer's address using just a signature?

I'm exploring Ethereum's cryptographic features and wondering if there’s a way for someone to use a signature to spend native Ethereum (ETH) from the signer's address without directly requiring the ...
Nerses Asaturyan's user avatar
0 votes
0 answers
17 views

ETH tokens sent to BNB address in Safe Wallet

Some ETH tokens have been sent to a BNB safe address in Safe Wallet. To recover them I have followed this procedure: https://share.zight.com/z8uBKZYr. The wallet owner of the Safe Wallet is: ...
Mxrypto's user avatar
0 votes
1 answer
459 views

Some one make a fake token transfer from my friend wallet without having his PK

Now how is that possible? https://etherscan.io/address/0x781C2EA34506d904573E7E92be19154B729B2EE5#tokentxns this guy send 65 ETH to an address but some scammers sent 65 ETH token(fake) with his ...
Vahid Rasizadeh's user avatar
0 votes
0 answers
13 views

I exchanged scam tokens,pls help me [duplicate]

I exchanged ETH for scam coins through BYBITWEB3 on UNISWAP, now they cannot be sold on BYBITWEB3 DEFI (he writes that the contract has closed source code) and when trying to reverse exchange through ...
user139606's user avatar
0 votes
0 answers
42 views

go -ethereum abi: cannot marshal in to go type: length insufficient 640 require 8225"

Im trying to decode a struct which basically is a tuple where i have this byte of data and passing the byte of data it will be able to be decoded into a struct in Go. My goal here is trying to create ...
0xbyterider's user avatar
0 votes
0 answers
7 views

If two persons split the minting process payment 80-20% on opensea , what are the rights and risks of each one on NFT?

I am new to NFT minting. I created a collection and am about to create a NFT . Someone has a buying customer on opensea for my Artwork to be minted. He suggests to pay 20% of the minting fees while I ...
Frank's user avatar
  • 1
1 vote
1 answer
272 views

How to do simulation of all/most pending transactions?

everybody. I have a task to search in mempool for transactions like "swap tokens for eth" or any other type where a wallet sells tokens and its transaction can affect token reserves. There ...
solo11's user avatar
  • 11
0 votes
1 answer
8 views

How I decrease the gas fee when I call the contract method?

Deploying my contract on rinkeby cost ~12 USD in gas fees (using truffle cli). Is it possible for me to specify gas fees/set a limit in the smart contract so it costs me 0.5 USD, but takes longer to ...
Hom's user avatar
  • 101
0 votes
0 answers
7 views

Lost ETH using BOT [duplicate]

I am a newbie and saw a video in YouTube about setting up ETH contract using BOT. The code was also given by the YouTuber. I created the contract and linked it to MetaMask and then transferred ETH to ...
Vasu Raj's user avatar
0 votes
1 answer
43 views

Failing while trying to deploy ETH SAFE on BASE. What am I missing?

I tried following the steps outlined here: https://help.safe.global/en/articles/40812-i-sent-assets-to-a-safe-address-on-the-wrong-network-any-chance-to-recover https://share.zight.com/z8uBKZYr This ...
wrong-addressor's user avatar
0 votes
1 answer
53 views

Best Practices for Gas Optimization in Ethereum Smart Contracts

Ethereum community! I'm currently working on developing a smart contract for a decentralized application (dApp) on the Ethereum blockchain. I'm concerned about optimizing gas usage to enhance ...
Ian Park's user avatar
0 votes
1 answer
24 views

How to enable multi-payment in the NFT marketplace like ETH, USDT, MATIC, DAI, etc?

Hope you are doing great. I'm trying to build a NFT marketplace with multi-payments. When users buy a NFT, they must be allowed to pay with any of the payments such as ETH, USDT, MATIC, DAI... How to ...
Vara Prasad's user avatar
1 vote
1 answer
80 views

Abigen from flattened contract files

I have a file that is composed of 5 imports, too much code to drop here so I will illustrate my question with a very simplified example. My Test.sol file: // SPDX-License-Identifier: MIT pragma ...
pigfox's user avatar
  • 167
1 vote
0 answers
95 views

abi: attempting to unmarshal an empty string while arguments are expected

After updating go-etherum from github.com/ethereum/go-ethereum v1.10.22 to v1.13.15 My contracts started printing out error abi: attempting to unmarshal an empty string while arguments are expected ...
Mikheil Janiashvili's user avatar
2 votes
1 answer
77 views

C code to sign a message compatible (such that can be verified) with Metamask, mycrypto, etc

I am on macOS and trying to put together the code to sign (and once I succeed to verify) a message with an Ethereum private key. So, the private key (just used to test, no funds there lol) is: ...
capodieci's user avatar
0 votes
0 answers
40 views

public key recovery failed intermittently with go-ethereum

I am trying to recover public key from signature and digest. below is my code. It's failing sometimes with error recovery failed package main import ( "crypto/ecdsa" "crypto/...
Pankaj Kumar's user avatar
3 votes
1 answer
84 views

for loop containing types.Sender sometimes does not leave and consumes 100% CPU

I have this simplified code here: signer := types.LatestSignerForChainID(s.ethApiBackend.ChainConfig().ChainID) log.Info("Before msg generation", "txsLen", len(txs)) msgs := make([]...
flo's user avatar
  • 115
0 votes
0 answers
19 views

Possible to use CallContract during validation (on block not yet included in blockchain)?

I'm building a consensus engine. Already built a prototype of it, and now interested in improving it (mostly simplifying the implementation so it fits better with existing Ethereum codebase with least ...
BipedalJoe's user avatar
1 vote
1 answer
205 views

Using abigen with combined-json option generates nothing

I was trying to generate go binding using following commands: abigen --combined-json UniswapV2PriceOracle.json --pkg abi --type UniswapV2 --out UniswapV2.go It doesn't give any error, but the go file ...
John Smith's user avatar
2 votes
1 answer
130 views

How to correctly pack Log data in Go

Using go-ethereum, I want to convert a struct containing my log fields into a types.Log{} object containing the data bytes and topics. Essentially, I want to do the opposite of the Parse<EventName&...
Ryan Collingham's user avatar
0 votes
2 answers
323 views

How to get raw transaction from v, r, s signature

My question is what would convert transaction fields r, s, v to rawTransaction. Can I see a transaction in the mempool and get its signature and raw? here is an example vrs: raw = ...
404's user avatar
  • 33
0 votes
1 answer
100 views

web3py Force send eth transaction at the same block without conformation or any errors

My question is how to force send a transaction via web3 or any other way without paying attention to errors. I know that I will pay for the commission if I am not successful and that will suit me. I'm ...
404's user avatar
  • 33
2 votes
3 answers
469 views

How to implement the below solidity code in golang? especially the `abi.encode` function?

How to implement the below solidity code in golang? especially the abi.encode function? abi.encode( keccak256("delegate(address sender,string amount, string to)"), sender, amount,...
Daniel Moore's user avatar
0 votes
1 answer
67 views

can eth_call() make this?

I have a contract and inside the contract there is a non-payable function that can call externally. this function do some analysis,and calls other payable function than can make real transaction using ...
Biruk Damte's user avatar
1 vote
0 answers
25 views

Good extensions for both Foundry & Hardhat

Hello i'am looking for good vscode extension for both foundry & hardhat. Thank you for your feedback !
PandaKungFuu's user avatar
1 vote
1 answer
53 views

how to revert transaction excuted by low level call

Hello ethereum community. I'm experimenting with low level calls and i want to revert the transaction made by low level call, if i didn't get the desired result. Is it possible? (bool success, ) = ...
Biruk Damte's user avatar
0 votes
3 answers
559 views

Despite calculation I get contract creation code storage out of gas

My smart contract is deployed on https://sepolia.etherscan.io/tx/0x1b1742a3ff2ac160d5f245ab91828fcc56a803cb3826b6cbdb9f3cb2f293ba66 Once deployed I get contract creation code storage out of gas error ...
pigfox's user avatar
  • 167
1 vote
1 answer
216 views

Why Golang was chosen to implement ethereum protocol?

I know there are many implementations of the Ethereum protocol, i.e. the first implementation in Python, or other implementations using C++, C#, and Java. As go-ethereum has gained lots of attention ...
Ehsan Khodarahmi's user avatar
0 votes
0 answers
83 views

approve spender to swap

i'm trying to swap using 1inch aggregator api and when i try to swap, it says "Not enough allowance. Amount: 4600000000000000. Allowance: 0. Spender: 0x1111111254eeb25477b68fb85ed929f73a960582&...
Biruk Damte's user avatar
0 votes
1 answer
33 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 ...
Biruk Damte's user avatar
0 votes
1 answer
238 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 ...
Biruk Damte's user avatar
1 vote
2 answers
405 views

UniswapV2's equivalent of getPair and other functions

i see uniswapv3 quoter or factory or router contracts doesn't have getPair, getReserve and other similar ABI functions like UniswapV2. does UniswapV3 have Equivalent for this functions? or did they ...
Biruk Damte's user avatar
0 votes
3 answers
734 views

REWARD!! PLEASE CAN SOMEBODY HELP ME ETH STUCK - I am a newbie trying to create a trading bot. and came across a tutorial, my 1.1eth stuck Metamask! [duplicate]

SORRY ABOUT THE GRAMMAR AND SPELLING I HAVENT SLEPT FOR ALLMOST 2 days BECAUSE OF THIS.. Here is a bit of a back story on why I have become a little desperate lately to find ways to make crypto faster ...
GTR ARGH's user avatar
0 votes
1 answer
494 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 ...
Biruk Damte's user avatar
1 vote
0 answers
97 views

Can I make a contract call to refund the unused gas fee to a specific address instead of the msg.sender?

Can I make a contract call to refund the unused gas fee to a specific address instead of the msg.sender? I want to use this as a means of charging fees for my project.
Benjamin's user avatar
1 vote
0 answers
217 views

($10 ETH Bounty) Base Chain - My submitted transaction is always 2 blocks behind the current block

For some reason whenever I submit my transaction it is always included 2 or more blocks behind the current block. There's an address that always has their transaction included in the same block as the ...
shlx's user avatar
  • 31
1 vote
0 answers
75 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 ...
Biruk Damte's user avatar
1 vote
2 answers
201 views

how does swapExactTokensForETHSupportingFeeOnTransferTokens work and its inputs

I tried many things on inputs but unfortunately I am just receving a gas error (the one that says would likely fail if continued) How does the function input works exactly? uniswapV2Router....
Lupus7's user avatar
  • 11
1 vote
2 answers
148 views

How to analyze a tx data?

Given a transaction of type types.Transaction (golang go-ethereum), how can I analyze the data field and check if it has a swap or a sync event? I know that ...
AnastasiaShishkova's user avatar
1 vote
0 answers
30 views

Reduce gas price?

I'm working on a sniping bot on uniswap, and i have a little problem : the first ones to buy are those who pay the most. Pretty logical, but I don't really want to pay 300$ in priority gas to be the ...
Newly Sama's user avatar
2 votes
0 answers
47 views

geth full node is too slwo.Only about 50 blocks can be synchronized per minute

geth full node is too slwo.Only about 50 blocks can be synchronized per minute However I use snap mode to sync very quickly. Unfortunately what I need receipts for all transactions. this is my server: ...
Mashaji's user avatar
  • 21
0 votes
2 answers
106 views

transferring USDT from metamask to smart contract

I'm trying to transfer USDT tokens from my metamask account to another address(which is variable in smart contract) through method call. if I use transfer method, I'm getting not enough balance(...
GiorgiSh's user avatar
  • 129

1
2 3 4 5
12