Giter Site home page Giter Site logo

popenobody / pirate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piratenetwork/pirate

0.0 0.0 0.0 187.72 MB

Pirate Chain (ARRR) - Untraceable, Anonymous, Private Cryptocurrency

Home Page: https://piratechain.com

License: Other

Shell 0.81% Ruby 0.01% C++ 65.74% Python 6.77% C 21.32% Java 0.31% Assembly 0.29% Rust 1.66% CSS 0.30% Objective-C++ 0.02% Makefile 0.91% HTML 0.11% QMake 0.10% Batchfile 0.04% M4 1.15% Dockerfile 0.01% Roff 0.15% Sage 0.31% Jinja 0.01%

pirate's Introduction

Pirate cli build - Ubuntu 20.04
Pirate cli build - Windows cross compile 20.04
Pirate Logo

Pirate Chain

This is the official Pirate Chain sourcecode repository based on https://github.com/jl777/komodo.

Development Resources

Komodo Platform Technologies Integrated In Pirate Chain

  • Delayed Proof of Work (dPoW) - Additional security layer and Komodos own consensus algorithm
  • zk-SNARKs - Komodo Platform's privacy technology for shielded transactions

Tech Specification

  • Max Supply: 200 million ARRR
  • Block Time: 60s
  • Block Reward: 256 ARRR
  • Mining Algorithm: Equihash 200,9

About this Project

Pirate Chain (ARRR) is a 100% private send cryptocurrency. It uses a privacy protocol that cannot be compromised by other users activity on the network. Most privacy coins are riddled with holes created by optional privacy. Pirate Chain uses zk-SNARKs to shield 100% of the peer to peer transactions on the blockchain making for highly anonymous and private transactions.

Signed Releases

A Signature file is included in all releases designated as signed in the releases sections of this repository.

Verify the hashes specified in the signatures-vX.X.X.zip of each file by running:

sha256sum -c sha256sum-vX.Y.Z.txt

Verify the signatures specified in the signatures-vX.X.X.zip of each file by running:

1. First, import the public key (Available on GitHub at https://github.com/piratenetwork/pirate/blob/master/public_key.asc)
gpg --import public_key.asc

2. Verify signature
gpg --verify <filename.sig> <downloaded-filename-to-verify>

Getting started

Build the code as described below. To see instructions on how to construct and send an offline transaction look at README_offline_transaction_signing.md

A list of outstanding improvements is included in README_todo.md

Dependencies Ubuntu

#The following packages are needed:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool libncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqrencode-dev libdb++-dev ntp ntpdate nano software-properties-common curl libevent-dev libcurl4-gnutls-dev cmake clang libsodium-dev -y


### Dependencies (Ubuntu 20.04)
```shell
#The following packages are needed:
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python3 python3-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl libsodium-dev

```shell
#On newer Linux distributions, like Ubuntu 22.04, the following additional packages are required:
sudo apt-get install liblz4-dev libbrotli-dev

Dependencies Manjaro

#The following packages are needed:
pacman -Syu base-devel pkg-config glibc m4 gcc autoconf libtool ncurses unzip git python python-pyzmq zlib wget libcurl-gnutls automake curl cmake mingw-w64

Build Pirate

This software is based on zcash and considered experimental and is continuously undergoing heavy development.

The dev branch is considered the bleeding edge codebase while the master-branch is considered tested (unit tests, runtime tests, functionality). At no point of time do the Pirate developers take any responsibility for any damage out of the usage of this software. Pirate builds for all operating systems out of the same codebase. Follow the OS specific instructions from below.

Linux

git clone https://github.com/PirateNetwork/pirate --branch master
cd pirate
# This step is not required for when using the Qt GUI
./zcutil/fetch-params.sh

# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use; -j$(nproc) for all threads available

#For CLI binaries
./zcutil/build.sh -j8

#For qt GUI binaries
./zcutil/build-qt-linux.sh -j8.

#If you get this compile error:
qt/moc_addressbookpage.cpp:142:1: error: ‘QT_INIT_METAOBJECT’ does not name a type
  142 | QT_INIT_METAOBJECT const QMetaObject AddressBookPage::staticMetaObject = { {
      | ^~~~~~~~~~~~~~~~~~
  146 | QT_INIT_METAOBJECT const QMetaObject ZAddressBookPage::staticMetaObject = { {
      | ^~~~~~~~~~~~~~~~~~

Qt is incompatible with the libgl library.
Remove library: sudo apt-get remove libgl-dev
Install libraries: sudo apt-get install mesa-common-dev libglu1-mesa-dev

OSX

Ensure you have brew and the command line tools installed (comes automatically with XCode) and run:

brew update
brew upgrade
brew tap discoteq/discoteq; brew install flock
brew install autoconf autogen automake gcc@8 binutilsprotobuf coreutils wget python3
git clone https://github.com/PirateNetwork/pirate --branch master
cd pirate
# This step is not required for when using the Qt GUI
./zcutil/fetch-params.sh

# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use; -j$(nproc) for all threads available

#For CLI binaries
./zcutil/build-mac.sh -j8

#For qt GUI binaries
./zcutil/build-qt-mac.sh -j8

Windows

Use a debian cross-compilation setup with mingw for windows and run:

sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl cmake mingw-w64
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup target add x86_64-pc-windows-gnu

sudo update-alternatives --config x86_64-w64-mingw32-gcc
# (configure to use POSIX variant)
sudo update-alternatives --config x86_64-w64-mingw32-g++
# (configure to use POSIX variant)

git clone https://github.com/PirateNetwork/pirate --branch master
cd pirate
# This step is not required for when using the Qt GUI
./zcutil/fetch-params.sh

# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use; -j$(nproc) for all threads available

#For CLI binaries
./zcutil/build-win.sh -j8

#For qt GUI binaries
./zcutil/build-qt-win.sh -j8

Pirate is experimental and a work-in-progress. Use at your own risk.

To run the Pirate GUI wallet:

Linux pirate-qt-linux

OSX pirate-qt-mac

Windows pirate-qt-win.exe

To run the daemon for Pirate Chain:
pirated both pirated and pirate-cli are located in the src directory after successfully building

To reset the Pirate Chain blockchain change into the ~/.komodo/PIRATE data directory and delete the corresponding files by running rm -rf blocks chainstate debug.log komodostate db.log and restart daemon

To initiate a bootstrap download on the GUI wallet add bootstrap=1 to the PIRATE.conf file.

Pirate is based on Komodo which is unfinished and highly experimental. Use at your own risk.

License

For license information see the file COPYING.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

pirate's People

Contributors

jl777 avatar laanwj avatar dimxy avatar gavinandresen avatar sipa avatar str4d avatar cryptoforge avatar ca333 avatar zkbot avatar bitcartel avatar miketout avatar ebfull avatar theuni avatar non-github-bitcoin avatar jmjatlanta avatar asherda avatar mixa84 avatar deckersu avatar luke-jr avatar leto avatar jonasschnelli avatar gmaxwell avatar alrighttt avatar tonymorony avatar daira avatar ssadler avatar thebluematt avatar fanquake avatar defuse avatar kolobus 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.