Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

feat(dApp): Added Git identity binding during member registration.#224

Open
theobiabo wants to merge 14 commits into
tupui:mainfrom
theobiabo:feature/git_identity_binding
Open

feat(dApp): Added Git identity binding during member registration.#224
theobiabo wants to merge 14 commits into
tupui:mainfrom
theobiabo:feature/git_identity_binding

Conversation

@theobiabo

@theobiabo theobiabo commented Jul 14, 2025

Copy link
Copy Markdown

Adds SEP-53 compliant Git identity linking during registration. Supports GitHub/GitLab with Ed25519 signature verification.

  • Optional provider:username input
  • Auto-fetch public keys from Git providers
  • SEP-53 envelope with network validation
  • Signature verification using @noble/ed25519
  • Step-by-step UI flow with skip option

This PR fixed the issue on #217

@netlify

netlify Bot commented Jul 14, 2025

Copy link
Copy Markdown

Deploy Preview for staging-tansu ready!

Name Link
🔨 Latest commit 7cce6c1
🔍 Latest deploy log https://app.netlify.com/projects/staging-tansu/deploys/68eb27be777b1900086dfa93
😎 Deploy Preview https://deploy-preview-224--staging-tansu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 69
Accessibility: 89
Best Practices: 83
SEO: 92
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 14, 2025

Copy link
Copy Markdown

Deploy Preview for tansu canceled.

Name Link
🔨 Latest commit 0d0ca64
🔍 Latest deploy log https://app.netlify.com/projects/tansu/deploys/687533329b64c00008b0d26b

@tupui tupui left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start thanks! A few comments.

Comment thread dapp/src/components/page/dashboard/MemberProfileModal.tsx Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I am not sure we need all that to be in the contract itself vs the meta file-if even needed. I would keep the handle and key only. And in meta nothing. What do you think?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry i don't get you clearly

you mean i should remove this git_identity?: string; git_pubkey?: Buffer; msg?: string; sig?: Buffer; signed_at?: u64;

?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we just need the identity and key to be stored in the contract. When I will call the smart contract function add_member I will pass everything though as to validate on-chain the data.

@tupui tupui linked an issue Sep 25, 2025 that may be closed by this pull request
@tupui

tupui commented Sep 30, 2025

Copy link
Copy Markdown
Owner

@yhoungdev are you still working on this?

@theobiabo

Copy link
Copy Markdown
Author

Yes i am @tupui

@theobiabo

Copy link
Copy Markdown
Author

would resolve the conflict in a little while

@netlify

netlify Bot commented Oct 3, 2025

Copy link
Copy Markdown

Deploy Preview for tansu canceled.

Name Link
🔨 Latest commit 7cce6c1
🔍 Latest deploy log https://app.netlify.com/projects/tansu/deploys/68eb27be8967570008f6c440

@tupui

tupui commented Oct 3, 2025

Copy link
Copy Markdown
Owner

Is this ready for another review? Or you still need to update to integrate what I had said here and in our chat?

@tupui

tupui commented Oct 3, 2025

Copy link
Copy Markdown
Owner

@yhoungdev let me know.

@theobiabo

Copy link
Copy Markdown
Author

It is still a wip in my branch.

@theobiabo

Copy link
Copy Markdown
Author

@yhoungdev are you still working on this?

You can check again

@tupui

tupui commented Oct 5, 2025

Copy link
Copy Markdown
Owner

@yhoungdev please test first yourself the deployment https://deploy-preview-224--staging-tansu.netlify.app/

@theobiabo

Copy link
Copy Markdown
Author

Ok

@theobiabo

Copy link
Copy Markdown
Author

@tupui from your test how was it so far?

@tupui

tupui commented Oct 5, 2025

Copy link
Copy Markdown
Owner

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

@theobiabo

Copy link
Copy Markdown
Author

ok, but the Irony here is that Netlify is building fine 😅

@theobiabo

Copy link
Copy Markdown
Author

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

Ok, i will fix this.

@tupui

tupui commented Oct 9, 2025

Copy link
Copy Markdown
Owner

Any updates? Just so you know. OnlyDust is soon ending all their programs. If you don't finish very soon, I won't be able to give you anything with their platform.

@theobiabo

Copy link
Copy Markdown
Author

Yess i have an update.

@theobiabo

Copy link
Copy Markdown
Author

Conflict has been resolved.

@theobiabo

Copy link
Copy Markdown
Author

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

Ok, i will fix this.

This has been fixed, please check and confirm.

@theobiabo

Copy link
Copy Markdown
Author

