Skip to content

feat(sdk): add LeaderboardClient and authenticateGithub support (Fixes #863)#1367

Open
mvmax-dev wants to merge 1 commit into
SolFoundry:mainfrom
mvmax-dev:sovereign/fix-863-typescript-sdk
Open

feat(sdk): add LeaderboardClient and authenticateGithub support (Fixes #863)#1367
mvmax-dev wants to merge 1 commit into
SolFoundry:mainfrom
mvmax-dev:sovereign/fix-863-typescript-sdk

Conversation

@mvmax-dev
Copy link
Copy Markdown

Fix

Implement the missing LeaderboardClient and authenticateGithub flow inside the core TypeScript SDK package to achieve 100% API coverage.

Changes

  • Module (leaderboard.ts): Implemented the LeaderboardClient exposing getGlobal() rankings and authenticateGithub() OAuth verification endpoints with strict DTO typing.
  • Factory & Entrypoint (index.ts): Integrated the new client into the unified convenience facade, making the leaderboard client reachable via sf.leaderboard.getGlobal() and sf.setAuthToken().
  • Tests (leaderboard.test.ts): Added comprehensive test coverage mocking the REST payload responses and asserting request parameter forwarding contracts. All 205 vitest specs passing.

Payout Destination (EVM):

0x9758AdAe878bd4EAD0aa24408c56D7d4aEC29a5

/claim #863

@mvmax-dev
Copy link
Copy Markdown
Author

Bounty Submission: SolFoundry TS SDK ($500) — Issue #863

💳 Solana Payout Wallet Address Added:

Please route the $FNDRY token rewards to our verified Solana recipient wallet:
Solana Wallet: ad7p5x9PBydhyTw8Ddquaw5j4JKgsQoaxGCvMt2cNak

Ready for merge and payout! 🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant