FAQ Database Discussion Community


How to differentiate change transaction from actual transaction in bitcoin raw transaction template?

transactions,rpc,bitcoin
I'm trying to create my own display of the blockchain and I encounter an understanding problem. I'm using txindex=1 in bitcoin.conf to have access to non-wallet information on transactions but when I decode a rawtransaction I cannot make the difference between the change and the amount of the transaction. Here...

How to format Int64 values to currency

c#,asp.net,asp.net-mvc-5,bitcoin,int64
i am developing an application, where i save money values in the database as int64. For example, if i save 1 euro in the database, it gets saved as 100 cents. When I read the value, how can i format it so it gets displayed like this: db value /...

Parse.Cloud.httpRequest httpresponse does not match cUrl response

curl,parse.com,bitcoin,chain
I would like to get the same HTTP response from Parse.com cloud code calling Parse.Cloud.httpRequest as I've got from cUrl. But I can't get it. Does anybody know what am I doing wrong? cUrl example: curl https://api.chain.com/v2/bitcoin/transactions/917673efa435b483343ddfe373995df365260c617107d3f9de68abd4e97c981b/confidence?api-key-id=e8d5ed773cf24e31c149ae874eb23c74 response from cUrl: { "transaction_hash":"917673efa435b483343ddfe373995df365260c617107d3f9de68abd4e97c981b",...

{“error”:“Not Found”} when I make a call for my Coinbase address

bitcoin,coinbase
I'm trying to get information about my Coinbase wallet address (copied from the "My Wallet Bitcoin Address" section of my Coinbase profile) through the Toshi API through the following rest call: https://bitcoin.toshi.io/api/v0/addresses/{my_address} But I'm getting the following error {"error":"Not Found"} Can anyone explain why this is?...

NBitcoin throws InvalidOperationException with the message: “Mac HMACSHA256 not recognised.”

c#,.net,bitcoin
I got the message when I try to sign a transaction: Transaction payment = new Transaction(); BitcoinSecret PaymentSecret = new BitcoinSecret("1sXCvdpXz...UqkXW9mvT"); ... payment.Sign(Container.PaymentSecret, false); I dig into the opensource NBitcoin API and figured out these lines give me the error message. What can I do? (https://github.com/NicolasDorier/NBitcoin/blob/master/NBitcoin/Crypto/DeterministicECDSA.cs) try { hmac =...

Linking issue with libcrypto: undefined reference to `__imp__CertFreeCertificateContext'

c++,qt,mingw,cross-compiling,bitcoin
I'm trying to cross-compile cachecoin binaries on a linux host using gitian and i686-w64-mingw for a windows target. The compilation works fine until the final step of static linking of the dependencies. This is what I get: /home/ubuntu/staging32/lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x1ff): undefined reference to `[email protected]' Google suggests it's a missing -lcrypto link or...

How to make bitcoin payment button on a web page launch android wallet app

android,html,bitcoin
How to make a Bitcoin payment button on a web page launch an Android wallet app such as Blockchain.info's wallet passing the address and the amount to be paid to the app? Thanks...

Doesnt receive coins into BitcoinD Daemon

bitcoin,bitcoind,blockchain
I have installed bitcoind daemon into my server and create address for individual users. An User A sends 0.005 BTC into my Bitcoind daemon server, yet it will not appears into my server. I have checked using the following commands: getreceivedbyaddress() listaccounts() listreceivedbyaddress() Following Link will generate acknowledgement from user...

accessing korbit api with python http.client

python,python-3.x,bitcoin,http.client
i've been trying to access following api: https://api.korbit.co.kr/v1/ticker/detailed i know i can access this using any internet browser, but i am having hard time implementing it to python. I used following code: import http.client conn = http.client.HTTPSConnection("https://api.korbit.co.kr", 443) conn.request("GET", "/v1/ticker/detailed") response = conn.getresponse() data = response.read() conn.close() traceback: Traceback (most...

Blockchain payment API, how to handle the callback

php,bitcoin
I am trying to understand the Blockchain.info Payment API. I am a very beginner to PHP. I want to know how to handle the callback. The Documentation tells me to provide a $callback_url: "The callback URL to be notified when a payment is received." But i just do not understand...

Shift operator usage in terms of classes

c++,bit-shift,bitcoin
I have this line of C++ code and don't know what the shift operator does: vRecv >> locator >> hashStop Identifiers are of the following types: vRecv: CDataStream CNetMessage::vRecv, instance of the CDataStream class and public attribute of CNetMessage class locator: CBlockLocator locator, instance of CBlockLocator struct hashStop: uint256 hashStop,...

Adding a form to pre existing Qt application

c++,qt,bitcoin
Please excuse the vague title. What I am actually attempting is to add another tab to a Cryptocurrency wallet based on Bitcoin code but I am a bit new to Qt and I have come across an error I can't fix. I have created the form in Qt Designer and...

How to setup coinbase wallets for users of my app?

bitcoin,coinbase
I would like to have users sign up for my app with email address, and be given a coinbase wallet with as little friction as possible. I would then like to send them some coins to get them started. Is this even possible?...

Retrieve epay.info Balance with VBA and Excel

excel,vba,excel-vba,bitcoin
The site in question got a login form before accessing data, and it don't furnish any API's. Some idea or suggestion? Here is an extract of code of the login page (http://epay.info/Login/): <form enctype="application/x-www-form-urlencoded" class="form-signin" action="" method="post" style="margin-top: 30px;"> <h2 class="form-signin-heading">ePay.info Login</h2> <div class="login-wrap"> <div class="form-group"> <input style="margin-right: 0px; padding-right:...

Maven 'clean install' fails when maven is upgraded from 3.1.1 to 3.3.3

maven,bitcoin,bitcoinj
I'm trying to build the litecoin wallet for android that I cloned from github: https://github.com/Litecoin-Java/bitcoin-wallet I've been banging my head against the wall for days because trying to build this thing constantly causes more and more errors. The instructions on github simply say to run "mvn clean install" but it's...

Blockchain receive API with same address

api,bitcoin,blockchain
I need to accept bitcoins on my website (PHP). I'm using blockchain and i have read the api: https://blockchain.info/api/api_receive Is quite simple but i have some questions, but first i will try to explain what i need. Client send bitcoins to my wallet (Any amount they want) Server will be...

Sending money from address to address on bitcoind with PHP

php,bitcoin,bitcoind
I'm programming the back-end for an ecommerce solution, Bitcoind API gives me one way of sending money to a bitcoin address: sendfrom <fromaccount> <tobitcoinaddress> <amount> If I understood well, this will transfer money from one account to an address, but I don't see any way of sending from address to...

Import code from git to Linux ide e.g. kdevelop

c++,linux,git,bitcoin
How can I easily import c++ classes and headers from a git project into my IDE. I dont want to download the project and then import every class seperately, but instead import the whole project, also if there is no .project file or something like that. I use kdevelop but...