Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
132 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 ...
nicholas___'s user avatar
0 votes
1 answer
72 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 ...
NowsyMe's user avatar
  • 1,375
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-...
FiNaR's user avatar
  • 121
0 votes
0 answers
57 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....
R_SS's user avatar
  • 101
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?
shota silagadze's user avatar
0 votes
2 answers
237 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; ...
dlq's user avatar
  • 3
0 votes
1 answer
159 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 ...
hafsa sarfraz's user avatar
1 vote
1 answer
237 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 ...
Vega4's user avatar
  • 323
0 votes
1 answer
691 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 ...
mebbou's user avatar
  • 5
0 votes
1 answer
39 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 ...
mebbou's user avatar
  • 5
2 votes
1 answer
157 views

How can you deploy a contract using the non-interactive mode?

I have a contract written in remix, but I am trying to deploy it using Geth's non-interactive mode using geth attach ipc:<path> -exec "<contract deploy info>". When I am in interactive ...
Mark D's user avatar
  • 23
-1 votes
1 answer
2k 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 ...
Crypto Value's user avatar
0 votes
0 answers
209 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 ...
Hamza Yasin's user avatar
0 votes
0 answers
38 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 ...
Yurii's user avatar
  • 1
2 votes
1 answer
2k views

How to set sealers in genesis block extradata for a Clique PoA network?

What is the format of the Clique PoA genesis extradata field to set up the sealers? This is an example: "extraData": "...
Federico Caccia's user avatar
1 vote
1 answer
95 views

Problems with Geth 1.8.19-stable

I am trying to add static peers by static-nodes.json file but with this version it does not work. What is the way to do it ? If I add peers with admin.addPeer() it works, but if I am using --syncmode ...
sapiensapiens's user avatar
0 votes
1 answer
71 views

Problem peers in a cluster [SOLVED]

I have a cluster with 2 nodes and I would like to create a testnet by connecting them with geth. I am using the following command: Node1: geth --datadir node1 --port 30302 --rpc --rpcport 3003 --...
sapiensapiens's user avatar
1 vote
0 answers
74 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 ...
sarah w's user avatar
  • 215
2 votes
0 answers
99 views

geth : Unable to fully sync to Rinkeby

I am trying to synchronise geth with Rinkeby node but when around 100 or so block left, it keep on dropping the peer and doesnot sync fully with the test net below are the screenshot for the same.
Ajas Bakran's user avatar
1 vote
1 answer
842 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: "...
D Komo's user avatar
  • 157
1 vote
0 answers
126 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) ...
K.Bezz's user avatar
  • 21
0 votes
1 answer
479 views

How to setup Testnet in Windows?

What are the commands for windows power shell to make a testnet. I require steps to set up testnet in private network in Windows OS.
Rudrika's user avatar
  • 417
2 votes
2 answers
574 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?
sapiensapiens's user avatar
0 votes
1 answer
79 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.
user2359549's user avatar
2 votes
2 answers
10k 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 ...
ETH_TokenGuy's user avatar
0 votes
1 answer
58 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?
liunliun's user avatar
0 votes
1 answer
374 views

How to limit latest block in Geth

I need some test Ethereum blockchains for development purposes. I need only part of blocks synced for example, blochain synced from 0 to 10'000`th block, because for example Rinkeby synced in archive/...
jabone's user avatar
  • 241
0 votes
1 answer
886 views

How long does it take to sync Rinkeby network with geth?

I am syncing the Rinkeby network with geth geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath="~/.ethereum/geth.ipc" When I run eth syncing in geth console, it is showing { ...
Shams Nahid's user avatar
0 votes
2 answers
983 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 ...
Consy's user avatar
  • 592
2 votes
2 answers
962 views

Syncing with Mainnet/Ropsten blockchain

If use gethcommand,then the node starts to sync with Ethereum Mainnet by default.If usegeth --testnet --networkid 3 --datadir <testnetdatapath>,then the node will connect to Ropsten. How does ...
Pt.AR's user avatar
  • 112
1 vote
1 answer
2k views

Golang binding - call contract method and get its return value or tuple?

Suppose i have contract like: pragma solidity ^0.4.11; contract MyToken { uint256 a; function SimpleGetter() returns(string) { return "something"; } function DoTheGreat(address _to) ...
Croll's user avatar
  • 115
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. ...
Philip Rego's user avatar
1 vote
1 answer
576 views

No etherbase set and no accounts found as default

I am getting: "No etherbase set and no accounts found as default" when trying to sync my node using: geth --testnet --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127....
Juan's user avatar
  • 193
0 votes
1 answer
2k 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 ...
Gamester's user avatar
6 votes
3 answers
2k 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 ...
user3503854's user avatar
2 votes
1 answer
1k 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 ....
Doug Cutler's user avatar
1 vote
1 answer
63 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
user2584960's user avatar
3 votes
1 answer
1k 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 ?
Isaac Hojo's user avatar
1 vote
0 answers
89 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 ...
Hardik Trivedi's user avatar
1 vote
1 answer
440 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 ...
Ajay's user avatar
  • 61
5 votes
2 answers
8k 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 ...
cowlicks's user avatar
  • 153
1 vote
0 answers
316 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. ...
cooldude101's user avatar
1 vote
0 answers
161 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. ...
Okuui's user avatar
  • 11
0 votes
1 answer
182 views

Why is the different "highest block" of --network id 3 and --testnet?

I think both of --network id 3 and --testnet mean to the Ropsten network. But, The result of "eth.syncing" differ from each. --testnet result "highestBlock: 3852529" $ geth --testnet console 2>&...
SakaT's user avatar
  • 3
0 votes
1 answer
126 views

Launch more than one node connected to Rinkeby from the same machine (change the port doesnt work)

I would like to know if it is possible to launch more than one node connected to Rinkeby from the same machine through Geth and Mist. In a local testnet, it is possible to do it changing the --port ...
sapiensapiens's user avatar
0 votes
1 answer
272 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 ...
maroodb's user avatar
  • 1,121
1 vote
1 answer
174 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? ...
Arnfinn Ingebrigtsen's user avatar
1 vote
1 answer
343 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 ...
D M's user avatar
  • 11
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 ...
optimalresource's user avatar
3 votes
0 answers
681 views

how to send transaction with geth running in light mode on testnet

I am having troubles to sendTransaction with geth running in light mode. Startup: geth --testnet --syncmode "light" --rpc --rpcport 10001 --rpccorsdomain "*" --rpcaddr 127.0.0.1 --datadir /opt/...
m1k3y3's user avatar
  • 167

1 2 3
4
5
11