trusted-setup-server/pages/instructions.vue

54 lines
1.6 KiB
Vue
Raw Normal View History

2020-02-29 16:27:01 +01:00
<template>
<div class="ceremony">
<h1 class="title is-size-1 is-size-2-mobile is-spaced">
Instructions
</h1>
<h2 class="subtitle">
2020-03-02 09:17:36 +01:00
Using pure Rust implementation:
2020-02-29 16:27:01 +01:00
</h2>
<figure class="highlight">
<pre v-highlightjs><code class="bash"># Install rust
curl -sSf https://sh.rustup.rs | sh
# Clone the repository with ceremony code
git clone -b ceremony https://github.com/tornadocash/phase2-bn254
cd phase2-bn254/phase2
# Run the ceremony
cargo run --release --bin tornado</code></pre>
</figure>
<h2 class="subtitle">
2020-03-02 09:17:36 +01:00
Using Docker container:
2020-02-29 16:27:01 +01:00
</h2>
<div class="content p">
<p>
Using this method you will download and compile ceremony source code from our git repo in a
stock Rust container. This is not a prebuilt container distribution.
</p>
<p>
First you need to install the docker on your system:
2020-03-02 09:17:36 +01:00
<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>
2020-02-29 16:27:01 +01:00
</p>
</div>
<figure class="highlight">
<pre v-highlightjs><code class="bash"># Download dockerfile
wget https://raw.githubusercontent.com/tornadocash/phase2-bn254/ceremony/Dockerfile
# Build docker image
docker build . -t ceremony
# Run the ceremony
docker run -ti ceremony</code></pre>
</figure>
</div>
</template>