Pages:
Author

Topic: Bitcoin Address Utility I made (Visual C#, Source Only) (Read 11756 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Hi there mr Casascius,

is it possible, if you have some spare time, to give this program an update,.
--snip--
awaiting your responses sir..

As @Coding Enthusiast mentioned a year ago, OP last activity was 2019-12-29 on this forum, so it's likely you'll wait for very long time.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Could someone please reach out and offer some assistance on exactly what is the proper method to compile the project and all the required steps?

Maybe you didn't add the BouncyCastle assembly to the Visual Studio project's property sheet?

This is a Windows.Forms program, I vaguely remember tinkering with that framework and some other assemblies to make screensavers several months ago so it would be easier on you if I published a VS .sln of Mike Caldwell's tool on Github, right?
full member
Activity: 431
Merit: 105
Hi there mr Casascius,

is it possible, if you have some spare time, to give this program an update,.
right now it shows 0 balance for everything, manually added addresses, generated ones,
and always show firstly uncompressed addresses, and generates the uncompressed ones first,

this is probably something you already know, during these times, corona thing, have some spare time,
so my question would be actually to give it this upgrade, new version number, and compressed ones first,
and or option to it, and a working explorer, json is unlimited access to blockchain api, so if you could do this,

so when added an address with balance it hasn't scanned it for balance or it shows 0.00 always,

this would be really great, thanks in advance sir,.
or to let it generate addresses from a certain range, bits, thanks anyway.

seems i got the compressed out of my way, i got that part, still not seeing balance if manually added or any generated key?
awaiting your responses sir.. Shocked
newbie
Activity: 1
Merit: 0
I have made several attempts at compiling and rebuilding this bitcoin address utility too many times with the same errors every time. The BTC address conversions are not happening as supposed to and am not sure if I am correctly compiling the program or not.
Could someone please reach out and offer some assistance on exactly what is the proper method to compile the project and all the required steps?

Please and Thanks!
full member
Activity: 431
Merit: 105
the thing is when manually added the address with balance. it shows 0 btc,

Possibly because blockexplorer.com no longer works.
well i guess the question remains, could you make the change in there, so we could use it with blockchain. or btc

thanks again
legendary
Activity: 1040
Merit: 2785
Bitcoin and C♯ Enthusiast
the thing is when manually added the address with balance. it shows 0 btc,

Possibly because blockexplorer.com no longer works.
full member
Activity: 431
Merit: 105
but is cascasius present at forum, or reading this,
Barely. Last activity on bitcointalk was 2019-12-29. Last activity on GitHub was 2013-02.

ok, ty

the thing is when manually added the address with balance. it shows 0 btc,
the same when generating,
when the app gonna scan the balance? do you need internet doh? but always show 0?
is there some secret setting that turned this stuff off, to be turned on soon>? or never.

legendary
Activity: 1040
Merit: 2785
Bitcoin and C♯ Enthusiast
but is cascasius present at forum, or reading this,
Barely. Last activity on bitcointalk was 2019-12-29. Last activity on GitHub was 2013-02.
full member
Activity: 431
Merit: 105
when doing generate, can one choose comp. or uncomp.
currently it is uncompressed. so hope to have an updatet version
This is just a code snippet here, I don't think OP maintains it. I wouldn't expect an update.
You should try using active projects that can be found on GitHub (https://github.com/search?q=bitcoin+language%3Ac%23).

Feel free to take a look at my project Bitcoin.Net, it is in beta.
Examples of creating some addresses:
Code:
var addrBuilder = new Address();

string p2pkh = addrBuilder.GetP2pkh(pubKey, useCompressed: false, netType: NetworkType.TestNet);
string p2sh = addrBuilder.GetP2sh(script);
string nestedSegWit = addrBuilder.GetP2sh_P2wpkh(pubkey, witVer: 0, netType: NetworkType.MainNet);
https://github.com/Autarkysoft/Denovo/blob/642103ca8e7693c02c1867202c3cc1a8fa31ab50/Src/Autarkysoft.Bitcoin/Encoders/Address.cs

YES thank you,

but is cascasius present at forum, or reading this, i would love to have his app, with options like comp or uncomp. so it would suit some of us better.
thanks
legendary
Activity: 1040
Merit: 2785
Bitcoin and C♯ Enthusiast
when doing generate, can one choose comp. or uncomp.
currently it is uncompressed. so hope to have an updatet version
This is just a code snippet here, I don't think OP maintains it. I wouldn't expect an update.
You should try using active projects that can be found on GitHub (https://github.com/search?q=bitcoin+language%3Ac%23).

Feel free to take a look at my project Bitcoin.Net, it is in beta.
Examples of creating some addresses:
Code:
var addrBuilder = new Address();

string p2pkh = addrBuilder.GetP2pkh(pubKey, useCompressed: false, netType: NetworkType.TestNet);
string p2sh = addrBuilder.GetP2sh(script);
string nestedSegWit = addrBuilder.GetP2sh_P2wpkh(pubkey, witVer: 0, netType: NetworkType.MainNet);
https://github.com/Autarkysoft/Denovo/blob/642103ca8e7693c02c1867202c3cc1a8fa31ab50/Src/Autarkysoft.Bitcoin/Encoders/Address.cs
sr. member
Activity: 434
Merit: 270
sorry for bumping old thread.

but icame from google search.

is it possible to run this code in linux command line ?
member
Activity: 93
Merit: 10
Thanks for this tool. I was hoping to use this to verify addresses from brainwallet/bitaddress. Can someone explain how to compile this in Linux/Ubuntu step by step? or if you have a compiled version for that OS, awesome! Thx
donator
Activity: 2772
Merit: 1019
It's Microsoft's C#.  You can get a free/lite version of Visual Studio 2012 and it may be able to compile it. (I can't think of any reason why it wouldn't be able to, but I haven't tried).  This will hopefully get you going in the right direction though.

not to downplay this effort, but m$ is just not for me. There's plenty of python / js / java code around, also.
sr. member
Activity: 389
Merit: 250
It's Microsoft's C#.  You can get a free/lite version of Visual Studio 2012 and it may be able to compile it. (I can't think of any reason why it wouldn't be able to, but I haven't tried).  This will hopefully get you going in the right direction though.
donator
Activity: 2772
Merit: 1019
I fail to make sense of this. Can't even tell which language this is.

Didn't look hard, but maybe someone can give me a hint? How to compile / run?

staff
Activity: 4256
Merit: 1208
I support freedom of choice
Can you put it on github? Smiley
vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
Recent updates posted to https://casascius.com/btcaddress-alpha.zip :

* Banknote voucher printer can now print notes with minikeys.
* New options on the main screen to copy
  • to the clipboard as a QR code graphic for pasting into other programs, where
  • can be bitcoin address, minikey, private key, or public hash.

Other updates that have been described elsewhere but not in this thread:

* Paper Wallet and Banknote Voucher printer allows printing of multiple colors of the winner of the recent Bitcoin Banknote contest.
* Base58 Calculator allows arbitrary conversions of base58 values to hexadecimal and vice versa, regardless of length.  Add a "?" to the end of any base58 string to suspend verification of the checksum.
* Support for compressed public keys and the ability to convert between compressed and uncompressed.
* Classes for managing Bitcoin addresses/pubkeys/privkeys/minikeys have been refactored and are ripe for scraping and using in other projects if needed.  You can gain programmatic access to the functions of the main "Bitcoin address Swiss army knife" screen in your own program simply by appropriating the classes Address, PublicKey, KeyPair, and MiniKeyPair.

As always, this is a program for Windows, and is based on Microsoft .NET and Visual Studio.  Source code is included in the zip.
sr. member
Activity: 322
Merit: 251
Would it be possible to include a command line interface (non GUI mode) for this program?

My apologies if it already includes this, and I just somehow missed it.

Thanks much.

Aren't there already CLI tools for this?
sr. member
Activity: 437
Merit: 415
1ninja
very nice program!
jr. member
Activity: 57
Merit: 0
Would it be possible to include a command line interface (non GUI mode) for this program?

My apologies if it already includes this, and I just somehow missed it.

Thanks much.
Pages:
Jump to: