Skip to content

Commit 9a52c7e

Browse files
Update README.md
1 parent ecfb149 commit 9a52c7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ You can try lib by running the example project:
152152

153153
## Popular questions
154154

155+
#### Is it possible to get Mnemonic Phrase (Seed Phrase) from Private key using web3swift?
156+
157+
In web3swift there is no backward conversion from Private key to Mnemonic Phrase. Also it is theoretically impossible to recover a phrase from a Private key. After Seed Phrase is converted to some initial entropy the “master key is derived” and the initial entropy is discarded.
158+
159+
The simplest solution is to encrypt the phrase using users pincode and save it in some other secure keystore.
160+
Mnemonic Phrase is very sensitive data and you must be very careful to let the user get it.
161+
Our advise if you want to show it to user - ask to save a Passphrase when creating BIP32Keystore.
162+
155163
#### How to interact with custom smart-contract with web3swift?
156164

157165
For example: you want to interact with smart-contract and all you know is - its address (address example: 0xfa28eC7198028438514b49a3CF353BcA5541ce1d).

0 commit comments

Comments
 (0)