Skip to content

Commit 116c02f

Browse files
authored
feat(docs): add guide for exporting private keys (#480)
1 parent fd574cb commit 116c02f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
sidebar_position: 6
3+
slug: export-private-keys
4+
title: Export Private Keys
5+
description: Export private keys for minting and redeeming
6+
tags: [intermediate, fassets, bitcoin, dogecoin]
7+
authors: [fassko]
8+
keywords: [fassets, xrp, btc, doge flare-network, flare-network]
9+
---
10+
11+
This guide explains how to export the private keys for the FAssets agent's underlying address by specifying the export file in the Docker container setup. This process is essential if you need to migrate your FAssets agent after full liquidation.
12+
13+
1. Create a directory named `export` to export the private keys.
14+
2. Assign ownership of the directory to user ID 1000 by setting the appropriate permissions:
15+
16+
```bash
17+
sudo chown 1000:1000 export -R
18+
```
19+
20+
3. Execute the following command to export the private keys and mount the export path to the Docker container:
21+
22+
```bash
23+
docker-compose --profile cli run -v $(pwd)/export:/export agent-bot exportPrivateKeys /export/keys.tmp --fasset FXRP
24+
```

0 commit comments

Comments
 (0)