This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
[TrustID-sdk]UnlockAccount should determine the DID to use #2
Labels
enhancement
New feature or request
Every call in the SDK requires a wallet.getDID("id") to specify the did of the wallet to use in the call. This is pretty messy. As DIDs must be unlocked before being used, I suggest that only a single DID should be unlocked at once in a wallet, and the unlocked account is the one always used in the calls. Thus, instead of having to get every time the DID we would do:
The text was updated successfully, but these errors were encountered: