2020-05-24 20:07:52 +02:00
|
|
|
This is the repository of Flowee Pay.
|
|
|
|
|
|
|
|
|
|
Flowee Pay is a payment solution, also often called wallet, that allows
|
|
|
|
|
users to pay and receive Bitcoin Cash in a simple application with little
|
2022-07-21 13:17:29 +02:00
|
|
|
to no external parties or (indexing) servers it needs to depend on.
|
2020-05-24 20:07:52 +02:00
|
|
|
The only really required dependent is the peer to peer network, and thus
|
|
|
|
|
the Internet.
|
|
|
|
|
|
|
|
|
|
We use QML for the user interface, which allows fast turnaround for
|
|
|
|
|
skinning and a very strong model/view separation. The goal here is to have
|
|
|
|
|
multiple user interfaces for the one codebase. For instance you can have
|
2020-10-23 20:41:18 +02:00
|
|
|
a very different user experience and set of features on desktop than on
|
|
|
|
|
Android. You can simply "skin" an existing GUI and change it to have your
|
|
|
|
|
companies logo (we want you to do that! Just please use a different name
|
|
|
|
|
for the app you ship then!)
|
2020-05-24 20:07:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
The goal of having a Free Software product like Flowee Pay is that average
|
|
|
|
|
users can use the community client and when companies that want to bundle a
|
|
|
|
|
wallet with their product (for instance to do some token thingy) they are
|
|
|
|
|
more than welcome to provide their own skinning instead of the ones that
|
|
|
|
|
are included in this repo.
|
|
|
|
|
|
|
|
|
|
Any companies or groups doing this are going to help increase the quality
|
|
|
|
|
of the main free software product and thus this benefits all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BUILDING
|
|
|
|
|
|
2020-10-23 20:41:18 +02:00
|
|
|
Flowee Pay uses libraries from Flowee, you need to
|
|
|
|
|
either install the main flowee package via your package manager
|
|
|
|
|
or compile it before you compile Pay.
|
2021-11-19 11:23:02 +01:00
|
|
|
The minimum version required for the Flowee libraries is 2021.06.0
|
2020-05-24 20:07:52 +02:00
|
|
|
|
|
|
|
|
You need cmake and Qt5. When you have those installed it is just a matter
|
|
|
|
|
of calling:
|
|
|
|
|
|
2020-08-11 22:42:16 +02:00
|
|
|
```
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake ..
|
2021-11-21 11:16:07 +01:00
|
|
|
make install
|
2020-08-11 22:42:16 +02:00
|
|
|
```
|
2020-05-24 20:07:52 +02:00
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
We depend on the libraries shipped in 'theHub', also from Flowee.
|
|
|
|
|
If you compile theHub yourself you may want to export the
|
|
|
|
|
following variable in case the build wasn't found in the 'cmake' line above:
|
|
|
|
|
|
|
|
|
|
export CMAKE_PREFIX_PATH=/path/to/the/thehub-build
|
|
|
|
|
|
|
|
|
|
Followed with again the call to cmake and make like above.
|
2020-05-24 20:07:52 +02:00
|
|
|
|
|
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
## DEVS
|
2021-01-28 08:37:44 +01:00
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
Want to start Hacking, getting to know QML as well? Here is a video playlist of 5 short
|
|
|
|
|
videos explaining the tech [youtube](https://www.youtube.com/playlist?list=PL6CJYn40gN6h3usMQY3BSZJs08isz3jqa)
|
2021-01-28 08:37:44 +01:00
|
|
|
|
2021-11-21 11:16:07 +01:00
|
|
|
To develop on the app, especially if you will work on the QML, we suggest the
|
|
|
|
|
following workflow:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake -Dlocal_qml=ON -DCMAKE_INSTALL_PREFIX=`pwd` ..
|
|
|
|
|
make install
|
|
|
|
|
```
|
|
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
The executables will be in `floweepay/build/bin/` and by passing the `local_qml`
|
|
|
|
|
additional
|
|
|
|
|
cmake option the app will renember that it should fetch the QML files from
|
|
|
|
|
your local harddrive. This allows you to change the QML files and simply
|
2021-11-21 11:16:07 +01:00
|
|
|
restart the app without recompile.
|
|
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
For development you can run either **pay** or **pay_mobile**, depending on which
|
2021-11-21 11:16:07 +01:00
|
|
|
front-end you are working on.
|
|
|
|
|
|
|
|
|
|
To develop on the app we suggest starting one of those app with these
|
|
|
|
|
options:
|
|
|
|
|
`bin/pay --offline --testnet4`
|
|
|
|
|
|
|
|
|
|
|
2022-07-21 13:17:29 +02:00
|
|
|
Upstream; https://codeberg.org/Flowee/pay
|
2020-05-24 20:07:52 +02:00
|
|
|
Website: https://flowee.org
|