MyGit

firoorg/firo

Fork: 355 Star: 720 (更新于 2024-11-20 22:05:47)

license: MIT

Language: C++ .

The privacy-focused cryptocurrency

最后发布版本: v0.14.14.0-debug ( 2024-10-21 21:01:27)

官方网址 GitHub网址

Firo

Financial Contributors on Open Collective latest-release GitHub last-release GitHub downloads GitHub commits-since-last-version GitHub commits-per-month GitHub last-commit

Firo formerly known as Zcoin, is a privacy focused cryptocurrency that utilizes the Lelantus Spark protocol which supports high anonymity sets without requiring trusted setup and relying on standard cryptographic assumptions.

The Lelantus Spark cryptographic library and implementation was audited by HashCloak. The Lelantus Spark cryptography paper has undergone two separate audits by HashCloak and Daniel (Linfeng) Zhao.

Firo also utilises Dandelion++ to obscure the originating IP of transactions without relying on any external services such as Tor/i2P.

Firo uses a hybrid PoW and LLMQ Chainlocks system combining fair distribution of supply with protection against 51% attacks and quick finality of blocks and transactions. FiroPOW (a ProgPOW variant) is used as its Proof-of-Work algorithm which targets GPUs and is FPGA/ASIC resistant.

Running with Docker

If you are already familiar with Docker, then running Firo with Docker might be the the easier method for you. To run Firo using this method, first install Docker. After this you may continue with the following instructions.

Please note that we currently don't support the GUI when running with Docker. Therefore, you can only use RPC (via HTTP or the firo-cli utility) to interact with Firo via this method.

Local Dockerfile

This repository contains a Dockerfile that you can build and run locally.

To build it, run from the root of this repository:

docker build . -t firo-local

After the process is completed, run a container based on the firo-local image you built:

docker run -d --name firod -v "${HOME}/.firo:/home/firod/.firo" firo-local

This will start a detached docker container, which you can interact with using docker exec. See the section "Interact with the container" for a list of useful commands you can use to manage your node. Make sure to change firod with firo-local, if you have built the local Docker image.

Docker image on DockerHub

If it doesn't already exist, create a .firo folder in your home (this is a workaround until #1241 is resolved):

mkdir -p ${HOME}/.firo

Pull our latest official Docker image:

docker pull firoorg/firod

Start Firo daemon:

docker run -d --name firod -v "${HOME}/.firo:/home/firod/.firo" firoorg/firod

Interact with the container

View current block count (this might take a while since the daemon needs to find other nodes and download blocks first):

docker exec firod firo-cli getblockcount

View connected nodes:

docker exec firod firo-cli getpeerinfo

Stop daemon:

docker stop firod

Backup wallet:

docker cp firod:/home/firod/.firo/wallet.dat .

Start daemon again:

docker start firod

Linux Build Instructions and Notes

Firo contains build scripts for its dependencies to ensure all component versions are compatible. For additional options such as cross compilation, read the depends instructions

Alternatively, you can build dependencies manually. See the full unix build instructions.

Bootstrappable builds can be achieved with Guix.

Development Dependencies (compiler and build tools)

  • Debian/Ubuntu/Mint (minimum Ubuntu 18.04):
sudo apt-get update
sudo apt-get install python; sudo apt-get install git curl build-essential libtool automake pkg-config cmake
# Also needed for GUI wallet only:
sudo apt-get install qttools5-dev qttools5-dev-tools libxcb-xkb-dev bison

If you use a later version of Ubuntu, you may need to replace python with python3.

  • Redhat/Fedora:
sudo dnf update
sudo dnf install bzip2 perl-lib perl-FindBin gcc-c++ libtool make autoconf automake cmake patch which
# Also needed for GUI wallet only:
sudo dnf install qt5-qttools-devel qt5-qtbase-devel xz bison
sudo ln /usr/bin/bison /usr/bin/yacc
  • Arch:
sudo pacman -Sy
sudo pacman -S git base-devel python cmake

Build Firo

  1. Download the source:
git clone https://github.com/firoorg/firo
cd firo
  1. Build dependencies and firo:

Headless (command-line only for servers etc.):

cd depends
NO_QT=true make -j`nproc`
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/`depends/config.guess` --without-gui
make -j`nproc`

Or with GUI wallet as well:

cd depends
make -j`nproc`
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/`depends/config.guess`
make -j`nproc`
  1. (optional) It is recommended to build and run the unit tests:
./configure --prefix=`pwd`/depends/`depends/config.guess` --enable-tests
make check

If the build succeeded, two binaries will be generated in /src: firod and firo-cli. If you chose to build the GUI, firo-qt will be also generated in the qt folder.

macOS Build Instructions and Notes

See doc/build-macos.md for instructions on building on macOS.

Note: these instructions are inherited from Bitcoin and might not work as expected

Windows (64/32 bit) Build Instructions and Notes

See doc/build-windows.md for instructions on building on Windows 64/32 bit.

Note: these instructions are inherited from Bitcoin and might not work as expected

Run Firo

Now that you have your self-built or precompiled binaries, it's time to run Firo! Depending by your skill level and/or setup, you might want to use the command line tool or the graphic user interface. If you have problems or need support, contact the community.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. Would you like to help Firo and contribute? See the [CONTRIBUTING] file.

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

You can also donate to the MAGIC Firo Fund which allows some US entities to claim a charitable deduction.

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

最近版本更新:(数据更新于 2024-11-23 12:11:37)

2024-10-21 21:01:27 v0.14.14.0-debug

2024-09-04 02:35:05 v0.14.14.0

2024-06-19 15:37:03 v0.14.13.3

2024-02-19 23:45:38 v0.14.13.2

2023-12-24 01:39:06 v0.14.13.1

2023-11-27 18:20:46 v0.14.13.0

2023-03-24 19:15:42 v0.14.12.1

2022-12-26 23:23:35 v0.14.12.0

2022-11-16 00:34:21 v0.14.11.2

2022-09-28 13:50:26 v0.14.11.1-elysium-rc

主题(topics):

asic-resistant, blockchain, cryptocurrency, cryptography, lelantus, merkle-tree, merkle-tree-proof-of-work, p2p, privacy, sigma, zcoin, zero-knowledge, zero-knowledge-proofs, zerocoin, zkp

firoorg/firo同语言 C++最近更新仓库

2024-11-23 23:18:58 matanki-saito/EU4dll

2024-11-23 20:28:31 PCSX2/pcsx2

2024-11-22 19:14:23 ClickHouse/ClickHouse

2024-11-22 19:09:45 manticoresoftware/manticoresearch

2024-11-20 09:02:24 dail8859/NotepadNext

2024-11-20 04:28:15 microsoft/terminal