# Use Dice to Generate Recovery Phrase

To learn more about using dice to generate recovery phrase, visit our [blog](https://blog.keyst.one/how-to-verify-the-recovery-phrase-created-by-dice-rolling-af01c16b765e).

Please Follow the steps below to easily accomplish your own TRNG.

## **I. Preparation**

1\. At least one casino-grade die (casino-grade dice will give you the highest degree of entropy).

## **II. Using Input From Dice to Generate A Recovery Phrase**

1\. Find the interface that gives you the options to either \[Import Wallet] or \[Create Wallet].

1\) You can find this interface during initialization of the device. If you have already initialized your device, go to the step below.

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrQXQQRT6etffwhkFpfZG%2Fuploads%2FoYmfeEtR3ySCOCUMJWBq%2F1-%E7%BC%A9%E5%B0%8F70%25.jpg?alt=media&#x26;token=26c325b4-ffda-4844-9f17-fc3fa6c477c2" alt="Keystone-Dice Roll-1"><figcaption></figcaption></figure>

2\) You can also enter this interface by going to \[Settings], then touching \[Create/Import Wallet].&#x20;

{% hint style="info" %}
**CAUTION**: Using dice to generate a new recovery phrase will erase and replace your current recovery phrase. Make sure you have properly recorded your recovery phrase before you proceed with generating a new one.
{% endhint %}

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVozfoQsxc6YFPQfVTB%2F-MY2lXYeMRACwWhcsZL2%2F-MY3D5BRlDd1t6PvXm5O%2F2.jpg?alt=media&#x26;token=fcb6dadc-4acd-4adc-b9b1-a0029a21f2c5" alt="Keystone-Dice Roll-2"><figcaption></figcaption></figure>

2\. Touch \[Create Wallet].

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrQXQQRT6etffwhkFpfZG%2Fuploads%2FBUIkhxpv7gXZtdU4lqge%2F3-%E7%BC%A9%E5%B0%8F70%25.jpg?alt=media&#x26;token=0b40a1d8-d75f-49de-8958-51ff6d8434ab" alt="Keystone-Dice Roll-3"><figcaption></figcaption></figure>

3\. Tap 3 times on the image of the Keystone Tablet to enter the \[Dice Rolls] interface.

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrQXQQRT6etffwhkFpfZG%2Fuploads%2F32iE50Iyp7vOmUSRBTfa%2F4-%E7%BC%A9%E5%B0%8F70%25.jpg?alt=media&#x26;token=c4ad93bd-e488-404d-9846-6a58e68ada79" alt="Keystone-Dice Roll-4"><figcaption></figcaption></figure>

4\. Touch \[Start] to begin entering the results of dice rolls (1,2,3,4,5,6) into Keystone.

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVozfoQsxc6YFPQfVTB%2F-MY2lXYeMRACwWhcsZL2%2F-MY3Ea2HeRH6Q888tLmb%2F5.png?alt=media&#x26;token=09790a0b-b869-4f32-a928-134051ba79e7" alt="Keystone-Dice Roll-5"><figcaption></figcaption></figure>

{% hint style="info" %}
To ensure the highest degree of entropy for your recovery phrase, we recommend that you:&#x20;

① Enter at least 50 dice roll results (99 are required for 256-bit entropy).

② Roll on a flat, stable surface.

③ Cast each dice roll from a high enough position relative to the surface you are rolling on.
{% endhint %}

5\. Once you are satisfied with your number of dice roll entries, touch \[Done], then touch \[Generate]. You may then start recording your newly generated recovery phrase.

<figure><img src="https://2420738387-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVozfoQsxc6YFPQfVTB%2F-MY2lXYeMRACwWhcsZL2%2F-MY3EcZqLHWnqujC2nWO%2F6.png?alt=media&#x26;token=26e0a2e0-029b-4951-8050-7c543a25c606" alt="Keystone-Dice Roll-6"><figcaption></figcaption></figure>

&#x20;[How to verify the recovery phrase created by dice rolling？](https://blog.keyst.one/how-to-verify-the-recovery-phrase-created-by-dice-rolling-af01c16b765e)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.keyst.one/advanced-features/recovery-phrase/use-dice-to-generate-recovery-phrase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
