I'm trying to manually generate a bitcoin address.
I set my private key like this:
0x89888888888888888888888888888888889888888888888888888888888888888889888888888 8888888888888888888888
Then I end up with the address:
1NLqpZnW746xjdAgnrTb56V4uZJiV4jjrU
But as far as I know, the private key should be in the range of
1 to 0xFFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141
So I'm curious, how come I can still generate this address? If I send bitcoin to 1NLqpZnW746xjdAgnrTb56V4uZJiV4jjrU, what will actually happen?
Will I be unable to sign the transaction?
Thanks a ton.
need some help with this question
9 replies 171 views
coin_sigmaLegendary
Posts: 1275 · Reputation: 5553
#2Feb 16, 2026, 10:55 PM
Did you manually type this private key?
And how did you derive the address from the private key? I mean what process did you do to generate this address?
I tried to import the private key from bitaddress but it says it's an invalid private key. However, it still generates a key and address but the address is different from yours.
Would you mind telling us what tool or wallet did you imported that private?
It should be invalid and I'm sure if you send BTC on that address consider it lost.
I tried this private key in Unstoppable wallet and bitaddress.org, both says it is invalid.
dave.falconFull Member
Posts: 160 · Reputation: 440
#4Feb 18, 2026, 03:53 AM
This is the public key for your private key,
You just need to use mod n of secp256k1 to convert it to a valid private key, so it doesn't matter what private key you are using, it will be valid no matter what.
Here is your correct private key :
Easiest way to use mod, go here always place n on Y.
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#5Feb 18, 2026, 05:30 PM
Don't do this! There are 2 likely scenarios:
1. You lose access to your funds.
2. Someone else takes your funds.
Try to sign a message from that address.
Whatever happens OP, DO NOT send funds to 1NLqpZnW746xjdAgnrTb56V4uZJiV4jjrU
We all have the PK to sign transactions from this address. Be careful.
Most software do a modulo operation by the number that you set, you can corroborate this on python
if you check that real Key you will get:
So there is no mistery
You need to read chapter fourth of Mastering Bitcoin
https://github.com/bitcoinbook/bitcoinbook
When you want to test things like this, you should use TestNet (or its alternatives like RegTest or Signet). In that way you aren't actually losing money since the coins in these networks have no value whatsoever and won't have to worry about paying fees, etc. You also won't spam the main-chain with your test transaction.
dave.falconFull Member
Posts: 160 · Reputation: 440
#9Feb 19, 2026, 08:11 AM
If you can show me an invalid private key other than the group order, I will give you 5 merits, since we are on the first page, you can have your answer by reading other replies.
My offer stands for anyone who can show me an invalid private key.😉
That string you listed is an address, not a private key. And also, its private key is not invalid. Even if the hex number is out of range it is converted into a valid private key by using modulo, as others here have pointed out (unless the number is 0 or a multiple of n). So no. Anybody will be able to retrieve any bitcoins sent to this address.
?Reply
Sign in to reply to this topic
Related topics
- Got a free laptop, need help setting up Linux for a node 19
- Need help with an old Wallet Master Key 6
- Recovering a Bitcoin wallet and address 8
- Creating a list of non-zero wallets and their balances using Python 4
- CipherSeed: A Comprehensive Guide to Super-Secure Crypto Wallet Backups 5
- Curious about recovering BTC from 2010/2011 7