allartprotocol / unity-solana-wallet

The First Open-Source Unity-Solana Wallet with NFT support
282 stars 128 forks source link

Restore wallet from mnemonics creates new pubkey. Can we import desired wallet from a private key ? #28

Closed MaciejProkopowicz closed 2 years ago

MaciejProkopowicz commented 2 years ago

Hey there !

Is it possible to import wallet from a private key ? When I restored using mnemonics it simply created a new pubkey at first time. What if I want to load specific pubkey where my NFTs are located ?

Thanks in advance !

vuckovic95 commented 2 years ago

For now it is not possible to import wallet from a private key.

MaciejProkopowicz commented 2 years ago

so if new player joins a imagined game first thing they need to import their mnemonics or create new wallet and transfer nft to that new pubkey to play a game (if nft requirement logic is implemented but in my case it is what I need).... that is what I am thinking now because there is no other way to import desired pubkey ? Am I right ?

vuckovic95 commented 2 years ago

They can always import mnemonics

MaciejProkopowicz commented 2 years ago

I got it but I have 3 wallets and only one secret phrase for them which makes this much more complicated as they share same seed phrase.

And I do not think that other users are creating wallets in different browsers to have one pubkey and one mnemonic per seed 😋