-
Notifications
You must be signed in to change notification settings - Fork 265
feat: add EFP (Ethereum Follow Protocol) integration for wallet #7052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
jrainville
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work! Looks very good.
You'll have to rebase and fix some lint issues I think
|
ah, also commits need to follow conventional commit format, eg |
|
@caveman-eth I have sent you an Github invite for collaborator. Please accept and rebase to trigger the CI 🙂 |
Jenkins BuildsClick to see older builds (17)
|
Introduces Ethereum Follow Protocol (EFP) integration for fetching following addresses and stats. Adds a following manager, EFP client, and related API endpoints, along with tests for both manager and client functionality.
Changed the go:generate directive to explicitly use 'go tool mockgen' instead of just 'mockgen' for generating mocks. This may improve compatibility or clarity in environments where the tool is not globally installed.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #7052 +/- ##
===========================================
- Coverage 59.68% 59.63% -0.05%
===========================================
Files 804 806 +2
Lines 114076 114249 +173
===========================================
+ Hits 68081 68129 +48
- Misses 39066 39159 +93
- Partials 6929 6961 +32
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Great, looks like everything is passing now
I think everything is right now :) |
Adds support for fetching and managing Ethereum Follow Protocol (EFP) followings in the wallet service
Relating to: status-im/status-desktop#18686
and status-desktop PR: status-im/status-desktop#19195
Screenshot:

Complete video demo:
https://streamable.com/3y4s1f
Changes:
New EFP Client (
services/wallet/thirdparty/efp/):/searchFollowingendpointFollowing Manager (
services/wallet/following/):RPC API (
services/wallet/api.go):wallet_GetFollowingAddresses(userAddress, search, limit, offset)- fetch following addresses with optional search and paginationwallet_GetFollowingStats(userAddress)- get total following countTests:
client_test.go- 6 unit tests for HTTP client (pagination, search, stats, error handling)manager_test.go- 5 unit tests for manager (success cases, provider errors, edge cases)API Endpoints Used
GET /users/{address}/following?include=ens&limit={limit}&offset={offset}&sort=latestGET /users/{address}/searchFollowing?include=ens&sort=latest&term={search}GET /users/{address}/stats