You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,14 @@ You can try lib by running the example project:
152
152
153
153
## Popular questions
154
154
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
+
155
163
#### How to interact with custom smart-contract with web3swift?
156
164
157
165
For example: you want to interact with smart-contract and all you know is - its address (address example: 0xfa28eC7198028438514b49a3CF353BcA5541ce1d).
0 commit comments