Skip to content

Export the private key from a Swarm json key file

Notifications You must be signed in to change notification settings

ethersphere/exportSwarmKey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Export the private key from a Swarm json key file

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%