-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: In
GnoNativeService
interface, add methods needed by Gnokey …
…Mobile (#162) The Gnokey Mobile service has a pointer to the local Gno Native Kit service so that it can perform functions with direct Go calls. This PR updates `GnoNativeService` to expose functions needed by Gnokey Mobile (without changing functionality). This PR has two commits: * In api.go, make `ConvertKeyInfo` a public helper function so that Gnokey Mobile can use it. * In the `GnoNativeService` interface, add `ClientGetRemote`, `ClientListKeyInfo` and `ClientSignTx`. In `gnoNativeService`, implement these and update `GetRemote`, `ListKeyInfo` and `SignTx` to use them. --------- Signed-off-by: Jeff Thompson <[email protected]>
- Loading branch information
Showing
2 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters