Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find the swarm.key in my installed IPFS #7

Open
mssathees opened this issue May 8, 2019 · 2 comments
Open

Unable to find the swarm.key in my installed IPFS #7

mssathees opened this issue May 8, 2019 · 2 comments

Comments

@mssathees
Copy link

Can anyone detail how to get a swarm key and prepare a private IPFS network. though i followed github and few sites it is very difficult to follow. I'm not a techie but still i'm trying to understand and implement.
I have successfully installed IPFS and used below script in CMD and got ipfs-swarm-key-gen. But unable to find where the swarm key is.

npm install ipfs-swarm-key-gen -g

I'm get struck here for a long time and need someone to assist in detail. Thanks.

@0zAND1z
Copy link

0zAND1z commented May 10, 2019

@mssathees , please furnish more info:

  1. Do you have go installed? Is your $GOPATH properly set ?
  2. Have you initialized ipfs by executing ipfs init ?
  3. You may want to try the go package by running go get -u github.com/Kubuxu/go-ipfs-swarm-key-gen/ipfs-swarm-key-gen
  4. Make sure you execute this command thereafter: ipfs-swarm-key-gen > ~/.ipfs/swarm.key
  5. Also can you confirm the contents by executing the following command: cat ~/.ipfs/swarm.key considering that you have the default $IPFS_PATH without any changes made.

@HafsaRanaaa
Copy link

hi, i have tried generating swarm.key for ipfs private setup results in empty swarm.key file and hence fail daemon to start please guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants