Most voted questions in Blockchain

0 votes
1 answer

Hyperledger fabric node sdk deploy.js example failing

Have you installed couchdb? Install couchdb as ...READ MORE

Sep 17, 2018 in Blockchain by slayer
• 29,350 points
567 views
0 votes
1 answer

Calling functions from other contracts solidity

This code worked for me: pragma solidity ^0.4.2; contract ...READ MORE

Sep 17, 2018 in Blockchain by digger
• 26,740 points
1,372 views
0 votes
1 answer

How to create raw transaction using web3swift?

var options = Web3Options.defaultOptions() options.gasLimit = BigUInt(21000) options.from = ...READ MORE

Sep 17, 2018 in Blockchain by slayer
• 29,350 points
682 views
0 votes
2 answers

Trying to issue tokens on testnet with python API

By looking at - documentation here I think you ...READ MORE

Sep 17, 2018 in Blockchain by Khush
557 views
0 votes
1 answer

CompleteableFuture in a loop contruct in a private Ethereum Blockchain

You might be able to benefit from ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,350 points
536 views
0 votes
1 answer

Google API post request to IBM blockchain error

You have specified query as parameter to method and function but if you ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,740 points
385 views
0 votes
1 answer

How do you obtain the transaction uuid after submitting an invoke transaction using the nodejs HFC

The results returned via the 'submitted' event ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,350 points
846 views
0 votes
1 answer

SteemJS not working in Firefox/IE

npm install adcpm/steem#dev Just build it from develop ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,740 points
368 views
0 votes
2 answers

Does Ethereum Solidity support Associative Arrays?

Here's a little example that passes values ...READ MORE

Sep 17, 2018 in Blockchain by Bobin
887 views
0 votes
1 answer

Python Script to pull data from Blockchain JSON

Try this: print r.json()['address'],' has ', r.json()['n_tx'], 'tr ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,740 points
1,887 views
0 votes
1 answer

Access multiple return values (a, b, c) from solidity function in web3js

You'll get an array of return values ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,350 points
2,881 views
0 votes
1 answer

Blockchain Hyperledger private key not able to send coins

