trusted-setup-server/instructions/index.html

17 lines
318 KiB
HTML
Raw Normal View History

2020-05-14 06:03:36 +02:00
<!doctype html><html data-n-head-ssr><head><title>Tornado.cash Trusted Setup Ceremony</title><meta data-n-head="ssr" charset="utf-8"><meta data-n-head="ssr" name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta data-n-head="ssr" name="theme-color" content="#000403"><meta data-n-head="ssr" data-hid="description" name="description" content="Non-custodial Ethereum Privacy solution."><meta data-n-head="ssr" data-hid="og:title" property="og:title" content="Tornado.cash Trusted Setup Ceremony"><meta data-n-head="ssr" data-hid="og:description" property="og:description" content="Improve security of tornado.cash by contributing to Trusted Setup Ceremony. Let's make it fully trustless!"><meta data-n-head="ssr" data-hid="og:url" property="og:url" content="https://ceremony.tornado.cash"><meta data-n-head="ssr" data-hid="og:type" property="og:type" content="website"><meta data-n-head="ssr" data-hid="og:image" property="og:image" content="https://tornado.cash/tw.png"><meta data-n-head="ssr" data-hid="keywords" name="keywords" content="Mixer, Ethereum, ERC20, dapp, smart contract, decentralized, metamask, zksnark, zero knowledge"><link data-n-head="ssr" rel="manifest" href="manifest.json"><link data-n-head="ssr" rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico"><link data-n-head="ssr" rel="apple-touch-icon" href="/favicon/apple-touch-icon.png"><link data-n-head="ssr" rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Mono&display=swap"><link rel="preload" href="/_nuxt/20d76032401e3fa2e72f.js" as="script"><link rel="preload" href="/_nuxt/06dda4af2e90def45959.js" as="script"><link rel="preload" href="/_nuxt/91e889e660ff9dccb0fe.js" as="script"><link rel="preload" href="/_nuxt/d4449bdd4b70ccf0b46d.js" as="script"><link rel="preload" href="/_nuxt/3d3d8dca0e4234e04c65.js" as="script"><style data-vue-ssr-id="be361e24:0 3191d5ad:0">@-webkit-keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.b-checkbox.checkbox,.b-radio.radio,.breadcrumb,.button,.carousel,.carousel-list,.delete,.file,.is-unselectable,.modal-close,.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous,.switch,.tabs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navbar-link:not(.is-arrowless):after,.select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.block:not(:last-child),.box:not(:last-child),.breadcrumb:not(:last-child),.content:not(:last-child),.highlight:not(:last-child),.level:not(:last-child),.list:not(:last-child),.message:not(:last-child),.notification:not(:last-child),.progress:not(:last-child),.subtitle:not(:last-child),.table-container:not(:last-child),.table:not(:last-child),.tabs:not(:last-child),.title:not(:last-child){margin-bottom:2rem}.delete,.modal-close{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(44,69,56,.2);border:none;border-radius:290486px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:0;position:relative;vertical-align:top;width:20px}.delete:after,.delete:before,.modal-close:after,.modal-close:before{background-color:#eee;content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.delete:before,.modal-close:before{height:2px;width:50%}.delete:after,.modal-close:after{height:50%;width:2px}.delete:focus,.delete:hover,.modal-close:focus,.modal-close:hover{background-color:rgba(44,69,56,.3)}.delete:active,.modal-close:active{background-color:rgba(44,69,56,.4)}.is-small.delete,.is-small.modal-close{height:16px;max-height:16px;max-width:16px;mi
curl -sSf https://sh.rustup.rs | sh
# Clone the repository with the ceremony code
git clone https://github.com/tornadocash/phase2-bn254
cd phase2-bn254/phase2
# Run the ceremony
cargo run --release --bin tornado
</code></pre></figure><div class="content afterwords p"><p>After the contribution, we recommend you to reboot your machine to clear your RAM.</p></div><h2 class="subtitle">Using Docker container:</h2><div class="content p"><p>Using this method, you will download and compile the ceremony source code from our git repo in a stock Rust container. This is not a prebuilt container distribution.</p><p>Start by installing Docker on your system: <a href="https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe" target="_blank">Windows</a> <a href="https://download.docker.com/mac/stable/Docker.dmg" target="_blank">Mac</a> <a href="https://docs.docker.com/install/#supported-platforms" target="_blank">Linux</a></p></div><figure class="highlight"><pre><code class="bash"># Download Dockerfile
wget https://raw.githubusercontent.com/tornadocash/phase2-bn254/master/Dockerfile
# Build docker image
docker build . -t ceremony
# Run the ceremony
docker run -ti ceremony</code></pre></figure><div class="content afterwords p"><p>After the contribution, we recommend you to reboot your machine to clear your RAM.</p></div></div></div></section></div></div></div><script>window.__NUXT__=function(n){return{layout:"default",data:[{}],fetch:[],error:n,state:{user:{name:n,handle:"Anonymous",company:"",contributionType:n,contributionIndex:n}},serverRendered:!0,routePath:"/instructions"}}(null)</script><script src="/_nuxt/20d76032401e3fa2e72f.js" defer></script><script src="/_nuxt/3d3d8dca0e4234e04c65.js" defer></script><script src="/_nuxt/06dda4af2e90def45959.js" defer></script><script src="/_nuxt/91e889e660ff9dccb0fe.js" defer></script><script src="/_nuxt/d4449bdd4b70ccf0b46d.js" defer></script></body></html>