Skip to content

Conversation

@devJaja
Copy link
Contributor

@devJaja devJaja commented Jun 30, 2025

there is already a a form with two fields for before and after photos, I added the time and date to the form making them required.

Validate that both photos are provided and are valid image files (e.g., JPEG, PNG).

Integrate with Pinata's API to upload photos and retrieve a single ipfs:// URI.

Store metadata (e.g., submission timestamp, user address) with the IPFS upload.

-- Display upload progress and success/error messages.

Return the dataURI for use in the createSubmission function.

@JamesVictor-O JamesVictor-O merged commit e3d7151 into DeCleanup-Network:master Jul 7, 2025
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.

2 participants