Coder Social home page Coder Social logo

f3-prover's Introduction

F3-Prover - [ ๐Ÿ”ฅ The Fastest Aleo Prover ๐ŸŽ‰ ]

The F3 means the Free Fucking Fast, f3-prover is a solo mode prover for aleo testnet proving, it will lead you into the super experience.

๐Ÿ† Reference Benchmark Results

CPU GPU Result
AMD 7T83 * 2 RTX 3080 * 1 6310 P/s +
AMD 7542 * 2 RTX 3080 * 1 4185 P/s +
AMD 7302 * 2 RTX 3080 * 1 2210 P/s +
AMD 7502 * 2 RTX 3090 * 1 1740 P/s +
AMD 7402 * 1 RTX 2080T* 1 1518 P/s +
E5-2860 V4 * 1 RTX 4090 * 1 770 P/s +
AMD 7502 * 2 - 520 P/s +

โœจ Architecture Overview

Overview

To clear why f3-pool is here, because of f3-pool is the blockchain node here, which is responsible for the communication with the Aleo network.

โ™ฆ๏ธ How to work?

The f3-prover needs work together with f3-pool, you can do as following step by step. All these steps must be done in linux environment.

๐Ÿ“— Step-1. Pool Setup

Recommend a single server for the pool service, and enable the ports 4040 and 5050.

  1. Download Pool Package
mkdir aleo && cd aleo

# Download tls tool
wget https://github.com/minio/certgen/releases/download/v1.2.1/certgen-linux-amd64
chmod +x certgen-linux-amd64

# Generate tls certification, and please replace '10.10.1.211' with your server ip address
./certgen-linux-amd64 -host "127.0.0.1,localhost,10.10.1.211"

wget https://github.com/leifree317/f3-prover/releases/download/latest/f3-pool
chmod +x f3-pool
  1. Startup
ulimit -n 1048576 && nohup ./f3-pool start --address <YOUR_BENEFIT_ADDRESS> --network 1 --prover --nodisplay --verbosity=2 >> pool.log 2>&1 &

N.B. Please replace <YOUR_BENEFIT_ADDRESS> with your true aleo wallet address, and remember your server IP for prover configuration.

  1. Logging
tail -f ./pool.log

pool log

To check the pool connected aleo network succeeded, you need make sure the output log as Puzzle (Block 48888, Coinbase Target 536870911, Proof Target 134217728), then it says you are working on the right road, enjoy yourself!

  1. To check your solo pool production:
http://<POOL_IP>:3030/testnet/peers/speed/<All Speed Token>

You can get your <All Speed Token> from the starting of your pool.log.

๐Ÿ“˜ Step-2. Prover Startup

  1. Download Prover
mkdir aleo && cd aleo

wget https://github.com/leifree317/f3-prover/releases/download/latest/f3-prover
wget https://github.com/leifree317/f3-prover/releases/download/latest/myprover.sh

chmod +x f3-prover
chmod +x myprover.sh
  1. Startup
./myprover.sh <POOL_CONFIG>

N.B. Please replace <POOL_CONFIG> with your pool Server-IP:4040 from step-1.2.

If you can't startup with gpu because of the nvidia-smi failed, you can try the command directly as following,

nohup ./f3-prover -g 0 -p "<POOL_IP>:4040" >> ./prover.log 2>&1 &
  1. Logging
tail -f ./prover.log

prover log

N.B. Because of the dynamic input data and systhesis.aleo program during the puzzle resovling, the proving rate will be impacted by the epoch adjustment, take it easy, it is a normal case.

Pool Prover
< 2.2.12 < 1.3.10
>= 2.2.12 >=1.3.10

X Follow Us

Discord Tech Support

f3-prover's People

Contributors

leifree317 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.