All Questions
Tagged with eth or cpp-ethereum
383 questions
1
vote
2
answers
358
views
(error_10) Please enter a valid data value (Must be hex.)MyEther Wallet
I'm trying to deploy a smart contract on Myteherwallet but getting an error while deploying the byte code of the smart contract which is written in solidity remix IDE.
I have even tried to change the ...
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.
1
vote
1
answer
329
views
web3.admin.addpeers return BigNumber Error
When I using ethconsole to deal with a private chain. I hope it can connects to another node which I get the node information.
But the command "web3.admin.addPeer("enode://[email protected]:30304",...
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",...
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 ...
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 ...
1
vote
1
answer
446
views
Tried to send ethereum to contract address, get error in etherscan (gethdebugtrace)
I sent ethereum to a contract address I made and I always get this error:
An error occurred during contract execution: exception
What is going wrong here? I used the exact same code provided on ...
4
votes
2
answers
624
views
web3 api in eth
Since, I am not able to use the go client in the multi node mode due to a bug (Multi node private local ethereum and send transaction), I tried to use the c++ client eth. Tried using the go client ...
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 ...
0
votes
2
answers
945
views
geth attach issue between mac and windows
I am running geth on windows machine and try for geth attach in mac. I give
below error:
Fatal: Failed to start the JavaScript console: api modules: Post http://192.168.0.107:8545: context deadline ...
0
votes
1
answer
912
views
Error encountered during contract execution [Reverted] Problem with Contract
I've sent the transaction - https://ropsten.etherscan.io/tx/0xbecb36319d806edc3617abcbeb1f95e7215cb205dc180088f225c1addd82086f to the contract address and it got reverted.
Could someone explain me ...
2
votes
2
answers
2k
views
Decoding ethereum leveldb keys and values
I've created a simple script to read ethereum data from the leveldb using C++. Basically this testing program would print all keys in leveldb to the console.
#include <cassert>
#include <...
0
votes
1
answer
656
views
Geth says it's synced, but is about 50 blocks behind everyone else
So I run a small eth mining pool and the eth node says it's synced, but when I compare the block to the ones on other pools we are about 50-100 blocks behind. When I check in geth it says it's fully ...
3
votes
1
answer
2k
views
Invalid address error
I keep getting Error: Invalid address when trying to run the application.
My current setup of web3 using infura node is
if (typeof web3 !== 'undefined') {
web3 = new Web3(web3.currentProvider);
} ...
0
votes
1
answer
381
views
user api to exchange eth token and wallet address creating using code
Is there any API to help exchange ether or tokens online which will help in coding an exchange.
For bitcoin one can generate a wallet address, is it possible to generate a wallet address for Ethereum ...
1
vote
2
answers
752
views
Is there any way to transfer ETH in a contract function just like transferFrom for ERC20 tokens?
I know that you can request an authorization and the transfer of ERC20 tokens from a contract user to another address with approval() and transferFrom().
But it here any equivalent to do the same for ...
3
votes
3
answers
15k
views
How to fetch ETH/USD price from the coinmarketcap api
I want to fetch the current ETH-USD price from this api (https://api.coinmarketcap.com/v1/ticker/ethereum/?convert=USD). How do I fetch just the price into a variable in PHP for reuse on my ...
0
votes
1
answer
394
views
ETH wallet issues
I use Coinomi wallet and everything was ok untill I tried to add my wallet to another system like MEW and Metamask
I use same recovery phrase but I end up with different account with no money there. ...
0
votes
2
answers
377
views
How can I parse internal transactions with light node?
is that possible to receive all transactions from new block with light node and parse all and even internal transactions with the help of its api?
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.
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, ...
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,...
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 ...
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: ...
1
vote
3
answers
1k
views
Bundle of Transactions
I have been studying some articles about MEVs on the Ethereum network and met FlashBots which provides security for MEV Bots
That is a bundle propagation service which receives bundles from searchers ...
0
votes
1
answer
456
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 ...
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 = ...
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 ...
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 ...
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 ...
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 ...
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 ...
7
votes
3
answers
3k
views
Is there any c++ library for signing transactions?
I am working on light wallet in c++, and I am looking for a c++ library for signing transactions. I mean something where i will pass transaction and private key and it will return signed transaction ...
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 ...
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 ...
2
votes
1
answer
1k
views
Generating an address from a public key in C++
Example:
Input key = 0x025f37d20e5b18909361e0ead7ed17c69b417bee70746c9e9c2bcb1394d921d4ae
Output address = 0xd09D3103CcABfb769eDc3e9B01500Ca7241D470A
I have been using an algorithm from keccak-tiny....
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: ...
1
vote
1
answer
2k
views
When do you get eth when mining eth?
I ran Claymore's eth miner for 8 hours and got 200 shares. I set my eth address when I ran the miner, but no eth was deposited to my address. When I restarted the miner the shares were reset to 0.
...
0
votes
1
answer
493
views
Forgot password of eth keystore v3 mist wallet keystore!
I have my ethereum keystore v3 , it is mist keystore file , but it also may login from myetherwallet site,I forgot password to it,I tried lexansoft,but all alphabet so long to try,I will write my hash ...
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 ...
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 ...
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 ...
3
votes
2
answers
2k
views
Get ETH and Token Balances of Wallet address
How do I get a simple and fast balance of ETH and all Token owned/stored within a wallet address?
I have seen similar question and the closer answer was in this demo: http://wbobeirne.com/eth-...
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 ...
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 !
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, ) = ...
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 ...
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&...
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 ...
2
votes
1
answer
782
views
web3 contract TypeError: 'apply' is not a function
I'm Trying to call the apply function on the contract ABI but I'm getting:
TypeError: 'apply' is not a function
at :1:1
> myContract
{
abi: [{
constant: false,
inputs: [{...}],
...