Payment API: Implement payer signing keys associated with an Identity #2818
Closed
stranger80
started this conversation in
Ideas
Replies: 1 comment
-
If I understand correctly the Payment Service is responsible for storing Signer Addresses. General scenario:
This way sole responsibility for managing signer addresses is on Paymen service side. Identity service is not aware of it; nor any other service. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We want to have a ability to detach the "Node Id" (identity) from the "Signer Address" - the key used to sign payment transactions (which is correlated with the wallet from which payments are made).
For an Identity (NodeId) we need to be able to specify Signer Addresses (multiple) with ability to indicate the "current" sender (so when a payment is scheduled via AcceptDebitNote/AcceptInvoice).
The Signer Addresses should be managed via Yagna CLI:
This logic should be embedded in Payment API Implementation, ie for an appKey associated with AcceptInvoice request, the Node Id is determined, and this determines the active signer address to be selected by the Payment Driver for transaction signing. The signer address is passed to Identity API when passing transaction data for signing.
Beta Was this translation helpful? Give feedback.
All reactions