Bitcoin Forum
February 21, 2024, 06:29:41 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / How to extract all input scripts for specific address? on: October 25, 2020, 11:56:41 PM
Please advice if there is ready made script or a tool which can help to extract all input scripts for the specified bitcoin address?

For example, let's take recently used address from the last confirmed block: 134YN51oPCHxXcQA687CAD5qVdkJtWAjAC
The last transaction for this address was https://www.blockchain.com/btc/tx/0037f996315cd1579280791766130b476134e992326058e3cf891200f4261b01

I need to extract this input Sigscript for out transaction:
Code:
483045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb160121021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7

However I need all such scripts for all transaction for the specified address.
2  Alternate cryptocurrencies / Altcoin Discussion / ETH address analysis (by transactions) on: August 19, 2020, 01:19:09 AM
Hi!

Is there a tool for ETH address analysis by transactions?
I need to combine all the incoming and outgoing transactions by unique addresses (number of transactions and the total amount).

I also need it not only for ETH, but for its tokens as well.
3  Bitcoin / Bitcoin Discussion / 0.01BTC Monster puzzle - SOLVED on: June 14, 2020, 01:32:46 AM
After creating visual private key generator https://btckeygen.com I received some donations, and decided to transfer 0.01BTC from them to new created puzzle address.

The purpose is to teach more people what is the private key, and of course to have some fun.
The 0.01BTC prize transaction: https://www.blockchain.com/btc/tx/509e6b40be125e0ab1e4f4a1b4a591a37eb2b352a082ff84d5cebd1928395f52

The puzzle address: 1JAsB7Nx5zyYW3MZWKJq5UmhFHJ6RWagQY

Here is the border pattern used in private key generation:


You should "draw" a monster within the orange space.

Some hints:
1) Green cell is "1" bit, white cell is "0" bit. Orange is unknown space, you should fill it by green or white.
2) I did not invent the monster image by myself, however also not sure if the exact copy exist somewhere.
3) Do not change the green border of the provided pattern - it is part of the private key.
4) The monster is located within orange square (so, only 12*12=144 unknown bits to find)
5) The monster does not touch green borders

To solve this puzzle you do not need any special programming skills or technical knowledge. The only thing you need is to import the found private key to your wallet and make the transfer to your own wallet.
So, can you please share this topic in various social media (twitter, facebook, etc).

EDIT: Added the "SOLVED" word to the Subject as the puzzle was solved today by akkort
4  Alternate cryptocurrencies / Altcoin Discussion / Public key of ETH address in network on: January 27, 2020, 11:54:11 AM
For bitcoin addresses the public key is recorded in blockchain network within the transaction as soon as the payment from the address is made. For example, in this transaction https://www.blockchain.com/btc/tx/872e70d2d596acde8aaad4e60640c0d4f49b9a9a31eaf13c5c71aaf23ca8ec23, the public key of the spending address is 03104541fe1b71d550f3d36ec1bb40d050590cf0f7a54c9e741973e78f9925411d (recorded in SigScript)

What is about ETH? Is it also possible to find the public key for ETH address in network or it is not disclosed?
5  Bitcoin / Bitcoin Technical Support / MultiSig address based on the same repeated public key on: November 23, 2019, 03:42:47 PM
For some test purposes I have created the 7/10 multisig address based on the same public key repeated 10 times (the same public key was used 10 times rather than 10 different). For the release condition I used 7 signatures.

I transferred small amount to this address, but now can not release it. While I sign the output transaction I use the private key once, and as the private key refers to every of 10 addresses, it adds 10 signatures. And finally I received the signed message 10/10, but only 7/10 is required.

When I broadcast the signed transaction, I receive the error: non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero) (code 64)

I suppose that it is because 10 signatures were added to the signed transaction, but only 7 are required.
Do you know now to release funds from my test multisig address?

PS. Before this I created 2/2 multisig account based on 2 different public keys generated from the same private key (one public key was compressed, another was uncompressed). It was not possible to release the funds signing by 2 signatures. But after that I tried to sign only once with one compressed address signature, and it added all 2 required signatures to the transaction and released it. It is interesting - for multisig addresses it does not mean if the private key compressed or not.
6  Alternate cryptocurrencies / Altcoin Discussion / BCH strange additional 546sat input on: November 22, 2019, 12:44:34 PM
Does anybody know, why in bitcoin cash some wallets (or may be all) add the dust input 0.00000546 BCH to the transaction and send this input to some another BCH address not associated with the receiving/sending address?

