From 67c47c5491b022f74a0af8138b69ae614527bdba Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Sat, 17 Feb 2024 18:10:28 +0100 Subject: add signing functionality --- README.md | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 29254da..25551fd 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3