Xero - a digital currency that allows instant payments to anyone, anywhere

Overview

Xeros

GitHub Discord Build Status Code Intelligence Status GitHub Sponsors

Xeros is a digital currency that allows instant payments to anyone, anywhere. Xeros has been written completely in PHP and mostly follows the technical design of Bitcoin. Xeros uses P2P technology to operate with no central server.

There are many differences to Bitcoin, such as the scripting language which is "XeroASM" which is a really dumbed down version of assembler - one thing I'd like to do is offer easier scripting languages that "compile" down to the XeroASM.

Contact

You can join the Xeros Discord server, or email me: [email protected].

Status of the Project (Yes it's active!)

Currently, the blockchain has not launched - it is however close to its first release version. I plan on launching it in the next month or two - once I have some of the higher priority tasks are done in the Github issues area of this project.

Install

apt update -y && apt upgrade -y
apt install -y software-properties-common
add-apt-repository -y ppa:ondrej/php
apt update
apt install -y unzip curl 
apt install -y php8.1 php8.1-common php8.1-sqlite3 php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-cli php8.1-mbstring php8.1-bcmath php8.1-zip
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer
cd xeros
cp .env_sample .env
composer install
./phinx migrate

Change log

Please see CHANGELOG for more information on what has changed recently.

Xeros Sponsors

Bronze Supporters

If you are looking to sponsor, fund or donate, please see the Support & Funding section below.

Contributing

The codebase is maintained using the "contributor workflow" where everyone without exception contributes patch proposals using "pull requests" (PRs). This facilitates social contribution, easy testing and peer review.

To contribute a patch, the workflow is as follows:

  1. Fork repository (only for the first time)
  2. Create topic branch
  3. Commit patches

New contributors are always welcome and needed.

Creating the Pull Request

The title of the pull request should be prefixed by the component or area that the pull request affects. Valid areas as:

consensus for changes to consensus critical code

doc for changes to the documentation

log for changes to log messages

mining for changes to the mining code

p2p for changes to the peer-to-peer network code

refactor for structural changes that do not change behavior

script for changes to the scripts and tools

test, qa or ci for changes to the unit tests, QA tests or CI code

util or lib for changes to the utils or libraries

wallet for changes to the wallet code

Examples:

p2p: Automatically create onion service, listen on Tor
script: Add feed bump button
log: Fix typo in log message

Copyright

By contributing to this repository, you agree to license your work under the MIT license unless specified otherwise in contrib/debian/copyright or at the top of the file itself. Any work contributed where you are not the original author must contain its license header with the original author(s) and source.

Core Development Discussion

You may propose new features or improvements of existing Xeros behavior in the GitHub repository discussion board. If you propose a new feature, please be willing to implement at least some of the code that would be needed to complete the feature.

Which Branch?

All bug fixes should be sent to the latest stable branch. Bug fixes should never be sent to the master branch unless they fix features that exist only in the upcoming release.

Minor features that are fully backward compatible with the current release may be sent to the latest stable branch.

Major new features should always be sent to the master branch, which contains the upcoming release.

If you are unsure if your feature qualifies as a major or minor, please ask Kladskull in the #development channel of the Xeros Discord server. We are sending most git activity to this discord.

Security Vulnerabilities

If you discover a security vulnerability within Xeros, please send an email to Kladskull at [email protected]. All security vulnerabilities will be promptly addressed.

Coding Style

Xeros uses the PSR-2 coding standard and the PSR-4 autoloading standard.

Credits section

Kladskull will update the credits section. Credits is for long term consistant contributers, one off contributions likely will not be credited.

Credits

Support & Funding

I wanted to learn how blockchains worked, and the only way was to actually sit down, research and finally - just start. I am not doing this for any monetary gain, however, if you would like to show support for this project, please use the addresses below, become a Patreon or buy me a coffee.

BTC: bc1q9svdtcr8cuvr9qfv7ha6c4femvnsjj5vfp2fes
ETH: 0xd070069f968aD9C2e49C8E04d27006dc0C9c1543
LTC: ltc1q3prtjr00mphqcqtsqxmy6wsyplwatrkd3668qq
Doge: DMiAdu7YWmNcRtyDXNcB6j17iV7gFPceSX
XEROS: Address will be here once it's live

License

The MIT License (MIT). Please see License File for more information.

You might also like...
A PHP library to read and validate EU Digital COVID Certificates

CovPassCheck PHP A PHP library to read and validate EU Digital COVID Certificates. Install composer require stwon/covpasscheck-php Usage Currently, th

API de automação para assinatura digital da plataforma CLICKSIGN

API PARA ASSINATURA DIGITAL COM PHP API de automação para assinatura digital da plataforma CLICKSIGN usando PHP API básica, para mais funcionalidades

Open Source Data & Experience Management Platform (PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce)
Open Source Data & Experience Management Platform (PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce)

Pimcore - Open Source Data & Experience Management Platform: PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce

Library download currency rate and save in database, It's designed to be extended by any available data source.

Library download currency rate and save in database, It's designed to be extended by any available data source.

Standardized wrapper for popular currency rate APIs. Currently supports FixerIO, CurrencyLayer, Open Exchange Rates and Exchange Rates API.

💱 Wrapper for popular Currency Exchange Rate APIs A PHP API Wrapper to offer a unified programming interface for popular Currency Rate APIs. Dont wor

A money and currency library for PHP

Brick\Money A money and currency library for PHP. Introduction Working with financial data is a serious matter, and small rounding mistakes in an appl

Extract and evolution of the magento2-currency-precision module from the magento2-jp project from @Magento

Currency Precision Module for Magento 2 This module aims to help merchants to manage easily their currency precision in Magento 2. DISCLAIMER Initiall

Buy and sell crypto top 100 crypto with our fake currency. Donate to and use our referal links for discounts

PLEASE ENABLE SQLITE3 AND GD OR GD2 IN XAMPP TO RUN THE APP! (SEE HOW_TO_SETUP_XAMPP.gif) ![alt text](https://github.com/Tby23rd/Project1-Cryptosimul

Simple Symfony currency exchange demo application (CLI)

Symfony currency exchange demo Keynotes Using a small Symfony installation as possible Using SQLite database for simplicity but with price of some cav

Comments
  • Review XeroASM and make improvements (that make sense)

    Review XeroASM and make improvements (that make sense)

    As the title says, there is no byte/word control - unsure if its even needed as this is a more "easier" type of ASM. Should we change this, make it better?

    enhancement 
    opened by kladskull 0
  • Add a wallet type app

    Add a wallet type app

    Currently you have to send data to the network via code, we need to create a simple wallet app (command line first) that will assemble a transaction and send it.

    • should use the most optimal unspents (if there is a 4 coin unspent tx, and a 50 coin unspent tx, and we send 2 coin, it should use the 4 coin instead of one big one)
    • Add ability to create new wallet
    • need to encrypt the private keys with a password
    • main program shouldn't require the encrypted wallet private key (only the wallet app)
    enhancement priority: high 
    opened by kladskull 1
Owner
Kladskull
Oh hi.
Kladskull
World Currency list in PHP constants and in array (Currency::USD)

World Currency list in PHP constants and in array (Currency::USD) If you need to work with currencies in the code and describe each time "USD", "EUR"

Krepysh 4 Jun 27, 2022
Quickly execute Composer package binaries from anywhere. ⚡️

✨ Help support the maintenance of this package by sponsoring me. cpx Quickly execute Composer package binaries from anywhere. ⚡️ Installation Run the

Ryan Chandler 57 Dec 25, 2022
Easily add logs anywhere in your Magento 2 code

Magento 2 Simple Log Easily add logs anywhere in the code (like Magento 1). Requirements Requires Magento 2 in any version. Installation Add the Log.p

Matthieu Vion 19 Dec 27, 2021
EBook-Apps - The eBook Apps is a web application that helps you browse ebooks from anywhere using your smartphone and laptop.

⚡️ eBook Apps The eBook Apps is a web application that helps you browse ebooks from anywhere using your smartphone and laptop. ?? Getting Started To s

Ahmad Fauzy 32 Nov 14, 2022
Enable Facebook Instant Articles on your WordPress site.

Instant Articles for WP Enable Instant Articles for Facebook on your WordPress site. Plugin activity Description This plugin adds support for Instant

Automattic 633 Nov 21, 2022
The instant SPA WordPress plugin that will most likely break your site.

Bonfire The instant SPA plugin that will most likely break your site. A https://github.com/fireship-io/flamethrower wrapper. Installation Clone or dow

Andrew Rhyand 7 Sep 3, 2022
Stripe Payments for Magento 2

Magento 2 Stripe Integration Accept credit card payments through the Stripe payment gateway. Supports Magento Instant Purchase for One Click Checkout

Patrick McLain 45 Jul 22, 2022
PHP 7+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc. - provided by Forma-Pro

Supporting Payum Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our

Payum 1.7k Dec 27, 2022
Empower your business to accept payments globally, earn rewards and invest in crypto with lazerpay laravel sdk in your laravel project.

Lazerpay Laravel Package pipedev/lazerpay is a laravel sdk package that access to laravel api Installation PHP 5.4+ and Composer are required. To get

Muritala David 24 Dec 10, 2022
Jéssica Paula 7 Aug 12, 2022