Go to file
renchengchang a2a4950f09
Update README.md
2019-08-09 17:27:02 +08:00
src/bin Add the output of the randomness beacon, courtesy of Jason Davies. 2018-08-04 13:12:19 -06:00
.gitignore Initial commit 2018-04-08 17:30:38 -06:00
COPYRIGHT Initial commit 2018-04-08 17:30:38 -06:00
Cargo.lock Add implementation of random beacon for phase 2 of Sapling MPC. 2018-08-02 01:23:30 -06:00
Cargo.toml Add implementation of random beacon for phase 2 of Sapling MPC. 2018-08-02 01:23:30 -06:00
LICENSE-APACHE Initial commit 2018-04-08 17:30:38 -06:00
LICENSE-MIT Initial commit 2018-04-08 17:30:38 -06:00
README.md Update README.md 2019-08-09 17:27:02 +08:00

README.md

sapling-mpc

This document can be used to participate Multi-party Computation(MPC) phase 2 and verify the result.

What should I do?

  1. Send a mail to jiangyuanshu@tron.network to apply to participate MPC. You should introduce yourself in email.

  2. Tron will send you a email to show your turn and time to participate MPC.

  3. When it is your turn, tron will send your a email to notice you and give you a params file link which you need to download.

  4. Download the params file.

  5. Download and install IM tool keybase, if you don't have an account, create it first and add tron' account to your friends. Tron's account is tron_brown.

  6. Download Rustup and install Rust, run the following in your terminal, then follow the on-screen instructions if you are running on macOS / Linux / another Unix-like OS:

# curl https://sh.rustup.rs -sSf | sh

If you are running on windows, refer to rust homepage for installation.

  1. Get the source code of project sapling-mpc:
# git clone https://github.com/tronprotocol/sapling-mpc

if git has not been installed on your computer, please refer to git first.

  1. Put params file in the sapling-mpc directory, then run:
# cargo run --release --bin compute

When it finish, you will get a new_params file and hash.

Notice: this process could take one to four hours according to your hardware, occupies 1.5 ~ 2GB of memory.

  1. Send your result to Tron. Send the file new_params by keybase and send hash and your system configuration by email and system configuration should coutain os version, cpu model

Dependency

We reuse the phase 2 result of zcash https://storage.googleapis.com/sapling-mpc/params as the first params of our ceremony. At the end of ceremony, we generate the random beacon by using one Bitcoin block's hash as the seed of pseudo random number generator, the block's height will not be determined until last participant completes.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.