One of the examples: https://www.blockchain.com/bch/tx/7eda474e8f8045c3e13862d4501199111330922e52a58bbaf98bdb24389491f4

It looks like this 0.00000546 BCH input/output added to the transaction as a "marker" and has its own life.

Can you explain the origination of this dust amount and why it is added to the transactions?
7  Bitcoin / Bitcoin Discussion / "Game theory" free bitcoin question on: October 31, 2019, 12:44:58 PM
It is the theoretical question (no real bitcoin award) from the game theory.

Suppose, that somebody grants valuable amount of BTC (let's say 10BTC). The private key is published online: for example, a separate thread is created (here on bitcointlalk) with the announcement to publish private key on certain date and time. While the private key is published, everybody (who read the topic) could release the funds. However, we know that replace-by-fee (RBF) transactions are possible. So, if the user 1 makes a spending 9.99BTC with 0.01BTC comission, so another one could make RBF transaction with 9.5BTC and 0.5BTC, and miners will confirm the transaaction with higher fee. The 3d user could make 9BTC spending with 1BTC transaction and so on... The users also could negotiate online making pools, promissing equal shares to each other. However they also could break such negotiations to maximize personal income.

The questions are:
[1] How much will be spent from such 10BTC address and how much will be the transaction fee to miner?
[2] Suppose, that only 4 online anonymous to each other users have the access to disclosed private key. These users also could negotiate online. How much will be spent from 10BTC address and how much will be the transaction fee in this case? 4 users can easily negotiate (let's say to receive 2.49BTC each, transaction fee 0.04BTC), but everybody will still have temptation to replace the transaction with higher fee and higher personal reward (9BTC spending with 1BTC transaction fee for example, where 9BTC is much more than 2.49BTC)
8  Bitcoin / Development & Technical Discussion / Bitcoin key size and elliptic curve in 2009 and now on: October 14, 2019, 05:26:40 PM
Sorry for the question, may be it was already discussed earlier.
I understand that the curve selected for bitcoin was the same (secp256k1) since the start in 2009, however in the first code of bitcoin application (dated 2009 year) i found the following comments:

Code:
key.h

// secp160k1
// const unsigned int PRIVATE_KEY_SIZE = 192;
// const unsigned int PUBLIC_KEY_SIZE  = 41;
// const unsigned int SIGNATURE_SIZE   = 48;
//
// secp192k1
// const unsigned int PRIVATE_KEY_SIZE = 222;
// const unsigned int PUBLIC_KEY_SIZE  = 49;
// const unsigned int SIGNATURE_SIZE   = 57;
//
// secp224k1
// const unsigned int PRIVATE_KEY_SIZE = 250;
// const unsigned int PUBLIC_KEY_SIZE  = 57;
// const unsigned int SIGNATURE_SIZE   = 66;
//
// secp256k1:
// const unsigned int PRIVATE_KEY_SIZE = 279;
// const unsigned int PUBLIC_KEY_SIZE  = 65;
// const unsigned int SIGNATURE_SIZE   = 72;
//
// see www.keylength.com
// script supports up to 75 for single byte push

So, 2 questions:
1) Did bitcoin really used other curves than secp256k1 in the past years? What was the reason to put the comments about secp160k1, secp192k1 and secp224k1?
2) Why is the PRIVATE_KEY_SIZE for secp256k1 equals to 279? The private key is 256bit, so what for is the additional 279-256 = 23 bits?
9  Other / Archival / How to find the privkey to a "symmetric" point? on: October 13, 2019, 02:04:28 PM
Let's say that I know the private key to the "compressed" public key point:

PubKey (compressed): 039876090275c25b264eb954d46f6c2af38575e495d741f850640c9555f19ee1f4
Address: 1Q4gKeXEyvQmNc4JuYsuiC8S76c6XEGrwr

Private Key for this pub is: 31a03fb0cd14875e59778fb0c3689ebc13d0870bd2acb7bf479178852e331bec

