Add Ruby lib for interacting with Kredits contracts #7

Open
opened 2020-11-22 12:31:22 +00:00 by raucao · 2 comments
Owner

I think it would be great if we could use the hal8000 privkey in akkounts and have Ruby methods available in the code to e.g. propose Kredits.

Based on this, we could implement a lot of things that we had planned, in a rather straight-forward and simple way, and more stable and secure over the long term than the hubot/node codebase.

First thing I was thinking about is a job that aggregates all code reviews from merged Gitea and GitHub PRs over a grant cycle, sums up the kredits, and then proposes combined kredits in single entries for every reviewer.

Another thing we could do with it is linking Kosmos accounts to Kredits profiles for example. The possibilities are endless, of course. Just throwing around some examples.

@bumi WDYT?

I think it would be great if we could use the hal8000 privkey in akkounts and have Ruby methods available in the code to e.g. propose Kredits. Based on this, we could implement a lot of things that we had planned, in a rather straight-forward and simple way, and more stable and secure over the long term than the hubot/node codebase. First thing I was thinking about is a job that aggregates all code reviews from merged Gitea and GitHub PRs over a grant cycle, sums up the kredits, and then proposes combined kredits in single entries for every reviewer. Another thing we could do with it is linking Kosmos accounts to Kredits profiles for example. The possibilities are endless, of course. Just throwing around some examples. @bumi WDYT?
raucao added the
feature
idea
labels 2020-11-22 12:31:22 +00:00
Author
Owner

I forgot another thing which would make a lot of sense: moving external account authentication to akkounts, and perhaps even adding more of it.

I.e. the current GitHub auth in kredits web would be easy to add here using OmniAuth. And anything there's an OmniAuth module for would be easy to add as well.

This would mostly be for updating your contributor profile, and is probably still most useful for GitHub for now.

I forgot another thing which would make a lot of sense: moving external account authentication to akkounts, and perhaps even adding more of it. I.e. the current GitHub auth in kredits web would be easy to add here using OmniAuth. And anything there's an OmniAuth module for would be easy to add as well. This would mostly be for updating your contributor profile, and is probably still most useful for GitHub for now.
Author
Owner

https://q9f.github.io/eth.rb/ actually looks pretty great, and seems to be actively maintained.

(/ht @bumi)

https://q9f.github.io/eth.rb/ actually looks pretty great, and seems to be actively maintained. (/ht @bumi)
Sign in to join this conversation.
No description provided.