Hack Forums
[.NET] Bitcoin Wrapper [Generate BTC Addresses in .NET] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Bitcoin Wrapper [Generate BTC Addresses in .NET] (/showthread.php?tid=4529592)



Bitcoin Wrapper [Generate BTC Addresses in .NET] - NETExplorer - Nov 9, 2014

Well, the title is fairly self-explanatory.

Just to clarify, this is not using an API such as blockchain, this is the process straight from the wiki:
https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses

This class require the BouncyCastle library to be referenced:
http://www.bouncycastle.org/csharp/

Usage is extremely straight forward
The following code creates an address, and displays all of it's information to the user:
[Image: a0ZA6FR.png]

Don't believe it works? Try generating one, and import it in to your wallet using your private key

Last but definitely not least, the code:
https://gist.github.com/PatPositron/a23a6cf5a154a8cd5aa9

Any feedback is welcome :)


* - SIM-1676753 - Nov 9, 2014

Looks g8 m8. You should add the ability to make custom addresses.


* - NETExplorer - Nov 9, 2014

(Nov 9, 2014 10:13 AM)Mr. Trvp Wrote:  Looks g8 m8. You should add the ability to make custom addresses.

Why don't you, Mr. Trvp? The tools are there, make something with it.


* - SIM-1676753 - Nov 9, 2014

(Nov 9, 2014 10:18 AM)PatPositron Wrote:  Why don't you, Mr. Trvp? The tools are there, make something with it.

Because I have other stuff to do. I was suggesting something that might make this script more interesting. 🎉


* - Only3 - Nov 9, 2014

😁 nha i was hoping u will not use lib


* - WZDY - Nov 9, 2014

Looks good but I was hoping it wasn't a library!
Using the Blockchain API is a good idea but goodjob on changing things.
Cheers


* - sens - Nov 9, 2014

thanks for sharing! :) looks nice.....