celo-org / celo-composer

celo-composer is a starter project with all code needed to build, deploy, and upgrade a dapps on Celo.
MIT License
117 stars 110 forks source link

Add Pinata Integration #167

Closed Ankush263 closed 1 year ago

Ankush263 commented 1 year ago

usecase

We can use the uploadFileToIPFS() function to upload any file (images, gifs, videos) into the Pinata IPFS.

requirements

netlify[bot] commented 1 year ago

Deploy Preview for celo-composer failed.

Name Link
Latest commit 91551b2091226d915e8a1120d89f024283a27230
Latest deploy log https://app.netlify.com/sites/celo-composer/deploys/63a98aa01e07e80008f5a62a
viral-sangani commented 1 year ago

@Ankush263 Hey, thank you so much for the PR. Can you please add some description on how one can use this?

nestorbonilla commented 1 year ago

Hi @Ankush263, thanks for the PR; as @viral-sangani mentioned, please add more description. I think Celo Examples could interest you in this particular case. Closing PR in the meantime.

Ankush263 commented 1 year ago

@nestorbonilla @viral-sangani I add some descriptions as you mention. Let me know if anything else is required..

nestorbonilla commented 1 year ago

Hi @Ankush263, thanks for the update. This suggestion fits better under celo-examples as a complete example, given that there are many IPFS pining services, and Pinata is just one of them. Would you like to create an example on celo-examples?

Ankush263 commented 1 year ago

sure, should I make a PR in celo-composer-react-example repo ...??? @nestorbonilla