Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Vort3x.Layers on January 07, 2022, 07:34:16 PM



Title: C# Bitcoin api - Create unique btc address for each order - deposit - withdraw
Post by: Vort3x.Layers on January 07, 2022, 07:34:16 PM
I am looking for a good api with c# support for bitcoin as payment method in my web site.

My purposes from this api is :

1. Create unique btc address for each order
2. Deposit job with CallBack url
3. Withdraw job
4. Minimum limits of requests

==============================================

Firstly i tried to use BitcoinLib (https://github.com/cryptean/bitcoinlib) library.
But i have two problems about it :
1. I do n'r want to download big size of bitcoin core in my local machine & in my server.
2. I could n't find good examples for my purposes related to BitcoinLib (https://github.com/cryptean/bitcoinlib) library.

==============================================

Secondly i find this third party api : 
BitGo (https://api.bitgo.com/docs)
It was perfect and can handle all my jobs.
But i have one problem about it :
1. I can not run "sendcoins" event and make transactions in c# because build-sign-send jobs in this api need express environment of BitGo and my c# library can not handle it.

==============================================

Please introduce me a good api for those purposes!
Alao tell me can BitcoinLib (https://github.com/cryptean/bitcoinlib) handle those jobs.
If yes, How???


Title: Re: C# Bitcoin api - Create unique btc address for each order - deposit - withdraw
Post by: doof on February 12, 2022, 03:24:48 AM
https://github.com/dgarage/NBXplorer is what you're looking for.  Its written in c# but doesn't mean your app has to of course.  You can run a full or pruned node, then run NBXplore to monitor for incoming TX on a specific xPub key.

Hope that helps.