Giter Site home page Giter Site logo

go-ipfs-swarm-key-gen's Issues

ipfs swarms with the same swarm.key

I've setup 2 ipfs daemons with the same ~/.ipfs/swarm.key. I've 2 questions:

  1. Should the command "ipfs swarm peers" show 1 result? I now get nothing as a result.
  2. I added a file in the first node but I can't see it from the other node.

What am I missing?
Thanks!

Proxy / Bridge node using swarm.key

Following up on our conversation from IPFS Discourse here.

How about creating a Layer-2 alike key management for an IPFS node to bridge the contents between two heterogeneous IPFS cluster having their own respective swarm.keys?

All thoughts & approaches are welcome.

ipfs-swarm-key-gen > ~/.ipfs/swarm.key produce error

When i write the comand:

ipfs-swarm-key-gen > ~/.ipfs/swarm.key :
console result say " ipfs-swarm-key-gen : comand not found

if i write: ./go/bin/ipfs-swarm-key-gen > ~/.ipfs/swarm.key (like this tutorial https://medium.com/@s_van_laar/deploy-a-private-ipfs-network-on-ubuntu-in-5-steps-5aad95f7261b )
Console: -bash: ./go/bin/ipfs-swarm-key-gen: No such file or directory

And if i write ipfs-swarm-key-gen > IPFS_PATH=~/.ipfs/swarm.key
Console: -bash: PFS_PATH=/home//.ipfs/swarm.key : No such file or directory

alternate version or binary

the requirement for go seems like an overkill for this, or this project should provide a binary or we can use a shell script
curl -s https://gist.githubusercontent.com/dcharbonnier/2643600fad1981ac3051a8ef92336d55/raw/0534ef105c5940a33a3703d6a6d8341a1329cd64/ipfs-swarm-key-gen.sh | sh

The shell script is limited to Linux with an OpenSSH installed but it's more common than a go interpreter.

Can't use `go get` โ€” 'go get' is no longer supported outside a module.

$ go get -u github.com/Kubuxu/go-ipfs-swarm-key-gen/ipfs-swarm-key-gen
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
$ go version
go version go1.18.2 linux/amd64

Unable to find the swarm.key in my installed IPFS

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.

can't use command

can't use this command :
ipfs-swarm-key-gen > ~/.ipfs/swarm.key
i install go and have path
$ go version
go version go1.16.3 linux/amd64
Is there a solution or alternative to solve this command

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.