Commit Graph

112 Commits

Author SHA1 Message Date
Mateusz Franik
85770ea6f1 tests: run integration and regression tests on other platforms (#93)
* tests: add script to download test dependencies from fallback mirrors

* tests: use the new download_deps script, run tests on macos

* ci: download proper artifact for macos

* chore: make download_deps script download everything to dir named `monero_c` when ran directly

* tests: await downloading deps

* tests download  proper monero_c version in prepareMoneroC

* tests: fix typos

* tests: add file data for more targets

* tests: print why retrieving tags failed

* chore: change mirror url endpoint from `monero_c` to `download_mirror`

* tests: use cached releases endpoint to prevent ratelimits

* ci: remove brew@1.76 dependency

* tests: fix macos dylib path

* feat!(monero.ts): make `createTransactionMultDest` optionally return `null`

* feat(monero.ts): make `Wallet_reconnectDevice` symbol optional

* tests: don't try to extract file if out already exists

* tests: remove unnecesary directory rm calls

* ci: set regression tests to use canary
2024-12-30 10:39:28 +01:00
cyan
2a38bf2961 cleanup patches (and other stuff) (#79)
* cleanup patches
* fix polyseed patch
* Fix iOS builds
* fix polyseed dependencies
* fix polyseed patch for macOS
* update ledger patch
* update wownero patches and version
* update checksums
* wip"
* update gitmodules
* update boost build script
* update build_single.sh
* vix verbosey_copy
* fix __clear_cache bug on wownero
* update randomwow
* migrate build system
* fix cross compilation issues
* some more build issue
* update polyseed
* cleanup cmakelists
* fix toolchain.cmake.in
* add ssp
* another attempt at building windows on CI
* fix package name
* migrate mirror to my own hosting
* change download mirror priority (fallback first)
* link ssp in monero module as well by using CMAKE_{C,CXX}_FLAGS
* fix android builds
* update polyseed source
* 13 -> trixie
* fix package name conflicts, update runner to sid
* update boost to 1_84_0, disable patch that's no longer needed
* switch to ubuntu:24.04
* add POLYSEED_STATIC to toolchain.cmake.in in order to properly link
* drop patches
* fixes to darwin
* link missing wowner-seed library
* a litte bit more of experiments
* build locale only on windows
* update iconv
* update definitions
* update ci builds
* update my progress
* ios fix, update depends, ci
* multithread build system
* fix android, mingw and linux build issues
* remove dependency check
* update Dockerfile to include pigz
* show a message when pigz is missing
* fix devcontainer mingw setup (missing ENV)
* update android build runner
* sailfishos dropped (you better go behave yourself and run actual linux programs)
* fiz pigz issues
* install llvm-ranlib for android
* fix iOS build issues
* fix dummy ledger patch
* fix macos and darwin
* fix macos ci
* fix macos build command
* install autoconf
* add automake
* add libtool
* macos fixes, wownero fixes, idk what else, please help me
* fix wownero iOS build
* Cleanup patches
* add try-catch into monero code
* fix error handling
* update checksums
2024-12-04 10:22:48 -05:00
Mateusz Franik
40c1a1bda4 feat!: monero.ts rewrite, integration tests (#80)
* feat: move spend/view key symbols to the monero.ts implementation
* feat: add integration tests for `0001-polyseed.patch`
* feat(monero.ts): add support for backgroundSync and closing the wallet
* feat: add integration tests for `0002-wallet-background-sync-with-just-the-view-key.patch`
* feat!: require users to provide own node url
BREAKING CHANGE: Requires users manual call to `Wallet.initWallet` after wallet creation with preferred node url
* feat: add background sync test for `0002-wallet-background-sync-with-just-the-view-key.patch`
* ci: add integration tests step
* feat(monero.ts): support creating and recovering wallet from polyseed
* feat: actually test polyseeds in the integration test
* chore: remove legacy comments
* fix: uncomment getting moneroC
* feat(monero.ts): add support for reading wallet's seed
* feat: add seed test for `0009-Add-recoverDeterministicWalletFromSpendKey.patch`
* chore: slight refactor
* feat(monero.ts): add bindings for `setOffline` and `isOffline`
* feat: add integration tests for `0012-WIP-UR-functions.patch`
* fix: use correct node depending on the coin
* fix: prevent segfaults on wownero
* feat(monero.ts): add partial bindings for `Coins` and `CoinsInfo`
* feat: add integration tests for `0004-coin-control.patch`
* fix coin control
* clean up console.logs
* chore: comment out the entire block
* dev: add devcontainer config for deno
* fix(monero.ts): invalid PendingTransactionPtr brand
* feat(monero.ts): add bindings for retrieving keys and managing transactions
* feat: improve `0012-WIP-UR-functions.patch` tests to follow the airgap doc
* fix(monero.ts): make UR methods optional so wownero can load properly
* remove flaky balance assertions
* tests: add a little bit of delay to make 0002 patch test less flake-y
* tests: run wallet transaction tests on ci
* enable logging to determine why it segfaults on ci
* add delay to every syncBlockchain call
* its console logging time
* even more console.logs
* eep
* eep more
* dont assert that its not frozen
* remove console.logs
* fix(monero.ts): type typo becoming a default value
* feat(monero.ts): add bindings for `createTransactionMultDest`
* feat(monero.ts): support returning multiple values whenever necessary
* feat(monero.ts): add missing reexports
* feat(monero.ts)!: rewrite bindings
BREAKING CHANGES!:
 - Calls to methods no longer automatically throw errors, you should take care of handling errors yourself
 	- This means the whole sanitizer ordeal is gone, no more sanitize arguments etc.
 	- Some misplaced methods have been moved to their "proper" place, e.g. creating Wallet is now possible using WalletManager instance methods, instead of passing WalletManager instance to Wallet's static method
 	- Return types probably changed in places, methods were inconsitent about returning string or empty string and `string | null`, now its always `string | null`
 - Every available symbol should now be available in `symbols`, even for the things that are not yet implemented, so you can access them in that case
* tests: adapt tests to monero.ts changes
* tests: reuse dylib in tests

---------

Co-authored-by: cyan <cyjan@mrcyjanek.net>
2024-12-01 09:02:20 -05:00
cyan
1d8e0fb30b ledger changes (#41)
* ledger changes
* minor fix
* Implement monero queryWalletDevice
* update checksums
* Remove ledger_flutter_plus dependency
---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-10-21 12:54:58 +02:00
cyan
d04dcf67ec initial work on docs (#69)
* initial work on docs
* fix DOCKER_VERSION
* update location
* add the path **properly**
* Update docs workflow
2024-10-17 10:50:22 +02:00
Mateusz Franik
fd7bb6ae1c feat: wownero typescript bindings, regression tests (#71)
* regression tests
* ci: move regression_check to full_check workflow, reuse artifact build
* feat: support wownero in monero.ts bindings
* ci: test wownero regressions as well
* extract wownero-cli as wownero
* actually load wownero when specified
* fix: commitUR not being a symbol in wownero
2024-10-16 07:55:11 +02:00
cyan
44fd5e17bb Maintenance and minor fixes (#68)
* remove LICENSE from monero.dart
* fix android builds
2024-10-11 08:59:50 +02:00
cyan
714eb29f1f Remove apps from CI 2024-10-05 22:55:46 +02:00
Czarek Nakamoto
6eb571ea49 fix coin control
drop xmruw ci for the time being
2024-09-27 20:00:41 +02:00
cyan
d194094494 feat: deno ffi bindings (#40)
* initial ts commit
* monero.ts improvements
* test on latest, build on debian:bookworm
* feat: upstream changes to bindings
* chore: update checksums
* feat: allow manually loading dylib
* chore: add readme
* fix: free strings after being read to prevent potential memory leaks
* fix: load dylib
* fix: checksum checks segfaulting because of freeing const variables

---------

Co-authored-by: Mateusz Franik <47059999+Im-Beast@users.noreply.github.com>
Co-authored-by: Im-Beast <franik.mateusz@gmail.com>
2024-09-19 10:59:07 +02:00
cyan
0b91e91d19 add cakewallet secrets 2024-09-16 21:00:04 +02:00
cyan
9d9a83a735 add missing secrets 2024-09-09 14:23:49 +02:00
cyan
cfc9fc2d7a new ci scripts (#37) 2024-08-14 16:49:49 +02:00
cyan
06208221de fix cakewallet ci (#30) 2024-08-14 13:41:11 +02:00
Czarek Nakamoto
bcb328a495 bump java version in cake wallet ci 2024-08-02 21:16:37 +02:00
cyan
8102efa72b add action to check for invalid dependencies (#28)
* add action to check for invalid dependencies
* downgrate polyseed to v2.0.0
2024-08-02 18:04:56 +02:00
cyan
0737e1a7a1 Fix darwin builds (#24)
* Update wownero_libwallet2_api_c.exp
2024-07-30 20:22:25 +02:00
cyan
373588247b Generic safety cleanup (#22)
* create checksum system for versioning
* minor changes to CI
* dart ffi cleanup
* update checksums
2024-07-30 17:46:55 +02:00
cyan
3b9928a665 Embed monero.dart into monero_c (#16) 2024-07-30 14:05:19 +02:00
renovate[bot]
734662a597 chore(deps): update subosito/flutter-action action to v2 2024-07-28 08:37:01 +02:00
renovate[bot]
09dc66d243 chore(deps): update actions/setup-java action to v4 (#18)
* chore(deps): update actions/setup-java action to v4

* add distribution

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2024-07-28 08:36:38 +02:00
renovate[bot]
64895accd1 chore(deps): update actions/github-script action to v7 2024-07-27 19:57:23 +02:00
cyan
b22312f656 add cakewallet to ci (#15) 2024-07-27 18:46:00 +02:00
cyan
e22bf81665 reduce size of macos cache 2024-07-26 14:57:42 +00:00
cyan
700a6cb788 update readme, ccache support for sailfishos, ccache for all releases 2024-07-25 16:20:11 +00:00
cyan
58450de2ea remove android_ndk to save on android storage 2024-07-25 06:24:55 +00:00
cyan
92f11ab429 disable docker runner on android
+other updates
2024-07-25 05:24:16 +00:00
cyan
58d0e11570 update action to cache android as well 2024-07-25 00:40:57 +00:00
cyan
495810af86 update CI script 2024-07-24 23:39:48 +00:00
cyan
30b4ad53ce add caching to github builds 2024-07-24 20:12:54 +00:00
cyan
befc3e7869 use buildjet CI 2024-07-24 18:41:40 +00:00
Czarek Nakamoto
6fa459b035 fixes 2024-07-03 10:49:14 +00:00
Czarek Nakamoto
54ca1f79d9 use release/ so it is easier to grab the resulting builds 2024-07-01 12:08:14 +00:00
cyan
6fb9f780c4 remove pr-comment 2024-07-01 09:51:10 +00:00
cyan
20d31caf65 drop cache entirely 2024-07-01 09:18:11 +00:00
cyan
662ad04d72 initial cache 2024-07-01 08:21:16 +00:00
cyan
9a08ad80f0 Update pr-comment.yaml [skip ci] 2024-07-01 09:12:40 +02:00
cyan
b0b8b733d9 ci: ios and macos builds
ci: split xmruw builds
2024-06-30 22:19:57 +00:00
cyan
f61741fb8b Update pr-comment.yaml [skip ci] 2024-06-30 23:36:09 +02:00
Czarek Nakamoto
d402796c15 free runner storage 2024-06-30 18:12:00 +00:00
Czarek Nakamoto
f5efc81ddf apply wownero patches 2024-06-30 16:13:41 +00:00
Czarek Nakamoto
5ab59ac0e0 fix xmruw build for wownero 2024-06-30 15:41:39 +00:00
Czarek Nakamoto
8af6b773b7 fix: wownero seed giving incorrect
add: pr-comment.yaml
2024-06-30 11:53:21 +00:00
Czarek Nakamoto
a117d701b1 make test apk --debug'able 2024-06-28 18:35:16 +00:00
Czarek Nakamoto
3dda641ced wowner: fix store crash
fix: xmruw ci build
devcontainers
2024-06-28 11:35:47 +00:00
cyan
aed83e7c08 proper path for artifact 2024-06-28 09:59:50 +00:00
cyan
b850dc11dd build changelog 2024-06-28 09:33:13 +00:00
cyan
8ea6f97f16 don't build inside of debian container 2024-06-28 08:59:57 +00:00
cyan
814c2437db don't clone unnamed_monero_wallet multiple times 2024-06-28 08:34:39 +00:00
Czarek Nakamoto
19fcc2ca32 add jq to dependencies 2024-06-28 10:11:36 +02:00