From the code you posted, if(whichType == TX_SCRIPTHASH){//pay ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,740 points
458 views
0 votes
1 answer

Invalid opcode error in a simple Solidity contract and script

You don't need to call .at() if you're using .new(). ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,350 points
4,310 views
0 votes
2 answers

how to integrate coinbase api in php for transfer bitcoine

Here the code for php please have ...READ MORE

Sep 17, 2018 in Blockchain by Suresh
2,913 views
0 votes
1 answer

How to get iota balance via api url?

Either run your own node (thus, the localhost reference ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
787 views
0 votes
1 answer

What's the difference between ethereum and chain?

Ethereum is an open source blockchain platform ...READ MORE

Sep 12, 2018 in Blockchain by Perry
• 17,100 points
638 views
0 votes
2 answers

Check Bitcoin Balance with mybitx api https GET url

You can use the PHP Requests library for an ...READ MORE

Sep 17, 2018 in Blockchain by Lalit
2,344 views
0 votes
1 answer

How to round a number down to 8 decimal places if its over 8 decimal places in Javascript

Try it in this way: function nrOfDecimals(number) { ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,350 points
1,232 views
0 votes
1 answer

Converting 5e-08 to decimal in PHP

Use printf with the appropriate format specifier: printf("%.8f", 5 / ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
2,897 views
0 votes
1 answer

How to use Coinbase send_money API?

<?php require_once(dirname(__FILE__) . '/../lib/Coinbase.php'); // Create an application at ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,350 points
1,639 views
0 votes
1 answer

jsonRPCClient Error with php variables

All you have to do is change ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
522 views
0 votes
1 answer

How to connect to *coin RPC-Server with PHP

If you want to connect inside your ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,350 points
1,438 views
0 votes
1 answer

Litecoin/Bitcoin how divide uint256 target value on difficulty in C++

This is the solution: void setdouble(double val) { ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
780 views
0 votes
2 answers

How to read CGMiner output?

the only thing that made it work ...READ MORE

Sep 17, 2018 in Blockchain by Ruby
1,014 views
0 votes
1 answer

JSON valid numerical param in Perl

Use 0.0 + sprintf('%.8f', $btc), 0.0 + $data{'amount'} READ MORE

Sep 11, 2018 in Blockchain by digger
• 26,740 points
459 views
0 votes
1 answer

PHP. Bitcoin to Ukrainian Hrivna price ticker

nstead of dividing the values - i ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,350 points
680 views
0 votes
1 answer

'Invalid sender' error after upgrading to geth 1.4.0

Guessing that the JSON RPC stuff changed ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,048 views
0 votes
1 answer

Not getting correct result after SHA256

You have to: Hash with SHA-256 the public key: 0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6 Hash with RIPEMD-160 the ...READ MORE

Sep 11, 2018 in Blockchain by digger
• 26,740 points
716 views
0 votes
1 answer

How to use ethereum contract's state changing method in javascript?

You'll find that the message is indeed ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,790 points
788 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,717 views
0 votes
1 answer

Serializing payment details in google protocol buffers

This is how you can do it: serialized_payment_details ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,350 points
430 views
0 votes
1 answer

Smart contract limitations in Ethereum and Hyperledger Fabric

No, the contract cannot sign on behave of B. A ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,790 points
493 views
0 votes
1 answer

Basic pusher connection to cryptsy using javascript

Try this <script src="//js.pusher.com/2.2/pusher.min.js" type="text/javascript"></script> <script type="text/javascript"> var pusher = ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,350 points
407 views
0 votes
1 answer

coin.mx : 403 forbidden error on my web request

I was having the same issue and ...READ MORE

Sep 11, 2018 in Blockchain by digger
• 26,740 points
871 views
0 votes
1 answer

Cant get a specific value in JSON/PHP

Convert the json-string to a php-array and ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,350 points
2,609 views
0 votes
1 answer

Using Bitcoin's sendmany function with perl

Replace the line  my $action = $api->call('sendmany','',%recipients); with  my ...READ MORE

Sep 11, 2018 in Blockchain by digger
• 26,740 points
1,159 views
0 votes
2 answers

VBA code leads to #value! in cell but works in immediate box

Function GetPrice(strTicker As String, Optional dtDate As ...READ MORE

Sep 10, 2018 in Blockchain by Garry
848 views
0 votes
2 answers

Can't get simple Coinbase button in Node to work

Coinbase sandbox is best to have when ...READ MORE

May 21, 2020 in Blockchain by anonymous
• 140 points
1,043 views
0 votes
2 answers

Creating a private/public key with 64 characters that are already known using bitcoinjs

//public-key var address = eckey.getBitcoinAddress().toString(); var privateKeyBytesCompressed = privateKeyBytes.slice(0); ...READ MORE

Sep 10, 2018 in Blockchain by Misty
1,461 views
0 votes
2 answers

Saving a string in python associated with an API

You can create a list and add ...READ MORE

Sep 10, 2018 in Blockchain by Joy
588 views
0 votes
1 answer

timmolter/XChange - Cryptsy GetFee

Looks like cryptsy posts their fees here: Fees if(VolumeInBTC ...READ MORE

Sep 10, 2018 in Blockchain by digger
• 26,740 points
313 views
0 votes
1 answer

Websockets for Block.io API giving an error message

Try something like this: https://jsfiddle.net/bxw3v8c7/ <html> <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script> var btcs = ...READ MORE

Sep 10, 2018 in Blockchain by slayer
• 29,350 points
801 views
0 votes
1 answer

Blockchain: send payments to faucetbox

well there it is its work but ...READ MORE

Sep 7, 2018 in Blockchain by Vicky
472 views
0 votes
1 answer

restarting bitcoin tesnet docker container, error flag '-ti'

`docker ps -a' shows you the containers, ...READ MORE

Sep 7, 2018 in Blockchain by Prakash
499 views
0 votes
1 answer

Ubuntu "get attach" command failed

The geth.ipc gets created when Geth is succesfully launched.It ...READ MORE

Sep 7, 2018 in Blockchain by Surya
606 views
0 votes
1 answer

How to generate addresses from a file rather than specific phase

If the file with the passwords is ...READ MORE

Sep 7, 2018 in Blockchain by MI3
461 views
0 votes
2 answers

PHP: json_decode - reading category names

<?php function findHighestBid() { $result = ...READ MORE

Sep 7, 2018 in Blockchain by Shotgun
1,037 views
0 votes
1 answer

Python authenticated calls to bitfinex exchange

You should use byte type api_secret. api_secret = ...READ MORE

Sep 7, 2018 in Blockchain by slayer
• 29,350 points
697 views
0 votes
1 answer

Cant install python module for python3.6 to use Jsonrpc for altcoin

Try this  VERSION=0.1 python3 setup.py install and there's also ...READ MORE

Sep 7, 2018 in Blockchain by digger
• 26,740 points
739 views
0 votes
1 answer

Boost issue while building Litecoin

Try reinstalling boost (uninstall and install again), ...READ MORE

Sep 7, 2018 in Blockchain by slayer
• 29,350 points
584 views