Export the private key from a Swarm json key file

Overview

exportSwarmKey

Currently it is a pain in the A** to export bee key in to metamask as they are not compatible. This programe will export the private key so that people can import it in metamask or other wallets.

Usage: go run main.go <sourceDirContainingBeeKeys> <password>

Assumption: currently it assumes that you use the same password for all the keys in the dir :-)

Disclaimer:

  • This will display the private key so please do it in a safe place.
  • There is absolutely no gurantee that your key will work or your fund security.

** Please use at your own risk **

You might also like...
Go-keymap - Generate keymap.c, layers.h and keymap.svg from visual keymaps defined through keymaps.json and .layer files
Go-keymap - Generate keymap.c, layers.h and keymap.svg from visual keymaps defined through keymaps.json and .layer files

generating keymap.c This utility can generate a keymap.c, layers.h and keymap.sv

An unified key management system to make life easier.
An unified key management system to make life easier.

Safebox An unified key management system to make life easier. The main goal of safebox is to make key backup easier with single main key to derive the

Mildly performant age public key bruteforcer

vanity-age Mildly performant age vanity public key brute-forcer.

Reads Sets and Deletes a key from Redis cache

Reads Sets and Deletes a key from Redis cache

An in-memory, key-value store HTTP API service

This is an in-memory key-value store HTTP API service, with the following endpoints: /get/{key} : GET method. Returns the value of a previously set ke

A project that provides an in-memory key-value store as a REST API. Also, it's containerized and can be used as a microservice.

Easy to Use In-Memory Key-Value Store A project that provides an in-memory key-value store as a REST API. Also, it's containerized and can be used as

Hw-keyboard-remapper - This is key code remapper for the hardware keyboard

hw-keyboard-remapper hw-keyboard-remapper is key remapper independent the OS. ht

In one particular project, i had to import some key/value data to Prometheus. So i have decided to create my custom-built Node Exporter in Golang.
In one particular project, i had to import some key/value data to Prometheus. So i have decided to create my custom-built Node Exporter in Golang.

In one particular project, i had to import some key/value data to Prometheus. So i have decided to create my custom-built Node Exporter in Golang.

Cross-platform file system notifications for Go.

File system notifications for Go fsnotify utilizes golang.org/x/sys rather than syscall from the standard library. Ensure you have the latest version

Comments
  •  dial tcp i/o timeout

    dial tcp i/o timeout

    when running go run main.go <sourceDirContainingBeeKeys> <password> it returns go: github.com/ethereum/[email protected]: Get "https://proxy.golang.org/github.com/ethereum/go-ethereum/@v/v1.9.25.mod": dial tcp 142.250.206.209:443: i/o timeout

    opened by PeterCCLiu 0
  • export address difference origin address?

    export address difference origin address?

    go version go1.16.5 darwin/amd64 os:mac big sur v11.4

    i want to get my private key ,i run thego run main.go ~/.bee/clef/data/keystore xxx

    i get the address difference with the origin address, eg ~/.bee/clef/data/keystore/UTC--2021-06-22T03-32-41.757272358Z--77301360e810921496fa883965439c778d8ea54c show the address is

    {"address":"77301360e810921496fa883965439c778d8ea54c","crypto":{"cipher":"aes-128-ctr","id":"bdc53faf-278e-4892-9600-de513982dfd5","version":3}
    

    ,but run go run main.go ~/.bee/clef/data/keystore xxx i got the address is

    /Users/zhangguijian/.bee/clef/data/keystore/UTC--2021-06-22T03-32-41.757272358Z--77301360e810921496fa883965439c778d8ea54c  :  {"address":"d77331e7370cb57f4b646bc94c6767376d5d83aa","privatekey":"","id":"3690e6ff-370e-48f4-8a10-7f8c77c01c90","version":3}
    
    opened by zhangguijian 0
  • How to exactly run this

    How to exactly run this

    Hey Never used go, So, to run this, one needs to have go installed. And then, what are exactly the steps because now when running the main.go I get sth like this:

    ain.go:12:2: cannot find package "github.com/ethereum/go-ethereum/crypto" in any of:
    	/usr/local/go/src/github.com/ethereum/go-ethereum/crypto (from $GOROOT)
    
    
    opened by liberuum 3
Owner
Zahoor Mohamed
Zahoor Mohamed
[TOOL, CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.

typex Examine Go types and their transitive dependencies. Export results as TypeScript value objects (or types) declaration. Installation go get -u gi

Daniel T. Gorski 172 Dec 6, 2022
Parse a shell script and output all export declarations in an easy to read format

Find Exports Parse a shell script and output all export declarations in an easy to read format. Usage Example $ findexports ~/.bashrc PATH=$PATH:/usr/

Ilia Choly 1 Jan 13, 2022
traefik-certs-cleaner is a simple helper to clean the Traefik acme.json file by removing certificates

traefik-certs-cleaner If you appreciate this project: Description traefik-certs-cleaner is a simple helper to clean the Traefik acme.json file by remo

Ludovic Fernandez 14 Oct 31, 2022
Simple Golang API to demonstrate file upload to fireabase storage and retrieving url of uploaded file.

go-firebase-storage -Work in progress ??️ Simple Golang API that uses Firebase as its backend to demonstrate various firebase services using Go such a

Victor Kabata 4 Oct 4, 2021
Works with HashiCorp HCL. Allows to append the input file with blocks and attributes from the template file

About hclmergetool Works with HashiCorp HCL. Allows to append the input file with blocks and attributes from the template file Installation Binary Rel

Max Fedorov 0 Feb 6, 2022
HTTP service to generate PDF from Json requests

pdfgen HTTP service to generate PDF from Json requests Install and run The recommended method is to use the docker container by mounting your template

Hyperboloide 61 Dec 2, 2022
RTS: request to struct. Generates Go structs from JSON server responses.

RTS: Request to Struct Generate Go structs definitions from JSON server responses. RTS defines type names using the specified lines in the route file

Paolo Galeone 237 Dec 7, 2022
Simple API that returns JSON of statically defined

GOLANG API This is a simple example of a Go API using: Docker Docker-compose Built in go packages How to run using Docker-compose (Easiest) Clone repo

BJ McCotter 0 Nov 2, 2021
Program to solve sudokus given in JSON Format, written in Go

Program to solve sudokus given in JSON Format, written in Go

H3rmt 1 May 2, 2022
To get json about repo&pkg relationship

pkg_repo_tool 1. Usage 把从 frameworks 收集到的 bp 文件放到一个文件夹中。在这里为了方便叙述,就把这个文件夹命名为 frameworks 并且放在 bprepo2json/main 之下。 然后: > cd bprepo2json/main > go run .

null 0 Jan 11, 2022