/exportSwarmKey

Export the private key from a Swarm json key file

Primary LanguageGo

exportSwarmKey

exportSwarmKey is a command-line utility to get the Ethereum keys from your Swarm keystore file.

We reccomend the usage of bee-clef, but if you inadvertedly started bee without bee-clef, this is as good as it gets.

Requirements

HowTo

  • Clone this repo and navigate to directory
  • run go run main.go \<sourceDirContainingBeeKeys\> \<password\>
  • Make a backup of your key in a safe place
  • Import your keys in a trusted Ethereum wallet (such as Metamask)
  • Validate if the address inside your wallet corresponds with the Ethereum address of your Bee node (localhost:1635/addresses)

With gratitude to @jmozah <3

Warning

Never interact with your chequebook directly, but always do so via bee APIs. If you would call into functions of your chequebook with your imported key in Metamask, you might screw things up for Bee.