信任设置

信任设置

  • 1,安装环境
  • 2,设置免密钥
  • 3,GPG密钥

1,安装环境

  • 依赖安装gcc
apt install golang-go gcc git bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev -y
  • 安装Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • 打开一个新终端,查看版本信息
# rustc --version
rustc 1.39.0 (4560ea788 2019-11-04)
# which rustc
/root/.cargo/bin/rustc
# cargo --version
cargo 1.39.0 (1c6ec66d5 2019-09-30)
  • 下载编译所需要的源
# git clone https://github.com/arielgabizon/powersoftau
# cd powersoftau/
# cargo build --release
    Updating git repository `https://github.com/matterinc/bellman`
       Fetch [==>                                                    ]   5.49%
	Compiling serde_derive v1.0.88
   Compiling serde_json v1.0.38
   Compiling ff_derive v0.4.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9)
   Compiling ff v0.5.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9)
   Compiling pairing v0.16.2 (https://github.com/matterinc/pairing?tag=0.16.2#c2af46ca)
   Compiling bellman v0.2.0 (https://github.com/matterinc/bellman?tag=0.2.0#6e45a4b2)
   Compiling powersoftau v0.2.0 (/root/powersoftau)
    Finished release [optimized] target(s) in 1m 13s

2,设置免密钥

# ls -la ~/.ssh
# ssh-keygen -t rsa -C "邮箱地址"
# cat /root/.ssh/id_rsa.pub

3,GPG密钥

# gpg --full-generate-key

参考:

  1. perpetualpowersoftau
  2. 安装 Rust
  3. SSH Public Key
  4. Powers of Tau Pre-Registration
  5. GPG密钥

你可能感兴趣的:(IPFS)