Skip to content

feat: add Lighthouse IPFS invoice storage integration#88

Open
nehayadav827 wants to merge 1 commit into
seetadev:mainfrom
nehayadav827:feature/ipfs-filecoin-storage
Open

feat: add Lighthouse IPFS invoice storage integration#88
nehayadav827 wants to merge 1 commit into
seetadev:mainfrom
nehayadav827:feature/ipfs-filecoin-storage

Conversation

@nehayadav827
Copy link
Copy Markdown

Description

Implements decentralized invoice storage through Lighthouse/IPFS.

Changes

  • Added src/services/lighthouseService.ts to upload invoice JSON using the Lighthouse REST API.
  • Added a Save to IPFS action to the existing Ionic action sheet in Menu.tsx.
  • Reads Lighthouse API key from VITE_LIGHTHOUSE_API_KEY.
  • Displays the returned CID and Lighthouse gateway URL after successful upload.
  • Added VITE_LIGHTHOUSE_API_KEY to .env.example.
  • Added Vite environment typing for the new environment variable.

Validation

  • npm run build passes successfully.
  • git diff --check passes successfully.
  • Feature wiring validated through grep-based inspection.

Proof

Attached screenshots include:

  1. Scoped diff (git status --short)
image
  1. Successful Vite/build validation using npm run build
Screenshot 2026-05-17 101511
  1. Lighthouse/IPFS integration wiring proof
Screenshot 2026-05-17 103606

Partially addresses #37

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.

1 participant