diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-02-17 18:10:28 +0100 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-02-17 18:10:28 +0100 |
| commit | 67c47c5491b022f74a0af8138b69ae614527bdba (patch) | |
| tree | 3c855e6061725376e63199c563c45f3090523056 /README.md | |
| parent | c7c553a7f32f754c77897db2e53c1e8771d4f2cf (diff) | |
add signing functionality
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 40 |
1 files changed, 7 insertions, 33 deletions
@@ -1,42 +1,16 @@ # wallet2_api.h (but this time C compatible) -Wrapper around wallet2_api.h that can be called using C api. +> Wrapper around wallet2_api.h that can be called using C api. ## Contributing To contribute you can visit git.mrcyjanek.net/mrcyjanek/monero_c and open a PR, alternatively use any other code mirror or send patches directly. -## Building (android) - -Builds are provided in the [release tab](https://git.mrcyjanek.net/mrcyjanek/monero_c/releases), built using Gitea Runners. Building locally is possible as well, althought it is rather a heavy task which takes ~2 hours to finish (excluding enviroment setup and some downloads). - -Base image for the runner is `git.mrcyjanek.net/mrcyjanek/androidndk:r17c`, which contains preinstalled NDK. `Dockerfile` can be obtained from [mrcyjanek/CIimages](https://git.mrcyjanek.net/mrcyjanek/CIimages/src/branch/master/Dockerfile.androidndk-r17c) repository. - -Then to build `.github/workflows/*.yml` files are used. - -Local build? - -```bash -$ act --pull=false -Pandroidndk-r17c=git.mrcyjanek.net/mrcyjanek/androidndk:r17c -``` - -For development? +**IMPORTANT** I don't have time to write better README, please check Makefile for build instructions, in general it comes down to: ```bash -$ timeout 5 act --pull=false -Pandroidndk-r17c=git.mrcyjanek.net/mrcyjanek/androidndk:r17c # needed to clear cache. -$ act --pull=false -Pandroidndk-r17c=git.mrcyjanek.net/mrcyjanek/androidndk:r17c --reuse -$ docker ps -CONTAINER ID IMAGE ..................................... -d0626dcd8c5d git.mrcyjanek.net/mrcyjanek/androidndk:r17c .... -$ docker commit d0626dcd8c5d monero_c:dev -$ docker run --rm -it \ - -v $PWD/libbridge:/opt/wspace/libbridge_up \ - --entrypoint /bin/bash \ - monero_c:dev -[docker] $ export 'PATH=/usr/cmake-3.14.6-Linux-x86_64/bin:/opt/android/toolchain/aarch64-linux-android/bin:/opt/android/toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ - && cd /opt/wspace/libbridge_up \ - && rm -rf build && mkdir build && cd build \ - && env CC=clang CXX=clang++ cmake -DANDROID_ABI=-arm64-v8a .. \ - && make -# Resulting file will be available in the current directory. -``` +$ make download +$ make host_depends +$ make monero_linux_amd64 # or else, depending on your OS/arch +$ make moneroc_linux_amd64 # or else, depending on your OS/arch +```
\ No newline at end of file |
