Search content
Sort by

Showing 3 of 3 results by ZauChoco
Post
Topic
Board Development & Technical Discussion
Re: How to create a wallet, check transactions and make payments with PHP ?
by
ZauChoco
on 10/05/2020, 14:01:55 UTC
You could take a look at BTCPayServer. It's a self-hosted open source payment processor for Bitcoin, which charges no fees and also has a PHP library.

https://github.com/btcpayserver/btcpayserver
https://github.com/btcpayserver/btcpayserver-php-client

Finally i'll use your solution. At the moment I try to use it already hosted, https://btcpayjungle.com/

I tried many things to make it works, but without any result.

Is it possible with a simple http request to add wallets and make/check transactions with them ?

The documentation says to simply copy the BitPay doc for the api part, but to be honest it's confusing.

There are a lot of "authentification" keys, either tokens generated on the server itself, or by the library (https://github.com/btcpayserver/btcpayserver-php-client), there is the SIN too, and two places to have API keys. What are these things use for ? And which one am i suppose to use ?

All I want is only to get a unique api key somewhere to make http request in order to add wallets (Private & Public key), create and check transactions. In clear, override all the invoice stuffs.

In clear, something like this:
https[Suspicious link removed]mple.com/api/newTransaction?apiKey=[API key]&publicKey=14h3sYm559vt7YiKsmNviyXNCqULaSKKCf&privateKey=bc1q9paknt7d05tmzh2frcu8qxgk0ev0mtnpgcz4a3&to=1649LVmQnPfLMSKisM325Bvcx3nYbo5Lmw&amount=0.01&fees=0.001


Is it possible ? And how ?

Thank you
Post
Topic
Board Development & Technical Discussion
Re: How to create a wallet, check transactions and make payments with PHP ?
by
ZauChoco
on 08/05/2020, 21:32:50 UTC
You could take a look at BTCPayServer. It's a self-hosted open source payment processor for Bitcoin, which charges no fees and also has a PHP library.

https://github.com/btcpayserver/btcpayserver
https://github.com/btcpayserver/btcpayserver-php-client

Thank you, but i'm not sure that it is possible to make transactions. As I read it is only made to be notify of a payment.

Am I wrong ?
Post
Topic
Board Development & Technical Discussion
How to create a wallet, check transactions and make payments with PHP ?
by
ZauChoco
on 08/05/2020, 18:59:13 UTC
Hello,

Without working with a third tier service that could take fees or limit my account, I would like to create wallets, check transactions and send btc with PHP.

Each user would have a unique public key to make donations. All I want is to be able to generate a unique one for each user, and to check for transactions regularly, in order to transfer its balance to a main wallet.

So what I need is:

  • Create wallets (Public & Private key)
  • Create transactions
  • Check for transactions and balances

I want to be as dependent as possible, so without API keys or something like this.

How can I perform this?

Thank you by advance