DEV Community

0 seconds of 56 minutes, 5 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
56:05
 
Matt Hamilton
Matt Hamilton

Posted on • Edited on

2 1

PayID Hackathon live coding - Monetizing Github Commits

Earlier this week I had the pleasure of having a colleague of mine, Si Metson, on my livestream on Twitch.

A 1080p version of this video can be found here on Cinnamon

We are doing part II tomorrow (Friday 4th July), come join us!

We had been brainstorming ideas for what to do for the PayID hackathon that we wanted to take part in.

We came up with an idea of allowing Github Commits to be monetized by creating a webhook that could parse the commit messages and look for PayIDs and then make an automatic payment to that PayID based on some pluggable policy.

Ideas:

  • Pay simply per commit a fixed amount
  • Run code coverage tests and pay if code coverage is increased
  • Run some static code analysis or quality analysis, pay if that exceeds a certain threshold
  • Pay per line deleted (Mia, you reading this? ;) )

Anyway, in the live session above, we got some basics of a serverless IBM Cloud Function being used as a Github hook, now we just need to plug in the PayID bit. We will be using the Xpring SDK to pay out in XRP as that is the fastest and easiest cryptocurrency to integrate, but it will be pluggable to handle any other addresses in the PayID (e.g. Bitcoin, Ethereum).

Once we have completed part II tomorrow, I'll do a more detailed write-up of exactly what we did in the session.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay