status-go/sign
Igor Mandrigin a9eb5a7d2b Generalize signing requests.
We need to be able to sign more than just transactions to make DApps
work properly. This change separates signing requests from the
transactions and make it more general to prepare to intoduce different
types of signing requests.

This change is designed to preserve status APIs, so it is
backward-comparible with the current API bindings.
2018-04-09 20:48:00 +02:00
..
README.md Generalize signing requests. 2018-04-09 20:48:00 +02:00
errors.go Generalize signing requests. 2018-04-09 20:48:00 +02:00
notifications.go Generalize signing requests. 2018-04-09 20:48:00 +02:00
pending_requests.go Generalize signing requests. 2018-04-09 20:48:00 +02:00
pending_requests_test.go Generalize signing requests. 2018-04-09 20:48:00 +02:00
request.go Generalize signing requests. 2018-04-09 20:48:00 +02:00
result.go Generalize signing requests. 2018-04-09 20:48:00 +02:00

README.md

sign

sign package represents the API and signals for sending and receiving signature request to and from our API user.

When a method is called that requires an additional signature confirmation from a user (like, a transaction), it gets it's sign request.

Client of the API is then nofified of the sign request.

Client has a chance to approve the sign request (by providing a valid password) or to discard it. When the request is approved, the locked functinality is executed.