GithubHelp home page GithubHelp logo

baptoo10 / qrypto Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 122.89 MB

Makefile 0.61% C 91.90% Assembly 0.03% Shell 1.50% Yacc 0.29% CMake 0.08% C++ 0.09% Sage 0.05% Python 0.01% JavaScript 1.68% M4 0.35% Roff 0.01% Tcl 2.05% HTML 0.28% Java 0.69% CSS 0.01% PLpgSQL 0.25% Objective-C 0.01% C# 0.05% Batchfile 0.07%

qrypto's Introduction

Installer la configuration pour utiliser qrypto :

$ sudo apt install gcc
$ sudo apt install g++
$ sudo apt install make
$ sudo apt install openssl
$ sudo apt install libssl-dev

Si librairie manquante :

Télécharger :

$ wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
$ sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb

Ou reprendre du path lib :

$ cp /blkchn_code_/src/lib/libcrypto.so.1.1 /blkchn_code_/src/wallet/libcrypto.so.1.1

SQLite3

$ sudo apt install sqlite3
$ sudo apt install libqlite3-dev

SQCipher

$ sudo apt install sqlcipher
$ sudo apt install libsqlcipher-dev

Si librairie manquante :

Installer sqlcipher à partir du dossier :

$ cd blkchn_code_/src/sqlcipher-master
$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
$ make
$ sudo make install DESTDIR=/

Ou reprendre du path lib :

$ cp /blkchn_code_/src/lib/libsqlcipher.so.0 /blkchn_code_/src/wallet/libsqlcipher.so.0

L'exécutable du wallet

$ make
$ ./gen_key_mode3

OU

$ make gen_key_mode3
$ ./gen_key_mode3

L'exécutable du consensus

$ make
$ ./run_consensus

OU

$ make run_consensus
$ ./run_consensus

Installations complètes de SQLCipher et LevelDB (inutile pour le lancement du projet qrypto) :

SQLCipher (SEE require a License) :

$ wget https://github.com/sqlcipher/sqlcipher/archive/master.zip
$ unzip master.zip
$ cd sqlcipher-master
$ sudo apt-get update
$ sudo apt-get install libssl-dev
$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
$ make
$ sudo make install DESTDIR=/

LevelDB :

$ git clone --recurse-submodules https://github.com/google/leveldb.git
$ mkdir -p leveldb/build && cd leveldb/build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ cmake --build .

Avec wsl :

$ echo 'export PATH="/mnt/VOTRE_DISQUE(d ou c)/VOTRE_PATH/leveldb/build:$PATH"' >> ~/.bashrc
$ echo $PATH | grep -q "/mnt/VOTRE_DISQUE(d ou c)/VOTRE_PATH/leveldb/build" && echo "leveldbutil est dans PATH" || echo "leveldbutil n'est pas dans PATH"
$ source ~/.bashrc

qrypto's People

Contributors

baptoo10 avatar smokedtea avatar

Watchers

 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.