-
Notifications
You must be signed in to change notification settings - Fork 649
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
[WIP] Feature/api login - requesting feedback #1880
base: develop
Are you sure you want to change the base?
Conversation
3caf697
to
8fdcd8f
Compare
8fdcd8f
to
d36e6a4
Compare
f4b80c6
to
dd09f81
Compare
@manikey123 please have a look into this PR. You should find it relevant to prior conversations with @xeroc |
I didn't get why it need a
|
We are also working to add the login possibility of having a withdrawal permission set to the node operators account. Use case implicit. |
The motivation here was to reduce number of round trips for communication. Also, you made a great comment on the other issue. Let me quote:
I think this makes sense. We could (later) add other authentication schemes to the login-api (such as Would it make sense (if it even works) to extract that code into a plugin and add sqlite support for that plugin specifically? The plugin would either extend or overwrite the login api and allow authentication via sqlite schema, or other means - like SASL as you proposed in the other thread? |
This sounds like payment channels would be a better solution. |
Where do you see the downside of using recurring payments, and where do you see benefits in using a payment channel? |
A payment channel is better for a series of off-chain micropayments, e. g. pay-per-minute or maybe even pay-per-API-call. |
We were thinking a monthly subscription fee. |
(paging @Dimfred)
This feature enables to "login" to the RPC endpoint by using a signed transaction containing a transfer operation.
The reason is that we would like to offer a way to provide a premium endpoint to users iff
the fulfill certain conditions, such as:
This is work in progress, but feedback is very welcome.
Please, could someone page Crypto Clara as I had an extended discussion about this feature with her in Shanghai