trusted-setup-server/pages/instructions.vue

54 lines
1.5 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">
2020-04-29 21:26:36 +02:00
<pre v-highlightjs><code class="bash"># Install Rust
2020-02-29 16:27:01 +01:00
curl -sSf https://sh.rustup.rs | sh
2020-04-29 21:26:36 +02:00
# Clone the repository with the ceremony code
2020-04-28 10:34:04 +02:00
git clone https://github.com/tornadocash/phase2-bn254
2020-02-29 16:27:01 +01:00
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>
2020-04-29 21:26:36 +02:00
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.
2020-02-29 16:27:01 +01:00
</p>
<p>
2020-04-29 21:26:36 +02:00
Start by installing 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">
2020-04-29 21:26:36 +02:00
<pre v-highlightjs><code class="bash"># Download Dockerfile
2020-04-28 10:34:04 +02:00
wget https://raw.githubusercontent.com/tornadocash/phase2-bn254/master/Dockerfile
2020-02-29 16:27:01 +01:00
# Build docker image
docker build . -t ceremony
# Run the ceremony
docker run -ti ceremony</code></pre>
</figure>
</div>
</template>