Bitcoin Forum
May 12, 2024, 06:41:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can a receiving address be the hash of an IP address?  (Read 240 times)
keiha (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 04, 2019, 03:32:42 PM
 #1

Can that be done for the sending address as well?
1715539313
Hero Member
*
Offline Offline

Posts: 1715539313

View Profile Personal Message (Offline)

Ignore
1715539313
Reply with quote  #2

1715539313
Report to moderator
1715539313
Hero Member
*
Offline Offline

Posts: 1715539313

View Profile Personal Message (Offline)

Ignore
1715539313
Reply with quote  #2

1715539313
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715539313
Hero Member
*
Offline Offline

Posts: 1715539313

View Profile Personal Message (Offline)

Ignore
1715539313
Reply with quote  #2

1715539313
Report to moderator
1715539313
Hero Member
*
Offline Offline

Posts: 1715539313

View Profile Personal Message (Offline)

Ignore
1715539313
Reply with quote  #2

1715539313
Report to moderator
1715539313
Hero Member
*
Offline Offline

Posts: 1715539313

View Profile Personal Message (Offline)

Ignore
1715539313
Reply with quote  #2

1715539313
Report to moderator
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 04, 2019, 06:56:01 PM
 #2

Can that be done for the sending address as well?
You could make a payment to a hash of an ip, but you would not have the corresponding private key in this case. An address is derived (hashed) from a public key, itself derived from the private key : you have to first generate the private key in order to generate an address.
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2873


Top Crypto Casino


View Profile WWW
April 04, 2019, 09:20:08 PM
 #3

The only way I can think of is to use the hash of IP as the private key then derive the public address from it.
You should not do it for security reasons, obviously.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
keiha (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 05, 2019, 01:30:05 AM
 #4

Could you publish the private key (after transferring BTC out of that address)?

OP_RETURN could be used for the domain name, and create a DNS on the blockchain.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
April 05, 2019, 03:17:16 AM
 #5

are you still trying to duplicate NameCoin on bitcoin?

OP_RETURN could be used for the domain name, and create a DNS on the blockchain.

bitcoin is a currency and a payment system, it should not be used for things that are not related to that. in fact OP_RETURN should not have even been added to bitcoin in first place.
but yes you can do that. here is a cool project running a website without host, DNS,... and purely decentralized using OP_RETURN data on bitcoin network https://github.com/elendirx/web2web

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
CryptoReggae
Member
**
Offline Offline

Activity: 187
Merit: 45


View Profile
April 05, 2019, 06:03:06 AM
 #6

I remember reading a discussion by Satoshi explaining how to use IP as a sending recipient.
Good times now gone, now I honestly don't know if what you ask is possible
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
April 05, 2019, 02:32:28 PM
Merited by ABCbits (2)
 #7

This is not possible to quite a lot of reasons.
I will list a few without a in-depth explanation because i think it really is not required here:

  • IPs are given out dynamically
    You might have a specific IP today, a different tomorrow and a completely new one the day after.

  • 'Adresses' do not exist on a technical level. An address is just a readable format for humans.
    On a technical level, transactions have public keys as 'receiver / sender'.

  • 'Adresses' or public keys, are generated by doing mathematical operations on the private key.
    You need the private key (very big random number) FIRST, then you can create a public key out of it (and therefore also derive an 'address').

  • Most internet user are sitting behind a NAT from their ISP.
    This is due to the fact that there are way too much internet devices than IPv4 addresses (there are 4,294,967,296; from which a lot of them can't be given out because of being reserved etc..)
    While you might see your 'public IP', you can't be reached from outside at this IP. All of your packets are getting routed through the NAT which changes your IP to the 'real' IP (the one from the ISP).
    Answers are getting translated and getting routed into the ISP's subnet to your 'internal public IP'.

  • The time of IPv4 addresses is coming to an end (see previous point).
    There is a (very) slow transition onto IPv6 going on (which will have an IP space of 3.4 * 1038 IPs.
    So the whole IP format is going to change anyway.



And.. most importantly.. it is not necessary at all. You would gain 0 benefit from it.
In fact, it wouldn't even make sense.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!