Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 2.25 KB

SecretRecoveryPhrase.md

File metadata and controls

11 lines (8 loc) · 2.25 KB

# SecretRecoveryPhrase

Properties

Name Type Description Notes
secret_recovery_phrase string The twelve word phrase that can be used to derive many public key addresses (e.g., bottom army bless castle alter habit dish embody child flame smooth zone). To derive a public key, you need a secret recovery phrase, a derivation path, and an optional passphrase. Alternatively, you can derive a public key with a private key.
derivation_path string Derivation paths are used to derive the public key from the secret recovery phrase. Only certain paths are accepted. If you provide the empty string &quot;&quot; as the value for the derivation path, then we will derive your public key with the same behavior as the default behavior of the Solana CLI. By default, we use &quot;m/44/501/0/0&quot;. This is the path that the Phantom and Sollet wallets use. You can also arbitrarily increment the default path (&quot;m/44/501/0/0&quot;) to generate more wallets (e.g., &quot;m/44/501/0/1&quot;, &quot;m/44/501/0/2&quot;, ... AND/OR &quot;m/44/501/1/0&quot;, &quot;m/44/501/2/0&quot;, ...). Phantom's Wallet increments the first digit (e.g., &quot;m/44/501/0/0&quot;, &quot;m/44/501/1/0&quot;, &quot;m/44/501/2/0&quot;, ...) to generate more public key addresses. The SolFlare recommended path is &quot;m/44/501/0&quot;. To learn more about derivation paths, check out <a href=&quot;https://learnmeabitcoin.com/technical/derivation-paths\" target=&quot;_blank&quot;>this tutorial</a>. [optional] [default to 'm/44/501/0/0']
passphrase string PASSPHRASE != PASSWORD. This is NOT your Phantom password or any other password. It is an optional string you use when creating a wallet. This provides an additional layer of security because a hacker would need both the secret recovery phrase and the passphrase to access the output public key. By default, most wallet UI extensions do not use a passphrase. (You probably did not use a passphrase.) Limited to 500 characters. [optional] [default to '']

[Back to Model list] [Back to API list] [Back to README]