conviction-voting-app icon indicating copy to clipboard operation
conviction-voting-app copied to clipboard

Upload proposal description to IPFS

Open sembrestels opened this issue 4 years ago • 2 comments

When a proposal is created, it's description should be uploaded to IPFS and it's hash used to call the addProposal(string _title, bytes _ipfsHash, uint256 _requestedAmount, address _beneficiary) function. It probably should be a JSON with a description and a link.

The description and the link should be retreived on the frontend when needed.

You can check out the P2P Models wiki app to see an example on how this can be achieved.

sembrestels avatar Sep 17 '19 18:09 sembrestels

How do we ensure this content gets pinned? This was a significant pain point when we were working on https://github.com/1hive/airdrop-app at Ethdenver

It looks like with the wiki app the user has to be running ipfs locally, it would be nice if this was not the case as I don't think this is common for most users (even though it would be nice if that were the case 😅).

There seems to also be some work towards smart contract being discussed here that might be relevant: https://forum.aragon.org/t/aragon-network-ipfs-pinning/824

lkngtn avatar Sep 17 '19 19:09 lkngtn

We are working in parallel with the Agora Suite's Wiki and Proposals app. I think it will be interesting to connect Conviction Voting with Agora Suite's Proposals app in order to upload and discuss proposal descriptions.

sembrestels avatar Feb 22 '20 10:02 sembrestels