Bitcoin Forum
May 04, 2024, 10:18:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to connect the qt-wallet with website?  (Read 833 times)
jak3 (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
April 26, 2017, 03:43:39 PM
 #1

as the title says. how can I connect the qt wallet for my site. like generating addresses or any other stuff. is there any api or we have to hard code it into the software. I don't find any available way to do it and even google and YouTube are also not getting me to right answer. please if anyone knows it then your answer will be helpful for me and other developers. I know some languages like php, python, npm etc.
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714861138
Hero Member
*
Offline Offline

Posts: 1714861138

View Profile Personal Message (Offline)

Ignore
1714861138
Reply with quote  #2

1714861138
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
April 26, 2017, 09:12:12 PM
 #2

Use the JSON-RPC interface. You can write some php code that will send a POST request to the bitcoind to get the information that you need.

Casy
Member
**
Offline Offline

Activity: 149
Merit: 22

🔴🔵 FoxMixer.com 🔵🔴


View Profile WWW
April 27, 2017, 08:51:37 AM
 #3

Especially for npm I can recommend you the bitcoin plugin which does the TCP communication handling for you:
https://www.npmjs.com/package/bitcoin

If you want to work with promises (resolve, reject) instead of classical callbacks (which I definitely can highly recommend if you want to avoid ugly code), then this plugin should be very helpful:
https://www.npmjs.com/package/bitcoin-promise

(It's also what we use at foxmixer.com to generate the addresses out of the bitcoin client).

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!