Bitcoin Forum
June 27, 2024, 09:33:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are there any frameworks for merchants wanting to trade in bitcoin/altcoin?  (Read 151 times)
shiroocrypto (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 2


View Profile
May 30, 2018, 08:26:46 AM
 #1

So I want to have a site that sells stuff for either bitcoin or some form of altcoin.

Is there a general purpose framework that can accomplish this or do they become specific per coin?

If I did this myself, I'd just have a wallet on the server (sounds horrible though) and then interact with it's cli while processing server requests?
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 30, 2018, 08:37:11 AM
Merited by ABCbits (1)
 #2

Is there a general purpose framework that can accomplish this or do they become specific per coin?

Not that i am aware of. There are payment processors which do accept several altcoins for you.
But this costs a fee for each payment.



If I did this myself, I'd just have a wallet on the server (sounds horrible though) and then interact with it's cli while processing server requests?

You don't need a wallet on your server.
You just need a node (or several nodes; one for each crypto). You don't need to keep your wallet (private keys) on the server.

Simply create a HD wallet offline and import the xpub to your server. This will allow your server to generate receiving addresses on demand, without having the private keys on the server.
You could also pre-generate a bunch of addresses offline (e.g. 10.000) and import them into your database. Then simply use the addresses 'as needed'. This requires you to 'fill' the address pool mannually.

Communicating with the node can be done via RPC. Quite a few libaries are available (at least for bitcoin, not sure how much is available for 'less-known' alts).



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!