Skip to content

feat: add oracle verification badge#119

Open
newmattock wants to merge 2 commits into
Invoice-Liquidity-Network:mainfrom
newmattock:feat/oracle-verified-badge
Open

feat: add oracle verification badge#119
newmattock wants to merge 2 commits into
Invoice-Liquidity-Network:mainfrom
newmattock:feat/oracle-verified-badge

Conversation

@newmattock
Copy link
Copy Markdown

Summary

  • Add an env-gated VerificationBadge for oracle-verified and unverified payer addresses.
  • Reuse payer identity rendering in LP discovery/watchlist surfaces and add the badge to profile headers.
  • Add focused rendering and oracle flag/address parsing tests.
  • Keep the branch compatible with current main build/lint constraints encountered while validating.

Fixes #48

Validation

  • npm run build
  • npm test -- src/components/__tests__/VerificationBadge.test.tsx src/utils/__tests__/oracleVerification.test.ts --pool forks --maxWorkers 1 --reporter verbose
  • npm run lint -- src/components/VerificationBadge.tsx src/components/PayerIdentity.tsx src/components/__tests__/VerificationBadge.test.tsx src/utils/oracleVerification.ts src/utils/__tests__/oracleVerification.test.ts 'app/profile/[address]/page.tsx' src/components/LPDashboard.tsx app/governance/page.tsx src/components/TokenSelector.tsx src/utils/federation.ts
  • git diff --check
  • curl -I http://127.0.0.1:3034/profile/GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF
  • curl -I http://127.0.0.1:3034/lp

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Verify this address" badge for oracle-verified payers

1 participant