GithubHelp home page GithubHelp logo

appiapay / manta-python Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 1.0 6.62 MB

Reference implementation of Manta protocol

License: BSD 2-Clause "Simplified" License

Makefile 1.60% Python 86.69% Jupyter Notebook 11.40% Nix 0.31%
cryptocurrency payments crypto pos digital-currency

manta-python's Introduction

Welcome to manta-python

This repository contains the Python implementation of the Manta Protocol: it's a protocol to enable crypto coin transaction between POS (of any kind, hardware, vending machines, online), payment processors and wallets.

Communication takes advantage of the MQTT protocol and needs a proper configured broker to work.

More documentation can be found at https://appiapay.github.io/manta-python, what follows are some instructions for the developer.

Installation

Primary repository

To start working on manta-python you must first checkout a copy of the main repository:

$ git [email protected]:appiapay/manta-python.git
$ cd manta-python

Requirements

The code in this repository needs an MQTT broker to work correctly so if you plan to run the tests, you will be required of either install the mosquitto broker or use your own and modify the broker.start entry in the file tests/dummyconfig.yaml to false.

Task automation is achieved using GNU Make. It should be easily installable on every UNIX-like platform.

If you use Nix (it can be installed on GNU/Linux systems and macOS) all you need is to execute a single command:

$ nix-shell

and that will install mosquitto and GNU Make for you. In such case you should skip the following section.

Creation of the Python virtual environment

The next thing to do is the creation of the Python virtual environment with some required packages. Simply execute:

$ make
  1. that will initialize the environment with a set of required packages
  2. print an help on the available targets

You must remember to activate the virtual environment before doing anything:

$ . venv/bin/activate

Running the tests

To run the tests simply run the following command:

$ make tests

That will run the unit tests and the integration tests. Remember to always use it before committing.

manta-python's People

Contributors

alvistar avatar azazel75 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

icodein

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.