{"repo":"shutter-network/shutter","free":true,"listed":false,"github":"https://github.com/shutter-network/shutter","clone":"git clone https://github.com/shutter-network/shutter.git","description":"Prevent frontrunning and malicious MEV on Ethereum by using a threshold cryptography-based distributed key generation (DKG) protocol.","language":"Go","stars":69,"topics":["ethereum"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Shutter [!IMPORTANT] This is a legacy implementation . For the current version of Shutter, see Rolling Shutter. This repository contains Shutter, a threshold encryption based frontrunning protection system for Ethereum smart contracts. The code is split into three directories: - contracts/ : the contracts to be deployed on mainnet, written in Solidity and tested in Python with eth-brownie - shuttermint/ : the main application code written in Go, in particular the Shuttermint and Keyper implementation - example/ : a little example dapp user interface To see it in action, check out the example application hosted here. Setup a Full Testing Environment The following steps will setup a local testing environment consisting of an Ethereum dev chain, a single Shuttermint node, and an arbitrary number of keyper nodes. The commands referenced can be found in shuttermint/bin after make build has been run in the shuttermint/ directory. 1) Start the Ethereum Dev Chain There are many options, but we suggest using either Geth or Ganache with a block time of 3s. Make sure that the JSON RPC interface is enabled and accessible via websockets and that you know the private key of at least one funded account. In the rest of the guide, we'll assume the JSON RPC URL is ws://localhost:8545 and the private key is b0057716d5917badaf911b193b12b910811c1497b5bada8d7711f758981c3773 . If Ganache is used, the following command replicates these settings: 2) Build Shutter and deploy the Shutter Contracts: If ","default_branch":null,"files":null,"tree":[],"storefront":"/r/shutter-network","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shutter-network/shutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}