Using Session Keys
Session Keys are currently an experimental feature in the SDK. We are actively working on simplifying the usage, please note that there could be breaking changes as we improve this feature.
Once session keys are added, using them is straightforward - just create another client instance with the session key connected along with properties of the session key (session key entityId and global validation is used). These properties were set during the installValidation call.
Note that you have to pass in accountAddress
to session key clients. By default, the client uses an account address counterfactual that assumes that the connected signer is the owner.