Let me know if there are any other issues/errors.

@theobiabo

Copy link
Copy Markdown
Author

Can i see error logs? if there is any.

@tupui

tupui commented Oct 10, 2025

Copy link
Copy Markdown
Owner

You can see the logs on Netlify yes. Just look at the links for the CI.

Otherwise did you test it with the deployment now? Can you share screenshots of the tests?

@theobiabo

Copy link
Copy Markdown
Author

https://deploy-preview-224--staging-tansu.netlify.app/

Screenshot 2025-10-10 at 05 06 58

After "link Git handle" button has been clicked
Screenshot 2025-10-10 at 05 07 12

@theobiabo

Copy link
Copy Markdown
Author

I just pushed a fix for it @tupui

for the now i am using an external proxy server with the Github endpoint

So technically it will be like this
https://corsproxy.io/?${encodeURIComponent(originalUrl)}

Now you can now make requests to fetch pkeys safely, let me know if there are any issues.

Image Image

@tupui

tupui commented Oct 16, 2025

Copy link
Copy Markdown
Owner

@yhoungdev I am trying to test but got some issues

Screenshot 2025-10-16 at 17 08 31 Screenshot 2025-10-16 at 17 08 51

Also for the command to type, this is not portable. I think we don't need the /dev/stdin since it's a pipe and use the last command's output as an input.

@theobiabo

Copy link
Copy Markdown
Author

Ok, no problem, i will look into that fix @tupui

@tupui

tupui commented Nov 30, 2025

Copy link
Copy Markdown
Owner

@yhoungdev are you still interested in finishing this one?

@theobiabo

Copy link
Copy Markdown
Author

Yes Roy, i would attend to the error in some hours.

@theobiabo

Copy link
Copy Markdown
Author

Looking into the conflict.

@netlify

netlify Bot commented Jan 19, 2026

Copy link
Copy Markdown

👷 Deploy request for tansu pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 09f5409

@netlify

netlify Bot commented Jan 19, 2026

Copy link
Copy Markdown

Deploy Preview for staging-tansu ready!

Name Link
🔨 Latest commit 09f5409
🔍 Latest deploy log https://app.netlify.com/projects/staging-tansu/deploys/6970fcb4e1e51300089e87f1
😎 Deploy Preview https://deploy-preview-224--staging-tansu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 56
Accessibility: 85
Best Practices: 83
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@theobiabo

Copy link
Copy Markdown
Author

Hello @tupui please can you check it out now?

@theobiabo

theobiabo commented Jan 19, 2026

Copy link
Copy Markdown
Author

PROOF OF WORK FROM LIVE URL

1).

Screenshot 2026-01-19 at 13 12 11

2).
Screenshot 2026-01-19 at 13 12 56

3). Testing envelop signature.
I noticed undefined is being appended to the key

NB: I am currently checking the issue.

@theobiabo

Copy link
Copy Markdown
Author

Update

Bug: Fixed SEP-53 Envelope to sign token showing undefined (due to its no seeing Contract ID)

Previous

Stellar Signed Message
Test SDF Network ; September 2015
GBCHKZFGQKLO3FFOKYQXUNWYZUAINFI7IDJVG7343Y3O6RWVKSXNGHFI
32866da2e12e386ec91cf9f5ee7c06a3
tansu-bind|undefined|github:yhoungdev

Fixed (Current)

Stellar Signed Message
Test SDF Network ; September 2015
GBCHKZFGQKLO3FFOKYQXUNWYZUAINFI7IDJVG7343Y3O6RWVKSXNGHFI
32866da2e12e386ec91cf9f5ee7c06a3
tansu-bind|CDEF4XBUFRFXAXX2BVEWJYXVJSOE2S5FZTUYY7II2RNUELFFE4CLUFFJ|github:yhoungdev

Screenshot 2026-01-19 at 19 53 08

Signing Envelope with Git key
Screenshot 2026-01-19 at 19 57 56

@tupui

tupui commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Alright, I will have to say last ping 😅 This has been delayed for way too long now and I am losing my hairs with all the new PRs trying to do this over and over again. At that point I should just yolo it myself. So I will give you 2 weeks if you want to finish. You have other PRs to also look at with tons of comments etc. I will only consider reviewing if it fully works and after seeing some videos of it. Yep that means you need to deploy your own contract locally and test locally end to end. Otherwise that's not helping me at all to be honest if I have to do all that myself. Hopefully you understand my position.

@theobiabo

Copy link
Copy Markdown
Author

Yes i do @tupui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Git identity binding during member registration

2 participants