Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: pablocokeninja on December 17, 2023, 02:28:13 AM



Title: Apart from BTCPayServer
Post by: pablocokeninja on December 17, 2023, 02:28:13 AM
Hey,

I was tinkering with BTCPayServer, even though I do like the idea but it doesn't satisfy my needs (Test building Bitcoin Exchange - for fun dw dw), which lead me to deploy my own node and work on it, I am wondering on how to custody the coins for an example.
Lets say, user(A) deposits to the exchange, where should I keep the coins? In the server? Isn't it too risky?
What I am thinking is, manual check-outs and automatically sending coins to a hardware wallet, and send them back to the users upon their withdrawal requests?

Can someone please elaborate to me how should I do that, and what is the secure way to do so.
I tend to have a strong urge to use HD wallets since they are the safest (as believed by the majority).

Some guides/documentations/tutorials please?   :-*


Title: Re: Apart from BTCPayServer
Post by: ABCbits on December 17, 2023, 09:29:25 AM
I was tinkering with BTCPayServer, even though I do like the idea but it doesn't satisfy my needs (Test building Bitcoin Exchange - for fun dw dw)

First of all, i have doubt BTCPayServer is suitable to manage cryptocurrency exchange. As stated on their docs[1], the common case for BTCPay is for mostly receiving Bitcoin.

What I am thinking is, manual check-outs and automatically sending coins to a hardware wallet, and send them back to the users upon their withdrawal requests?

I believe you'll need to use pull payment feature[2].

[1] https://docs.btcpayserver.org/UseCase/ (https://docs.btcpayserver.org/UseCase/)
[2] https://docs.btcpayserver.org/PullPayments/ (https://docs.btcpayserver.org/PullPayments/)


Title: Re: Apart from BTCPayServer
Post by: pablocokeninja on December 18, 2023, 04:41:39 PM
I was tinkering with BTCPayServer, even though I do like the idea but it doesn't satisfy my needs (Test building Bitcoin Exchange - for fun dw dw)

First of all, i have doubt BTCPayServer is suitable to manage cryptocurrency exchange. As stated on their docs[1], the common case for BTCPay is for mostly receiving Bitcoin.

What I am thinking is, manual check-outs and automatically sending coins to a hardware wallet, and send them back to the users upon their withdrawal requests?

I believe you'll need to use pull payment feature[2].

[1] https://docs.btcpayserver.org/UseCase/ (https://docs.btcpayserver.org/UseCase/)
[2] https://docs.btcpayserver.org/PullPayments/ (https://docs.btcpayserver.org/PullPayments/)



Hey,

Much appreciated @ETFBitcoin