All Projects → UBIC-repo → core

UBIC-repo / core

Licence: MIT license
UBIC: The crypto currency providing UBI for the masses using the E-Passport

Programming Languages

C++
36643 projects - #6 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to core

Nfcpassportreader
NFCPassportReader for iOS 13
Stars: ✭ 458 (+1137.84%)
Mutual labels:  nfc, passport
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+6821.62%)
Mutual labels:  nfc
External Nfc Api
Interaction with external NFC readers in Android
Stars: ✭ 123 (+232.43%)
Mutual labels:  nfc
Andprox
Native Android Proxmark3 client (no root required)
Stars: ✭ 161 (+335.14%)
Mutual labels:  nfc
Rfidtools
RRG Android App for use with Proxmark3 RDV4 and the blueshark addon
Stars: ✭ 127 (+243.24%)
Mutual labels:  nfc
Passport Reader
e-Passport NFC Reader Android app
Stars: ✭ 172 (+364.86%)
Mutual labels:  nfc
Ndef Tools For Android
NDEF Tools for Android
Stars: ✭ 113 (+205.41%)
Mutual labels:  nfc
Nfc Android
Android Nfc技术解析、使用
Stars: ✭ 249 (+572.97%)
Mutual labels:  nfc
Chameleonmini Rebooted
Chameleon Mini revE rebooted - Iceman Fork, the ChameleonMini is a versatile contactless smartcard emulator (NFC/RFID)
Stars: ✭ 208 (+462.16%)
Mutual labels:  nfc
Chameleonmini Rebootedgui
Windows based GUI for Chameleon Mini, the contactless smartcard emulator (NFC/RFID)
Stars: ✭ 159 (+329.73%)
Mutual labels:  nfc
Tagmo
No description or website provided.
Stars: ✭ 2,249 (+5978.38%)
Mutual labels:  nfc
Transitpal
A open source Swift app for iOS 13 that allows you to check your NFC transit card information. Written with SwiftUI.
Stars: ✭ 135 (+264.86%)
Mutual labels:  nfc
Yubioath Android
Yubico Authenticator for Android
Stars: ✭ 176 (+375.68%)
Mutual labels:  nfc
Proxmark3gui
A cross-platform GUI for Proxmark3 client | 为PM3设计的图形界面
Stars: ✭ 122 (+229.73%)
Mutual labels:  nfc
Metrodroid
Read data from public transit cards using your NFC Android phone! (iOS 13 and PC/SC support coming soon)
Stars: ✭ 238 (+543.24%)
Mutual labels:  nfc
Ketai
Ketai sensor library for Processing (Android mode)
Stars: ✭ 114 (+208.11%)
Mutual labels:  nfc
Ndef Nfc
NDEF Library for Proximity APIs / NFC
Stars: ✭ 138 (+272.97%)
Mutual labels:  nfc
Acr122u Reader Writer
A simple tool to read/write Mifare RFID tags with an ACR122U device
Stars: ✭ 169 (+356.76%)
Mutual labels:  nfc
Libfreefare
A convenience API for NFC cards manipulations on top of libnfc.
Stars: ✭ 252 (+581.08%)
Mutual labels:  nfc
Flutter Nfc Reader
Flutter NFC reader plugin for iOS and Android
Stars: ✭ 240 (+548.65%)
Mutual labels:  nfc

GitHub license GitHub release

WARNING

This piece of software is provided without warranty of any kind, use it at your own risk. UBIC is currently "Beta" software, bugs might occur.

Overview

UBIC is a crypto-project that is meant to democratize currency creation minting new currency in favor of everyone, not only in favor of banks.

UBIC works like basic income on a blockchain, but can also be implemented by other projects for KYC-applications. UBIC will soon allow reliable pseudonymous voting (one person, one vote) and other applications as well that require a functionality to avoid sybil attacks.

Sybil attacks - people receiving multiple basic incomes at once - are harder on UBIC than elsewhere because you are required to prove your uniqueness with a -Non-transferable proof of Signatur-Knowledge- of your E-Passport.

Your identity is NOT revealed to other participants of the system.

The UBIC-Wallet is still in an early stage but does provide all basic functionalities a Wallet requires. You can send transactions, receive them and register a passport in order to get your UBIC cryptoUBI.

If you like the idea of the project you can support its development on github: UBIC Android wallet source code & UBIC node source code

Installation on Linux

Install dependencies

sudo apt-get update
sudo apt-get install git cmake gcc make libleveldb-dev libpcsclite1 libpcsclite-dev libboost-all-dev gcc g++ ntp

Verify that libboost is version >= 1.60 using apt-cache policy libboost-all-dev if it isn't run the commands bellow

/!\ only if apt-cache policy libboost-all-dev returns a value below 1.60
cd /usr/local/src
sudo wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz && sudo tar xzvf boost_1_64_0.tar.gz && cd boost_1_64_0
./bootstrap.sh --prefix=/usr/local --with-libraries=all
./b2 install

Use ntp

sudo apt-get install ntp
sudo systemctl enable ntp

Install OpenSSL 1.1.1d

cd /usr/local/src
sudo wget https://www.openssl.org/source/openssl-1.1.1f.tar.gz && sudo tar xzvf openssl-1.1.1f.tar.gz && cd openssl-1.1.1f
sudo ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
sudo make
sudo make install

openssl version # make sure it is version 1.1.1f

#additional steps might be required:
sudo cp /usr/local/lib/libcrypto.so.1.1 /usr/lib
sudo cp /usr/local/lib/libssl.so.1.1 /usr/lib

Install UBIC

cd /usr/local/src
sudo git clone https://github.com/UBIC-repo/core.git
sudo chmod 777 -R core
cd core
cmake CMakeLists.txt
make
sudo make install

Run the server

/etc/init.d/ubic start

Stop the server

/etc/init.d/ubic stop

Running a node

If you are using a firewall make sure that port 1334 is open or TCP connections. This can be ensured by running:

sudo ufw allow 1334/tcp

Open the web interface

To open the web interface you have to open 127.0.0.1:6789/#yourApiKey in your browser.

You will find your api key in the ~/ubic/config.ini file.

/!\ Warning: For security reasons the web interface can not be opened remotely by typing your server ip:6789/#yourApiKey. If you want to open the web interface of your server do a port forwarding over SSH, and forward the ports 6789 and 12303 to the ports 6789 and 12303 on your local machine.

Register a passport

To register a passport go to the "My UBI" tab and click "Register passport", then enter your passport number, date of birth and the date of expiry. Make sure your NFC reader is plugged and ready, put the passport on top of it. To help you on some readers a green light appears when it found a tag. Click "Register passport", if it doesnt work try again by turning your passport, opening it. If it still doesn't work open an issue on Github.

Note that to work your node should be synced.

An easier way is to use the Android Wallet App either from the play store or from F-Droid.

Whatever option you choose, please make sure to backup your private keys.

Command line interface

ubic web will display the URL for accessing the web interface.

Web interface: http://127.0.01:6789#839073d84f8ee9dbe98d02b3

ubic status will get your current node status.

Synced: true
Blockchain height: 4114
Best block hash: 0b9751f604582ddb405e1dfa1cbf202ecbd0621b3b7f9d70ba21456675a017c8

ubic add-peer <ip address> will add a new node to your node list.

Adding peer succeeded

ubic peers will return the peers you are connected to.

<ip>, blockheight: <height>

Development environment

UBIC was developed using CLion. If you want to work on the source code it is recommended that you use the same IDE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].