Add Ruby lib for interacting with Kredits contracts #7
Open
opened 2020-11-22 12:31:22 +00:00 by raucao
·
2 comments
No Branch/Tag Specified
master
feature/nostr-onboarding-ruby
live
chore/btcpay_expired_paid-late
feature/nostr-onboarding
feature/import_deno_modules
docs/integrations
feature/ldap_aci
feature/contribution_nav
v0.11.1
v0.11.0
v0.10.0
v0.9.0
v0.8.1
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.0
Labels
Clear labels
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
integration
btcpay
integration
discourse
integration
ejabberd
integration
email
integration
ldap
integration
lndhub
integration
mastodon
integration
nostr
integration
remotestorage
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
Milestone
No items
No Milestone
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/akkounts#7
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 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.
https://q9f.github.io/eth.rb/ actually looks pretty great, and seems to be actively maintained.
(/ht @bumi)