Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: sbrzol on February 10, 2015, 10:52:37 PM



Title: which wallet to use ? API .net
Post by: sbrzol on February 10, 2015, 10:52:37 PM

Which wallet should I use ?

I want to send bitcoins form my .net (c#) app in a very simple mode, like


Authenticate ....
Wallet.Send(bitcoinaddress, nanocoins);

(in this wallet i will keep only some BTC)

I know that for example greenaddress, bitgo has API, but there is no .net wrapper for them

and I dont want to download the whole blockchain (BitcoinSharp)





Title: Re: which wallet to use ? API .net
Post by: Blazr on February 10, 2015, 11:25:37 PM
If you need an API, I would highly recommend Bitcoin Core.

You will need to download the entire blockchain, however Bitcoin Core has a very comprehensive and well documented API.


Title: Re: which wallet to use ? API .net
Post by: bitspill on February 11, 2015, 05:49:17 AM
Nicolas Dorier published a free ebook on interacting with bitcoin via C# however it's only part 1 out of 3 to be released

Thread: https://bitcointalk.org/index.php?topic=926087.0

Website: http://blockchainprogramming.azurewebsites.net/

PDF: https://aois.blob.core.windows.net/public/Blockchain%20Programming%20in%20CSharp.pdf


BlockTrail.com also has a pretty good API (https://www.blocktrail.com/api/docs) and there is an unoffical .NET SDK for it https://github.com/raymens/BlocktrailSdk

If you use the BlockTrail API to build your app they'll even send you a free t-shirt

https://static1.blocktrail.com/static/v64b61554ae/img/decentralised-tshirt-cropped.png


Title: Re: which wallet to use ? API .net
Post by: sbrzol on February 11, 2015, 03:38:41 PM
thx, but non of them is suitable for me

i am searching  a simple solution  like

Add Reference   BitcoinAPIXYZ

using BitcoinAPIXYZ;

var wallet = GetWallet(AuthenticateINFO);
wallet.SendCoins(address,nanocoins);

END

i do not need anything else

if there is no such simple solution then i can do it with this little simple code snippet

        var myIE = WatiN.Core.Browser.AttachTo<WatiN.Core.IE>(WatiN.Core.Find.ByUrl(new Regex("https://www.bitgo.com/send")));

            ie.TextField(WatiN.Core.Find.ById("")).Value = "";
            ie.TextField(WatiN.Core.Find.ById("Value = "";
            ie.Button(WatiN.Core.Find.ByName("")).Click();





Title: Re: which wallet to use ? API .net
Post by: mcaizgk2 on February 27, 2015, 03:16:21 PM
BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) will do exactly that.

Code:
IBitcoinService coinService = new BitcoinService();
coinService.SendToAddress(address, amount);

You can install BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) via NuGet:
Code:
Install-Package BitcoinLib 


Title: Re: which wallet to use ? API .net
Post by: sbrzol on February 28, 2015, 12:45:20 PM
BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) will do exactly that.

Code:
IBitcoinService coinService = new BitcoinService();
coinService.SendToAddress(address, amount);

You can install BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) via NuGet:
Code:
Install-Package BitcoinLib 

thanks, but as i mentioned earlier  I dont want to download (and keep update) the entire blockchain


(i found a simple solution i use Watin/firefox/greenaddress to send bitcoin without any interact)


Title: Re: which wallet to use ? API .net
Post by: Btcvilla on March 02, 2015, 03:43:03 AM
Nicolas Dorier published a free ebook on interacting with bitcoin via C# however it's only part 1 out of 3 to be released

Thread: https://bitcointalk.org/index.php?topic=926087.0

Website: http://blockchainprogramming.azurewebsites.net/

PDF: https://aois.blob.core.windows.net/public/Blockchain%20Programming%20in%20CSharp.pdf


BlockTrail.com also has a pretty good API (https://www.blocktrail.com/api/docs) and there is an unoffical .NET SDK for it https://github.com/raymens/BlocktrailSdk

If you use the BlockTrail API to build your app they'll even send you a free t-shirt

https://static1.blocktrail.com/static/v64b61554ae/img/decentralised-tshirt-cropped.png
I'm gonna use that for my project.


Title: Re: which wallet to use ? API .net
Post by: PenguinFire on March 02, 2015, 06:38:48 AM
I use Armory.  Good choice?