Questions tagged [cpp-ethereum]

The Ethereum C++ client.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
21 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
57 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
39 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
21 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
39 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
19 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
25 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
0answers
16 views

ethminer application is not working on linux centos 7 for FPGA card

I have installed new xilinx FPGA card on linux centos 7 for ETH mining. Note: [bitstream, drivers have been installed]. The ethminer application throwing below error, ethminer 0.18.0-rc.0 Build: ...
0
votes
1answer
28 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
0answers
29 views

Has Aleth client light node option?

I have find information about running a light node with go-ethereum(https://www.mycryptopedia.com/how-to-run-an-ethereum-node-on-a-raspberry-pi/): geth –cache=218 –syncmode “light” but I am ...
0
votes
1answer
25 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
43 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
104 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
34 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
50 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
31 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
114 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
0answers
44 views

Need to help in adding bigendian support for Keccak256.cpp

Need help in making the keccakf function based on endiness in https://github.com/ethereum/solidity/blob/develop/libdevcore/Keccak256.cpp. I have gone through similar functionality at https://github....
0
votes
2answers
101 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
2answers
93 views

Cant send ether from one contract to another

I have 2 contract contract A{ uint bidValue; address bidder; function bid() public payable{ bidValue = msg.value; bidder = tx.origin; } } And contract B : import A.sol; ...
0
votes
1answer
92 views

plug our own consensus in any one of ethereum client? [duplicate]

Actually i try to add new consensus and will through modifying some consensus to see its effect on transaction throughput. so what platform should i use that provide me this facility or should i use ...
1
vote
1answer
75 views

Ethereum receipts blockid and hashes

Preface: The question relates to the relationship between the content of the Ethereum's receipts and the hash of the block header. Problem description: I wonder, in Ethereum, blockid is based on the ...
0
votes
1answer
121 views

How to choose contract address and wallet address

When you start an ICO, to receive a fund from people for your ICO, how do you choose the contract address and your wallet address to receive ETH collected for your ICO? Thank you. And excuse me for my ...
0
votes
1answer
25 views

problem displaying ico

I created an ICO using ropsten (because I did not have an ETH) and when I search for my ICO on https://etherscan.io, I cannot find it. I can only find it here: https://ropsten.etherscan.io. Is it ...
-1
votes
1answer
334 views

How to create and manage a referral link on solidity Smart Contract (unique referral link)

I'm building a DApp in solidity where I want give a bonus to the users that wants promote it. My problem is that, to use my Referral system, now I need to insert manually the wallet address of the ...
0
votes
0answers
94 views

How to upgrade Solidity version in geth or ethereum private blockchain

I have built my private blockchain of ethereum and i'm curious to know that how can i upgrade to new version of solidity within geth so that we also can develop smart contract on newer version as ...
0
votes
0answers
21 views

ropsten eth что делать

I sent eth 2.62(NETWORK ETH) ON the eth ropsten wallet address 0xe2fcd50EfdD674C26f894aB5ad71fEcB14b7cDA4(BUT NETWORK ETH (myetherwallet.com)NOT ropsten eth). How to transfer to the wallet Eht ...
1
vote
0answers
55 views

ethereum wallet running a private net 0 peers 0 waiting for blocks

am using geth VRSION: 1.8.20-stable-24d727b6 and ethereum wallet Ethereum-Wallet-linux64-0-9-3 and i am using Ubuntu 18.04.1 LTS in the geth console i started the miner but either is not ...
1
vote
1answer
155 views

Metamask does not react on delivering gasPrice

I am using following code to generate a new transaction using web3.js & metamask: var web3dictdata = { gasPrice: web3.toHex(10), gasLimit: web3.toHex(210000), to: "...
1
vote
0answers
56 views

Parsing ethereum chaindata using leveldb

I'm new here :) I'm writing a c++ program that parses ethereum chain data. As of present I was able to get the key value pairs by using leveldb::ReadOptions command (as illustrated in the below code) ...
2
votes
2answers
106 views

Identify the block which contains a tx

I am deploying a Smart Contract to a private blockchain. Is it possible to get when your node receives the smart contract? Is it possible to identify the block which contains the smart contract? how?
0
votes
1answer
49 views

Where Can Find the Ethereum source code on Proof Of Stake

Looking to find the implementation of Ethereum Proof of Stake Source Code on GitHub.
2
votes
2answers
3k views

Any quick, easy ways to convert ERC-20 tokens?

Are there any quick ways to convert my Airdrop ERC-20 tokens from various old ETH wallets to ETH/BTC...? Looks like I've got a few hundred $ kicking around in old Airdrop tokens. I've seen a few ...
0
votes
1answer
43 views

is there any problem if i put GETH/PARITY and webserver in one server?

my website need to use something about ETH,so i have to setup a geth/parity rpc server. is there any problem if i set the geth/parity rpc in my webserver?
0
votes
2answers
134 views

Connecting to Ethereum Clients from C application

web3.js is a great library to communicate with client node. I have tried using socket programming from C application to first reach nodejs web app in order to make use of web3.js services to reach a ...
1
vote
1answer
327 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
1answer
67 views

How is this possible from only one worker/PC?

So I was clicking around on the Ethermine.org site the other day to check out some folks's ETH performance levels and came across one that has me deeply pondering on how he is doing his mining. I ...
6
votes
2answers
710 views

How to exchange ETH to DAI with web3 and node.js

I looking for solution how to convert eth to dai with web3 api. something like https://kyber.network/swap/eth_knc (I can send eth to specyfic contract adress and I receive back DAI to the same ...
2
votes
1answer
60 views

What is a active wallet vs inactive

In Apr. empower had an airdrop that they said only wallets that had .1 ETH. would get it. Was that the customary requirement in Jan when the crypto blockchain was jammed?. And wasn't that lowered to ....
1
vote
1answer
50 views

Where is the state root being updated in Aleth CPP?

Can someone point me to where the state root is updated after each transaction is executed in the block? This is for Aleth
3
votes
1answer
283 views

How Do I take a Snapshot and Migrate Token Holders to a new ERC20 Contract?

I want to Migrate my ERC20 Contract to a new Address, How do I do this ?
1
vote
0answers
70 views

can erc20 token transaction work on Fast Sync-ed node ? OR it need Full node to transact any token?

I need help regarding couple doubts. Which sync method is good for me. My client is asking me to make an Exchange website. Also ERC20 tokens will get transacted in this exchange. Do I need a full ...
1
vote
1answer
95 views

How to use / see refunded gas in ETH blockchain?

I buy a GAStoken contract which requires say 21000 GAS at 1 Gwei and later when we delete/destroy the contract when the Gwei is around 50. I understand that we will get around 50% refund of GAS at the ...
1
vote
2answers
2k views

How do you create a new contract instance with an address *and* arguments?

There is the standard way of creating contract instances with the new keyword where you pass arguments like: MyContract mine = new MyContract(arg1, arg2); Then there is another way, like in this ...
1
vote
0answers
176 views

How do I get a merkle proof (stateHash) from the merkle patricia trie?

So I understand how a patricia trie works, it's a trie using 0 to f as root nodes, and it also removes empty nodes to make leafs and extensions. What I don't get is how the stateRoot hash is made. ...
1
vote
0answers
133 views

Setting up a server to run a geth node - what hardware would you recommend?

I am planning to run a geth node 24/7 on a server, what hardware specs would you recommend for this? I'd like to download the chain pretty fast and want the block download to be consistently quick. ...
0
votes
1answer
120 views

How make other machines join my private ethereum network.

I have created a private ethereum network in my machine, and now I want that other machines join my network. I think I have to send them the IP of the bootnode, but the question is : what about the ...
1
vote
1answer
69 views

Smart Contract Balance = 0

Ok, I am pretty new to developing contracts, and I did so by using dAPP and truffle. But when adding it to the chain, it says there is no balance to the contract. How can I add tokens to be bought? ...
1
vote
1answer
211 views

Best practice in 2018 to claim Ethereum presale purchase [duplicate]

I have the presale wallet and password, but went through a number of trials and just now trying to get back on my feet. I have yet to claim my presale and could really use it to help with medical ...

1
2 3 4 5 6