Search content
Sort by

Showing 6 of 6 results by alex2733
Post
Topic
Board Development & Technical Discussion
Re: help for imlementing bitcoin based payment processor application
by
alex2733
on 11/04/2020, 23:51:25 UTC
A bit off-topic but what web commerce do you own? Cheesy
Actually is not ready yet for the public(For security reason) and it's still under development but I have a testing site if you want to check you can find it here



I and some of my colleagues want to work on a crypto payment processor website like this  https://coinremitter.com/
in our country, there is no web app like that
Unfortunately, We didn't find any useful resource for Architecture, for example how I should store user's private keys?
now I'm study some books like jimmy song bitcoin programming book but I have a lot question:-\
did you have any useful books or videos?

It is likely the same as BTCpay they are both providing payment gateway. The only difference between them Coinremitter holds the private key(or store on their database) and the transaction fee is not the same as BTCpay that offers 0% transaction fees.

Unlike BTCpay they let users create their own wallet and add their own "xPUB" Master public key generated from the user's wallet. So the private keys are not stored on BTCpay.

If your plan is to develop a payment gateway the same as Coinmitter and earn from transaction fees then BTCpay is not the right option  but since you are a developer you can modify their opensource code from here https://github.com/btcpayserver/btcpayserver

However, if your plan is to provide a payment gateway without transaction fees BTCpay is the right choice. You just need to modify the design of the front page to make the page unique just like the other 3rd party hosting do.



For learning, you can find many programming guides related to Bitcoin blockchain from here
- https://github.com/openblockchains/awesome-blockchains
- https://github.com/jashmenn/bitcoin-reading-list

Thank you
Yes our plan is earning from fee, I checked BTCpay and I ran that with docker on my laptop and it's right we don't have any control on the fee for earning purpose with this approach
so In your opinion,  whats suitable programming language for back-end ? we're ok with php,nodejs,golang
btcpay server is Written in C# and extending that is hard for us
Post
Topic
Board Development & Technical Discussion
Re: help for imlementing bitcoin based payment processor application
by
alex2733
on 11/04/2020, 20:37:40 UTC
I'm a software developer but I'm new on bitcoin or blockchain programming
I want to implement a bitcoin-based web app that creates address'es for users and just makes transactions.

Did we need to have our full node for creating transactions?
Could we confirm and create transactions over DNS seeds?

I assume that by "payment processor" you mean software that will generate addresses that can receive bitcoins and verify that the bitcoins have been received.

You don't need to create transactions in order to receive bitcoins, but you do need a node in order to monitor the block chain so that you can verify that the bitcoins have been received.

DNS seeds are used to find other nodes. You need other nodes in order to receive transactions and blocks so that you can verify payments.

Mastering Bitcoin by Andreas M. Antonopoulos is a good source for basic information. You can also view the source of projects on Github such as bcoin, bitcoin, and libbitcoin

Unfortunately, We didn't find any useful resource for Architecture, for example how I should store user's private keys?

You must not store private keys. You will get hacked and lose bitcoins. Instead, a user provides you with an extended public key that you use to generate addresses for the user.

thank you

Yes exactly our purpose is a crypto app that generates address'es for users for their websites like e-commerce's
but every user needs to withdrawal their balance, for example, I checked this website coinremitter.com and they generate address' es then the user can withdrawal,
so for withdrawal our back-end should create transactions, is it right?


Post
Topic
Board Development & Technical Discussion
Re: help for imlementing bitcoin based payment processor application
by
alex2733
on 10/04/2020, 23:55:09 UTC

Have you used it before?

Yes, I'm using this for many months on my Woocommerce  Wordpress website using their plugin.
Tested it on testnet and on-chain it's working fine to me without any issue yet.

I and some of my colleagues want to work a crypto payment processor website like this  https://coinremitter.com/
in our country, there is no web app like that
Unfortunately, We didn't find any useful resource for Architecture, for example how I should store user's private keys?
now I'm study some books like jimmy song bitcoin programming book but I have a lot question:-\
did you have any useful books or videos?

English is not my mother tongue; please excuse any errors on my part.
Post
Topic
Board Development & Technical Discussion
Re: help for imlementing bitcoin based payment processor application
by
alex2733
on 10/04/2020, 09:33:18 UTC
Hi dears

I'm a software developer but I'm new on bitcoin or blockchain programming
I want to implement a bitcoin-based web app that creates address'es for users and just makes transactions.
You'll need a database to keep track of the user's addresses and the Bitcoins in each of the addresses. Ensuring the security and managing the Bitcoins for users is no easy feat and it generally isn't recommended for anyone to develop wallets from scratch.
Did we need to have our full node for creating transactions?
To craft a transaction, you don't need a full node or any client for that matter. All you need is to write a code which manages the scripts and signs the transaction using the private key. It isn't very hard and there are quite a few libraries[1] that you can use.
Could we confirm and create transactions over DNS seeds?
DNS seeds fetches the IP addresses of a few nodes that are always online on the Bitcoin network. The seeds are not nodes by themselves and you cannot request any usable information about Bitcoin blockchain from there. You can only query and send information over to the Bitcoin node but you can't connect to them to create transactions.

I won't recommend you to only retrieve information without further verification. Operating a payment server without operating a full node is dangerous given the attack vectors.
[1] https://github.com/1200wd/bitcoinlib

Thank you

So for broadcasting transactions on the network we need a full node for security reasons ?
Post
Topic
Board Development & Technical Discussion
Re: help for imlementing bitcoin based payment processor application
by
alex2733
on 10/04/2020, 09:05:52 UTC
I don't know how DNS seed works but for me, there is an easy way to implement a payment processor on your website that doesn't need to download the whole blockchain just to have a full node.

I suggest you check their documentation from here https://docs.btcpayserver.org/getting-started/
It is easy to implement than developing your own payment processor that requires a full node. BTCpayserver only needs your wallet "xpubkey" or Master public key on Electrum. You can also use your own full node/Electrum personal server if you want but if you don't want to download the whole blockchain you can use any server from Electrum.

Opensource: https://github.com/btcpayserver/btcpayserver

Also, check this page below if you want to host and deploy this in your own hardware/VPS/Raspi.
- https://docs.btcpayserver.org/deployment/deployment
It requires a full node(Must be fully synced)

Another source that includes video guides:
- How to deploy BTCPay Server on a VPS (Docker )
- Launch BTCPay Server via web-interface and deploy Full Bitcoin Node + LND
- Setting up BTCPay Server development environment on Linux (Ubuntu)
- Connecting your Wallet to BTCPay Server with xpub Ledger Nano S or other like Electrum
- BTCPay Deployment - One Click Setup via Azure

Other payment processors(Self-hosted and Hosted payment processors)
- https://github.com/alexk111/awesome-bitcoin-payment-processors

Have you used it before?
Post
Topic
Board Development & Technical Discussion
Topic OP
help for imlementing bitcoin based payment processor application
by
alex2733
on 09/04/2020, 22:04:18 UTC
Hi dears

I'm a software developer but I'm new on bitcoin or blockchain programming
I want to implement a bitcoin-based web app that creates address' es for users and just makes transactions.

Did we need to have our full node for creating transactions?
Could we make and confirm transactions over DNS seeds?

Thanks