ethglobal / ethsanfrancisco-bounties

9 stars 6 forks source link

NuCypher: $2500 for the most interesting project built utilizing any NuCypher technology, including proxy re-encryption or nuFHE #10

Open Carusosa opened 6 years ago

Carusosa commented 6 years ago

Hackathon guidelines

Possible tasks

Still, the best is to work on something which you think is the best to work on. Be it decentralized e2e encrypted group chat, or an app to share your medical data, or maybe something we cannot even think of yet!

Useful links

Community Links:

Where to start

First of all, go to the mock-net repository and take your time to follow umbral-demo.py. Follow the installation instructions in the repository README.

If you want to build with "real" nucypher network, do the following:

git clone https://github.com/nucypher/nucypher.git  # clone NuCypher repository
cd nucypher
git checkout federated  # We need a federated branch which isn't using blockchain
pipenv install --dev --three --skip-lock
pipenv shell
pip3 install -e .
# ok, now you have nucypher installed in virtual environment

# prepare to run several nodes locally
cd examples
mkdir examples-runtime-cruft
# run the following in several terminals
python3 run_ursula_with_rest_and_dht_but_no_mining.py 3500  # <- seed node
python3 run_ursula_with_rest_and_dht_but_no_mining.py 3501 3500
python3 run_ursula_with_rest_and_dht_but_no_mining.py 3502 3500

# now get some text to re-encrypt and run the demo
wget https://www.gutenberg.org/files/2701/old/moby10b.txt
python3 finnegans-wake-federated.py moby10b.txt 3501

The mock-net repository also has a toy version of "network" which is just an object you interact with instead of the real network