So, now I want to find the private key for a symmetric point (x-coordinate is the same, but y-coordinate is opposite). In the terms of compressed PubKey the first byte of PubKey "03" should be changed to "02".

So, how to find a PrivateKey for the following PubKey:
PubKey: 029876090275c25b264eb954d46f6c2af38575e495d741f850640c9555f19ee1f4
Address: 19gg34q2FRBTa3CHZqx8NeFTybf9Uk6Cd3
10  Bitcoin / Bitcoin Discussion / Private Key by 256 coin flips on: October 12, 2019, 09:19:07 PM
Some weeks ago I made a visual tool to create a bitcoin private key. The most secure way for key generation is to flip a physical coin 256 times. I flipped a coin 256 times, and made a video how to create the bitcoin private key with my tool.

Here is the video instruction: https://youtu.be/WyBdYhwweaE

The total time just for flipping a coin was 16 minutes, plus some minutes to fill the cells in my key generator. So, the fastest way to create a safe bitcoin private key with the physical 256 coin flips is appox. 15-20 minutes.

Enjoy!  Roll Eyes

PS. The project discussion is also available here: https://bitcointalk.org/index.php?topic=5187401.0
11  Bitcoin / Project Development / Bitcoin Visual private key generator on: September 25, 2019, 06:09:21 AM
This is the visual bitcoin private key generator.

The square 16x16 (=256) is used for generation purposes, where each cell represents one bit. The idea is that the filled cell represents "1" bit in the key, and not filled cell represents "0" bit in the key. Such presentation allows creating visual keys which could be easily memorized by human, but hardly understood by machines. You can draw pictures, logos, figures, favorite symbols and so on. You can also make your own patterns and designs and use them as your key. The benefit from such presentation is that you can "store" this key in your memory, just remembering the way you made the drawings.

There is also the option to generate the key in coin mode. It is known that the most secure way to generate bitcoin key is to flip a coin 256 times, and write down each outcome as 1 or 0 depending on the coin side. Visual private key generator can assist you in doing it. Just start flipping the coin and filling the cells line by line from 1x1 to 16x16 and after 256 outcomes you will have a nonsense "picture" represented your unique private key. You can be sure that nobody in the world have ever generated the same key or would generate in the future. The probability of such collision is so small that it is really equal to 0 for all of us and many other future generations.

All the private keys are generated on client side, in the browser. The site does not copy or store the generated information. But for better securitty it is recommended to download the whole site and generate the key offline.


Visual private key generator: https://btckeygen.com

Video instruction (private key generation by flipping a coin 256 times): https://youtu.be/WyBdYhwweaE
Educational visual pattern keys: https://youtu.be/0Ug4YBEyRFQ

Project structure:

Code:
1) index.html               ---> main  HTML file with the objects and references to scripts and styles
2) css/visualPrivKey.css    ---> Styles sheet
3) js/visualPrivKeyMain.js  ---> Main script with canvas calculations and object functions
4) js/bitcoinJS-lib.js      ---> BitcoinJS-lib v0.1.3-default (ECDSA formulas)
5) js/QRcode.js             ---> QR Code Generator for JavaScript

GitHub repository: https://github.com/MrFreeDragon/VisualBTC

Some screenshot examples of the keys and their visualization from the project:

1) Pattern 1 and the corresponding key + address (compressed):


2) Pattern 2 (heart) and its key + address (uncompressed):


3) Visualization of custom HEX key (the key was taken from the public internet, and it corresponds to the uncompressed BTC address with the transactions):


WARNING: The pattern/logo/figure used in bitcoin key generation could be vulnerable, so use these keys only for educational purposes, for fun or for small gifts to others. For real money storage employ a physical coin to fill every bit of your key flipping it 256 times.
12  Bitcoin / Development & Technical Discussion / Example of BTC collision (2 different priv key to the same BTC address) on: September 18, 2019, 03:36:18 PM
There are almost 2^256 possible private keys, and every key could be used to generate the BTC address. However the amount of possible BTC addresses is only 2^160 (because of ripemd160 hash function).

Is there any real example of at least 2 (or may be more) DIFFERENT private keys resulting to the same bitcoin address?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!