I am planning to make a decentralized voting application. The addresses of eligible voters should be uploaded on IPFS for anyone to access.
This file on IPFS will be used in the contract to make sure that only eligible voters can vote.
The aim of this project is to use IPFS as a tool for verifying the eligible voters.
One way I can think of, is to put the addresses of eligible voters in a text file and upload on IPFS, but I'm not sure if that is possible and if it is, I would like to know how to read the data from the text file to get all the addresses.
So I'd like to know if there is any other way that the list of eligible addresses can be stored and retrieved easily in the smart contract(using IPFS).
I have never worked with IPFS so any help or tips would be appreciated!
I will use solidity to make the smart contract, and python with brownie to deploy and use it.