# \[Archive\] How can I get seed phrase with react native sdk?

**URL:** <https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [November 3, 2022, 2:44pm UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328 "2022-11-03T14:44:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [November 3, 2022, 2:44pm UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328/1 "2022-11-03T14:44:16Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **githubdiscussions** on 11/3/2022.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

I am trying to integrate web3auth in our wallet app. Wallet app is made in react native. I need to get seed phrase for each user, so users can login with web3auth and create wallet automatically. How can I get seed phrase with react native sdk?  
I used custom verifier. My code is like this.  
const web3Auth = new Web3Auth(WebBrowser, {  
clientId: 'xxxxx',  
network: OPENLOGIN\_NETWORK.TESTNET,  
loginConfig: {  
google: {  
verifier: 'my\_verifier',  
typeOfLogin: 'google',  
name: 'Custom Login with Google',  
clientId: 'my\_google\_client\_id'  
}  
}  
});  
const state = await web3Auth.login({ loginProvider: LOGIN\_PROVIDER.GOOGLE, redirectUrl: resolvedRedirectUrl });

  
   
 Originally posted by: [ruymaster](https://github.com/ruymaster)  
   
 Check the discussion at: [https://github.com/orgs/Web3Auth/discussions/821](https://github.com/orgs/Web3Auth/discussions/821)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [November 8, 2022, 7:33am UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328/2 "2022-11-08T07:33:04Z")

</div>

Hey [@ruymaster](https://github.com/ruymaster)

> "I need to get seed phrase for each user, ..."
> 
> > Web3Auth returns user's private key upon user's successful authentication. And that can be used to create a provider and use it to make blockchain calls.

Please look at any react native apps present at [https://github.com/Web3Auth/examples/tree/main/react-native](https://github.com/Web3Auth/examples/tree/main/react-native) and try running it and see if this is what you need.

  
   
 Originally posted by: [shahbaz17](https://github.com/shahbaz17)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [November 8, 2022, 8:52am UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328/3 "2022-11-08T08:52:24Z")

</div>

Thanks for your response. I already made some modules based on example. So I got private key with web3auth. But I can't get 12 seed phrase or store generated randomly seed phrase string, as simular as binance wallet extension doing.

  
   
 Originally posted by: [ruymaster](https://github.com/ruymaster)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [November 9, 2022, 8:32am UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328/4 "2022-11-09T08:32:36Z")

</div>

Thanks, [@yashovardhan](https://github.com/yashovardhan) I understand. It is possible to generate seed with enough entropy. thanks again.

  
   
 Originally posted by: [ruymaster](https://github.com/ruymaster)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [November 9, 2022, 4:31am UTC](https://builder.metamask.io/t/archive-how-can-i-get-seed-phrase-with-react-native-sdk/2328/5 "2022-11-09T04:31:39Z")

</div>

Thanks for replying. Private key can't be converted to seed phrases. You can check this link.  
[https://ethereum.stackexchange.com/questions/62530/how-can-i-get-a-mnemonic-phrase-from-a-private-key](https://ethereum.stackexchange.com/questions/62530/how-can-i-get-a-mnemonic-phrase-from-a-private-key)

  
   
 Originally posted by: [ruymaster](https://github.com/ruymaster)
