Semaphores, IPFS and Smart Contracts
I am migrating my cipher challenges onto IPFS and into a smart contract. I have now migrated my semaphore challenge into Ethereum [here]:
For this, let’s store the graphics in IPFS:
For ‘a’ the graphic is stored here:
https://ipfs.io/ipfs/QmStHMPpKeXZWn6ouve4e9j9YAK187WxQWuYPNSjkdyBQh?filename=s_a.gif
The code can then be added with:
With this, we have an array of strings (words) and which is selected for the cipher process. Next, we select each letter at a time, and replace it with the IPFS file location: