trusted-setup-server/_nuxt/3d3d8dca0e4234e04c65.js

1 line
2.6 KiB
JavaScript
Raw Permalink Normal View History

2020-05-14 06:03:36 +02:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{375:function(t,e,n){"use strict";n.r(e);var o=n(10),component=Object(o.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ceremony"},[n("h1",{staticClass:"title is-size-1 is-size-2-mobile is-spaced"},[t._v("\n Instructions\n ")]),t._v(" "),n("h2",{staticClass:"subtitle"},[t._v("\n Using pure Rust implementation:\n ")]),t._v(" "),n("figure",{staticClass:"highlight"},[n("pre",{directives:[{name:"highlightjs",rawName:"v-highlightjs"}]},[n("code",{staticClass:"bash"},[t._v("# Install Rust\ncurl -sSf https://sh.rustup.rs | sh\n\n# Clone the repository with the ceremony code\ngit clone https://github.com/tornadocash/phase2-bn254\ncd phase2-bn254/phase2\n\n# Run the ceremony\ncargo run --release --bin tornado\n")])])]),t._v(" "),t._m(0),t._v(" "),n("h2",{staticClass:"subtitle"},[t._v("\n Using Docker container:\n ")]),t._v(" "),t._m(1),t._v(" "),n("figure",{staticClass:"highlight"},[n("pre",{directives:[{name:"highlightjs",rawName:"v-highlightjs"}]},[n("code",{staticClass:"bash"},[t._v("# Download Dockerfile\nwget https://raw.githubusercontent.com/tornadocash/phase2-bn254/master/Dockerfile\n\n# Build docker image\ndocker build . -t ceremony\n\n# Run the ceremony\ndocker run -ti ceremony")])])]),t._v(" "),t._m(2)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"content afterwords p"},[e("p",[this._v("\n After the contribution, we recommend you to reboot your machine to clear your RAM.\n ")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content p"},[n("p",[t._v("\n Using this method, you will download and compile the ceremony source code from our git repo\n in a stock Rust container. This is not a prebuilt container distribution.\n ")]),t._v(" "),n("p",[t._v("\n Start by installing Docker on your system:\n "),n("a",{attrs:{href:"https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe",target:"_blank"}},[t._v("Windows")]),t._v(" "),n("a",{attrs:{href:"https://download.docker.com/mac/stable/Docker.dmg",target:"_blank"}},[t._v("Mac")]),t._v(" "),n("a",{attrs:{href:"https://docs.docker.com/install/#supported-platforms",target:"_blank"}},[t._v("Linux")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"content afterwords p"},[e("p",[this._v("\n After the contribution, we recommend you to reboot your machine to clear your RAM.\n ")])])}],!1,null,null,null);e.default=component.exports}}]);