-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connector-iroha): sending transactions signed on the client-side
- Add new endpoint `generate-transaction`, to create unsigned transactions that can be signed on the client side. - Add a function to iroha-connector package to help signing iroha transactions on the client (BLP) side. - Extend transact endpoint to accept signed transaction as an argument as well. New transact interface is backward compatible, all current code should work without any change. - Add new test suite to check features implemented in this PR (i.e. signing on the client side). - Perform minor cleanup in the connector code, remove unused fields and includes, fix some type related warnings. - Perform openapi interface cleanup, format json correctly, mark baseConfig as required by transact (will fail otherwise), add error return type schemas, remove invoke-contract endpoint that was not implemented. Closes 2077 Signed-off-by: Michal Bajer <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,069 additions
and
146 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
Oops, something went wrong.