-
Notifications
You must be signed in to change notification settings - Fork 11
Significance of key generated by 'ipfs init' #166
Comments
check out
like this:
So, the peer identity is the thing that identifies you on the network, and it gets used as your address in IPNS.
here's a list of peers I'm currently connected to.
http://ipfs.io/ipfs/QmbtNuavtRJs9BijJo7uMrRSp926F92DKMQHAjQDajMuw1/ it's a blog! 😆 |
thanks @Ghoughpteighbteau what is being resolved as part of ipfs name resolve QmeWdgoZezpdHz1PX8Ly8AeDQahFkBNtHn6qKeNtWP1jB6 |
the IPNS system is taking the peer identity this peer identity The address:
Could you clarify this question for me? I'm not sure I'm answering it correctly. best guess:
edit: OH wait. Sorry I misunderstood you. The formatting in your post suggested a different question than I expected. |
@Ghoughpteighbteau Invoking : 'ipfs name resolve QmeWdgoZezpdHz1PX8Ly8AeDQahFkBNtHn6qKeNtWP1jB6' a single value is returned : /ipfs/QmbtNuavtRJs9BijJo7uMrRSp926F92DKMQHAjQDajMuw1 Is one hash value returned as there is one entry for the peer QmeWdgoZezpdHz1PX8Ly8AeDQahFkBNtHn6qKeNtWP1jB6 and so if 'ipfs add' is executed n times for peer id QmeWdgoZezpdHz1PX8Ly8AeDQahFkBNtHn6qKeNtWP1jB6 then 'ipfs name resolve QmeWdgoZezpdHz1PX8Ly8AeDQahFkBNtHn6qKeNtWP1jB6 ' returns n entries ? |
No. You need to publish: ipfs name publish
|
@adrian-git-hub-user Ahh. I see what you're asking.
Confused about why it's important that it changes and why it doesn't show you all of a persons files? I do not blame you, if you're just learning about IPFS, IPNS is the worst place to start! IPNS is a subcomponent of IPFS that lets you make dynamic content. If you want to make a decentralized version of Reddit on IPFS, you need IPNS to do it. But if you want to disseminate files or webpages in a totally decentralized fashion, IPNS doesn't even get involved! |
This issue has been moved to https://discuss.ipfs.io/t/significance-of-key-generated-by-ipfs-init/279. |
Following doc https://ipfs.io/docs/getting-started/ what is the 'peer identity' hash key , this is required to store files on ipfs ?
From 'getting started' doc
peer identity: Qmcpo2iLBikrdf1d6QU6vXuNb6P7hwrbNPW9kLAH8eG67z
to get started, enter:
ipfs cat /ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme
Should each of these keys contain same value ?
Once I 'ipfs init' and close terminal is the hash key stored on system so can re-access or is it required by user to securely store ?
The text was updated successfully, but these errors were encountered: