Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike: Payment channel authorization grants #36

Open
branimirangelov opened this issue Jul 21, 2024 · 0 comments
Open

Spike: Payment channel authorization grants #36

branimirangelov opened this issue Jul 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@branimirangelov
Copy link
Contributor

Within the current PoC, implement extension on the Base Protocol layer to enable the creation of payment channels under another payment channel on user (client) behalf. The authorization should be stored in the Payment.sol and there should be ways for creating / destroying delegated channels (upon authorization pre-check). The exchange of the authorization grants between kubernetes and smart contract layer is in extending / using the mechanisms around getOrCreateToken in interceptors.go.

Important constraints:

  1. The payment channel should be always between the user (client) and hardware provider (not brokege).

References:

  1. Payment.sol: https://github.com/comrade-coop/apocryph/blob/master/contracts/src/Payment.sol
  2. getOrCreateToken (in interceptors.go): https://github.com/comrade-coop/apocryph/blob/master/pkg/proto/protoconnect/interceptors.go

Note: This spike is part of the Autoscaler autonomous application effort.

@branimirangelov branimirangelov added the enhancement New feature or request label Jul 21, 2024
revoltez added a commit that referenced this issue Aug 19, 2024
Spike: Payment channel authorization grants #36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants