Questions tagged [cpp-ethereum]

The Ethereum C++ client.

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

ETH sent to contract address, how to get it back?

Instead of transferring my ETH token to my wallet, I accidentally sent it to some contract address, this one: 0xE592427A0AEce92De3Edee1F18E0157C05861564. Is there any way to get my ETH back?
0
votes
0answers
21 views

How do I cancel an Etherscan transaction?

I did a transfer with Eth, the transaction shows completed, but I didn't received the coin in my wallet. How do I revert the transaction with its hash value? Thank you.
0
votes
1answer
14 views

Going through large arrays with a for loop?

I am developing a dApp, and this line of code is in it: function generateActiveStakers() public { delete actives; for (uint i = 0; i < stakers.length; i++) { if (...
0
votes
0answers
10 views

Ethereum multiple transactions is one transaction

i want to ask how / if its possible to create multiple transactions in one on ETH. Let me explain details. I have old eth address where i have some old tokens, but 0 eth. i think this address was ...
0
votes
1answer
17 views

How To Verify A Coin Without Original Contract Source Code?

We are new to crypto. A while ago we created a coin (3DOM coin) with 14,000,000,000 units and stored them in our wallet on myetherwallet.com. We would like to deploy the token now but we do not have ...
0
votes
0answers
8 views

Using go, how to get the correct range of blocks

I have some eth wallet addresses, and I want to monitor the transfer information of these wallet addresses on some smart contracts.I use this function: query := ethereum.FilterQuery{ ...
0
votes
0answers
11 views

ETH token transferred to TX id

I transferred ETH token from Binance hot wallet to ETH wallet by mistake. How can I get that returned to Binance wallet. Can someone please help me on this. Regards
2
votes
0answers
24 views

Running a SPV wallet on Arduino/ESP32?

I want my ESP32 to make transactions and check for the details of blockchain using a secure method. Actually, I want to use make calls to the blockchain instead of relying on a single node. In my ...
1
vote
1answer
34 views

Whats the point of modifiers? [duplicate]

So let's assume the following code: modifier Owner() { if (msg.sender == owner) _; } function uploadContent() external Owner { uploadContent() .. } Why not use this? function checkOwner() ...
1
vote
1answer
33 views

Compilation Error while using ChainLink

I am using Remix IDE for my smart contract development. I am using the following import line import "https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.6/...
0
votes
1answer
60 views

I tried to send eth from Metamask (in balancer) but transfer is looking failed but I loss my eth(90$ around) What I should do?

I tried to send eth from Metamask but transfer is looking failed but I loss my eth(90$ around) What I should do?
0
votes
0answers
52 views

Uniswap Router v2 get price

Im working on something and I need to get a price from uniswap for some tokens eg eth or chainlink but from uniswap router contract, anyone knows how to calculate the price.
1
vote
1answer
36 views

Simple way to send gasless Transactions

I was wondering if there is a way for a user to pay transaction fees for another user, meaning user A sign the transaction and user B send it to the network and pays the gas fees. I found a solution ...
0
votes
0answers
10 views

Is it possible to install 2 geth ethereum nodes with one external ip?

I want to install 2 nodes in one local network, will I succeed? and what is needed for this?
0
votes
1answer
24 views

pending transaction on eth blockchain

i still waiting from 4h for my transaction. I know de gwei is low but what you think it will be processed. 0xb69c181d38bcd157d07a623b5c1b620e6694644626bc1ed48e984ed089933e86
1
vote
0answers
20 views

Ethereum NFT options

I am looking at producing a set of NFT's that are a set of 100, the item does not have an image, but is a token to run through an algorithm, I want them to be limited whole NFT's, not ERC-20s. I am ...
0
votes
0answers
15 views

sent etc classic to my eth address on hotbit

i sent my etc classic on coinbase to my eth address on hotbit. hotbit is now trying to get money from me to try and help. is there any other way to recover these tokens? i've been researching for ...
0
votes
1answer
24 views

i got a question about Etheriuem shares

hey i was wondering is it random time to get shares while mining eth depending on my pc power and pool im on because im mining on asia1.ethermine.org and i dont know if im meant to get shares quickly ...
0
votes
0answers
28 views

ETH Stuck because of low sending fee

Hey there I'm the one who supposed to received the ETH it seems like the transaction has been pending since 2 Days straight because of the low gas fee is it possible for me to just wait? or do I need ...
0
votes
1answer
17 views

DAO ETH account thru Shapeshift

In 2016 I did exactly the sentence below. Not ETH account was ever sent to me. Now I have almost 10 ETH sitting on the DAO that I can’t access. I tried customer support for both ShapeShift and ...
0
votes
0answers
23 views

ether.li -> how to transfer to any other wallet?

Dears, I'm holding some ETH since 2016 now and remembered this the last few days. However, as the price is nice, I'd like to sell some but they are on ether.li and I cannot transfer to any other ...
0
votes
0answers
14 views

Can I recover ETH sent to a know address? [duplicate]

On my Metamask Wallet I sent inadvertely my ETH to another address. Can I get it back?
1
vote
0answers
35 views

TX recieved from subscribtion but not in Tx pool

I am running local Geth and I subscribe to pending transactions like this : const subscription = web3.eth.subscribe('pendingTransactions', (err, res) => { if (err) console.error(err); }); ...
0
votes
1answer
52 views

Is their any change to move a wallet from an bnb blockchain to an ethereum blockchain?

I transferred some ethereum to my bnb wallet. Later I found out that this bnb wallet is not on the ethereum platform. So I send an amount of ETH to an address similar to the address of the bnb wallet (...
0
votes
1answer
31 views

A silly question about web3.eth.sign

I'm a beginner and I need to sign the data with metamask,Find the document https://learnblockchain.cn/docs/web3js-0.2x/web3.eth.html#sign then In the browser's debug desk ,i try run web3.eth.sign('...
0
votes
1answer
48 views

Is it possible to charge extra ETH fee for token transfers? [closed]

Is it possible to accumulate fee amount deducted from transfer transactions in a different address in smart contracts? Person A transfers tokens to Person B. Let's say the transaction fee is 0.1 ETH, ...
0
votes
1answer
21 views

any 3rd party service that can get all transaction?

3rd party service recommended have any 3rd party service that can get all transaction of address? because from my research the web3 cant get the full transaction by account.
0
votes
0answers
32 views

Internal Transactions - How to find out the address of the contract that is calling?

i have been Googling for this answer, but i haven`t succeeded. The scenario is the following: I have two contracts interacting with each other, and I want to make sure that they only respond to each ...
0
votes
0answers
12 views

Aleth. Create unsigned transacion from json

I am trying to create unsigned transaction with aleth. I am trying to use ./rlp create command for this which accepts transaction in json format. Does anybody know this json format looks like? What ...
1
vote
0answers
22 views

Encoding and signing transaction with aleth client [closed]

I am learning aleth client. I want to do two simple steps: encode json to rlp with ./rlp create [...] sign this rlp with ./aleth-key sign <ma_rlp> And I am getting errors in ./aleth-key sign &...
1
vote
0answers
18 views

creating and signing transaction

I am looking a way to create signed transaction using c++ libs from aleth. I have this transaction: { from: "0025defd0f341b7f673f84b81c8416d58df29045", to: "...
4
votes
2answers
165 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
0answers
24 views

Using two key for displaying data from contract

i can't found any idea how to get data with two keys. One key "address", second key is "IsCollect" My mapping: mapping(address => Player) public users; struct table: ...
-2
votes
1answer
32 views

Datetime in solidity [closed]

how can i get date time in solidity like that: 14/10/2020 20:50. I don't want 8:50 PM. I get in timestamp but timestamp not possible convert because I have wrong timestamp.
0
votes
0answers
15 views

What is impacting generated contract address? [duplicate]

What is used to generate contract address. I found this project https://github.com/johguse/profanity And I want to generate vanity contract address. If I understand correctly it not depends from ...
1
vote
0answers
23 views

Generating blocks without mining,

I have private test network, and I need to simulate forks. Is any possibility to immediately set number block fork-1 (in PoA or any other protocol) ? If yes, what is the easiest way to do it ??
0
votes
1answer
732 views

web3 eth return returns a nonexistent transaction hash

I'm trying to create transactions something like this: var sender = meth.eth.accounts.privateKeyToAccount(data.fromPrivate) meth.sendTransaction({ sender, to: data.to, amount: data.value, }, cb) ...
1
vote
1answer
104 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
0
votes
0answers
36 views

Ethereum token transaction taking too much time to confirm [duplicate]

I was transacting an ethereum token CRO crypto coin out of wallet. There was 3 fees options. I chose fees for slow transaction time. And it told the transaction should confirm in 30 minutes. But now ...
0
votes
1answer
65 views

Ethereum stores its own data, how to synchronize the data to other nodes in the future

I use smart contracts in Ethereum to store some string data, how to synchronize these stored string data to other nodes. As far as I know, these string data are stored in the node's leveldb database, ...
0
votes
1answer
110 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 ...
0
votes
0answers
33 views

Write Secret Shared Data onto Ethereum

What would be an approach to do the following: 1) Secret Share data provided from a file 2) Publish the secret shared data onto an Ethereum instance (aleth/geth) 3) Be able to retrieve and ...
0
votes
1answer
41 views

Compiling cpp-ethereum (aleth) sources as a part of my cpp project

I want to use cpp-ethereum aleth smart contracts sources in my altcoin project. My sources can compile with cmake or autotools system. I tried two ways to compile cpp-ethereum with my sources: Using ...
0
votes
1answer
33 views

Are there any API to get real money value equivalent of a transaction?

I know that etherscan shows the total cost of a transaction both in eth and in US dollars. Is there any api of any kind to be able to get instant value of eth when I send a transaction?
0
votes
2answers
104 views

How can I send tokens to large number of addresses?

I have to send 221,000 tokens (ERC20) to 6477 different addresses. Airdrop guy used some automatic sending app and that tells 1.94 ETH is needed as approx cost of operation to send all this. Is there ...
1
vote
1answer
168 views

(error_10) Please enter a valid data value (Must be hex.)MyEther Wallet

im trying to deploy smart contract on Myteherwallet but geting an error while deploying byte code of smart contact which is written in solidity remix IDE I have even tried to change the object byte ...
0
votes
2answers
60 views

No longer have tokens after updating Nano S [closed]

I recently updated my Nano S and was required to reset everything. After udpdating I went to MEW to swap my KIN & I had a ETH Ballance of 0.000 & a KIN ballance of 0.000. I have the address ...
0
votes
1answer
73 views

Any QuickBlocks tutorial?

From my understanding QuickBlocks is an api in C++ that provides similar services as etherscan API for the ethereum blockchain. Is there a link or tutorial to use quickkblocks because the example in ...
0
votes
1answer
36 views

Adding the delta to a token transfer

Let's say I have 5 contributors to a pool of a smart contract. They all contributed 1 ether. The smart contract lost 2 ether, and now I want to transfer back the remaining 3 ether to the 5 ...
0
votes
1answer
304 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-...

1
2 3 4 5 6