Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpc-export

This repo can be used to export the private key for a DKLS Capsule wallet using a user share and the corresponding backup Capsule share.

Setup

Before running this script, you'll need to have Go installed on your machine. If you don't yet have it, you can download it here

Usage

Get the user share from one of these two locations:

  • The recovery secret you saved when initially creating your wallet.
  • A frontend where you have logged in with your Capsule wallet. It will be the string in the signer field of the wallet you'd like to sign with.
image

Retrieve the backup share contents by downloading the pdf CapsuleBackupShare.pdf from the backup kit email received during wallet creation (Subject: Welcome to Capsule Snap Account - Capsule Account Information) and copying the contents of the Capsule Backup Key section.

image

Note: You'll need to copy this information using a PDF Reader App such as Preview or Adobe Acrobat.

To export the private key run:

USER_SHARE = "contents of the user share"
CAPSULE_SHARE = "contents of the capsule share"
go run main.go $USER_SHARE $CAPSULE_SHARE

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages