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
{{ message }}
Repository navigation
Missing Wallet Query Interface in SDK to Retrieve Created Wallet Information #140
The current client SDK provides the CreateWallet interface for wallet creation and an asynchronous callback OnWalletCreationResult to receive the key generation result. However, if for some reason the processing within OnWalletCreationResult is missed or fails, there is no way to retrieve the already created wallet information.
Attempting to call CreateWallet again with the same walletID results in an expected error indicating that the key already exists. While this error is correct behavior, the SDK lacks an interface to query the existing wallet details, such as the public key information.
This gap makes it difficult to recover or verify wallet creation status and associated key data after missing the asynchronous event.
Request:
Please consider adding a wallet query interface to the SDK that allows clients to fetch wallet information by walletID. This would improve robustness by enabling retrieval of wallet details even if the asynchronous creation result is missed.
Thank you for reporting @treeforest , Ok we can consider store the Create wallet response in badger and then later on when create wallet with the same id , it should return the stored the response instead of returning "duplicate" error
Activity
anhthii commentedon Feb 5, 2026
Thank you for reporting @treeforest , Ok we can consider store the Create wallet response in badger and then later on when create wallet with the same id , it should return the stored the response instead of returning "duplicate" error
johnnynanjiang commentedon May 10, 2026
Raised a PR for it at #160
Merge pull request #160 from johnnynanjiang/issue/140-round-1