phoenixd_enclave/README.md
Fabrice Drouin 613610eb14
Build a jvm application (#7)
Application is build and  packaged with the `application plugin`, which will create a  .zip file that includes all runtime dependencies and a starter script.

---------

Co-authored-by: pm47 <pm.padiou@gmail.com>
2024-03-25 18:14:21 +01:00

34 lines
989 B
Markdown

[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.21-blue.svg?style=flat&logo=kotlin)](http://kotlinlang.org)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![](https://img.shields.io/badge/www-Homepage-green.svg)](https://phoenix.acinq.co/server)
[![](https://img.shields.io/badge/www-API_doc-red.svg)](https://phoenix.acinq.co/server/api)
# phoenixd
**phoenixd** is the server equivalent of the popular [phoenix wallet](https://github.com/ACINQ/phoenix) for mobile.
It is written in [Kotlin Multiplatform](https://kotlinlang.org/docs/multiplatform.html) and runs natively on Linux, MacOS (x86 and ARM), and Windows (WSL).
## Build
### Native Linux/WSL
Requires `libsqlite-dev` and `libcurl4-gnutls-dev`, both compiled against `glibc 2.19`.
```shell
./gradlew packageLinuxX64
```
### Native MacOS x64
```shell
./gradlew packageMacOSX64
```
### Native MacOS arm64
```shell
./gradlew packageMacOSArm64
```
### JVM
```shell
./gradlew distZip
```