agoric-labs / gimix

hackathon project to make a market for completing GitHub issues.
5 stars 0 forks source link

send payment to github user / register namehub #17

Open dckc opened 11 months ago

dckc commented 11 months ago

Another refactoring idea: "send payment to github user" contract and front-end, leaning on the NameHub api: what you do with your github login is to claim a payment. Or more generally: E(githubNames).update(username, E(namesByAddress).lookup(givenAddress)).

And until you register, the contract holds payments in escrow.

The same pattern should work to integrate other naming systems as on-chain namehubs: discord, keybase, email, fediverse, twitter, ...

not to mention spritely petnames, which is where my brain was when I came up with this. Here's hoping for time to explore interop with OCapN and embedding Jessie in scheme.

cc @samsiegart @michaelfig @cwebber @kriskowal @kbennett2000 @iomekam

dckc commented 11 months ago

re spritely...

dckc commented 11 months ago

broke ground: socialHub.js

test is in test-gimix.js

cc @kbennett2000

dckc commented 11 months ago

idea:

dckc commented 11 months ago

progress: a246b54 feat!: integrate gimix with postalSvc

https://github.com/Agoric/agoric-sdk/tree/dc-postalSvc