---
# System prepended metadata

title: Juno network recovery

---

# Juno network recovery


## Introduction

This document describes how to install and use the recovery tool to recover funds.
The tool is to be used in a specific circumstance, when:
 - The seed phrase of the user was leaked and the stake is bonded

The tool needs the following information:
 - A 12 or 24 word seed phrase
 - The new address of the owner
 - Amount of tokens to recover

This guide assumes you are running a Linux machine (or virtual machine) with Debian or Ubuntu.

## Disclaimer

This tool does not guarantee successful recovery of the funds;
The tool will send a large amount of transactions to the network,
it needs to be used carefully and only for its intended purpose.

## Installation

Install Python3

`sudo apt install python3 python3-pip python3-virtualenv git`

Create a virtual environment for your script

`$ python3 -m venv juno_save`
`$ . ./juno_save/bin/activate`


Download and extract the chainlibpy library (https://github.com/Galadrin/chainlibpy)

```
$ git clone https://github.com/Galadrin/chainlibpy.git
$ cd chainlibpy
$ python3 setup.py install
$ cd ..
```

Download and extract the tool (https://github.com/Galadrin/chain-tx)

```
$ git clone --branch juno_save https://github.com/Galadrin/chain-tx.git
$ cd chain-tx
$ python3 setup.py install
```

## Usage

The tool entry point is called `transaction.py`

```
$ transaction.py 
```

The tool will ask a number of questions for you to fill:
 - The 12 or 24 word seed phrase
 - Verification of the compromised address
 - The address where you want to receive the recovered tokens
 - The amount of tokens to recover
```
### STARTING FLODDING ###
enter the seed of the sender wallet : slogan initial run clock nasty clever aisle trumpet label doll comic fit
juno1c7uqv67rv983arlv4f6029psx9cdat82xkn8my
is this address correct ? [Y/n]: y
enter the receiver address : juno1u6jr0pztvsjpvx77rfzmtw49xwzu9kast287fu
enter the amount to save expressed in ujuno : 1
[...]
```
