Commit Graph

312 Commits

Author SHA1 Message Date
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
c41c4dad9a fix queryWalletDevice on corrupted wallets 2024-11-27 23:30:18 +00:00
Konstantin Ullrich
d72c15f433 use usleep instead of sleep (#88) 2024-11-13 10:44:50 +01:00
Konstantin Ullrich
d47fb52828 Remove ledger_flutter_plus dependency 2024-11-11 16:55:28 +01:00
Konstantin Ullrich
8182ca416e Add MONERO_WalletManager_queryWalletDevice to monero_libwallet2_api_c.exp 2024-11-11 16:28:04 +01:00
julian-CStack
1ef9024e43 Ios script fix (#85)
* fix: mv will fail on consecutive runs
* fix: script cp error
2024-11-05 11:44:41 -05:00
cyan
dab8a211c1 GPLv3 -> LGPLv3 2024-11-01 19:23:44 +01: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
cyan
939040032f Fix freeze coin info (#73)
* Enable stdout/stderr logging to logcat on android
* coin control fix
2024-10-16 17:34:19 +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
renovate[bot]
fdd92dff2d chore(deps): update external/libsodium digest to 3c6da4b 2024-10-06 08:36:29 +02:00
renovate[bot]
baa59feda4 chore(deps): update external/libexpat digest to 038a0bf 2024-10-06 08:00:59 +02:00
cyan
714eb29f1f Remove apps from CI 2024-10-05 22:55:46 +02:00
cyan
67f4baa015 add C# code 2024-09-28 11:24:46 +02:00
renovate[bot]
b29a91204f chore(deps): update external/libzmq digest to 90b4f41 2024-09-28 11:24:21 +02:00
renovate[bot]
c5cfbf436b chore(deps): update external/libsodium digest to 6edcd85 (#26)
* chore(deps): update external/libsodium digest to 6edcd85
* bump libsodium

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2024-09-28 11:24:03 +02:00
renovate[bot]
e6ca2a9f62 chore(deps): update external/libexpat digest to 46cf63a 2024-09-28 11:23:21 +02:00
renovate[bot]
33f36186c8 chore(deps): update dependency lints to v5 2024-09-28 11:23:06 +02:00
Czarek Nakamoto
6eb571ea49 fix coin control
drop xmruw ci for the time being
2024-09-27 20:00:41 +02:00
Czarek Nakamoto
50adbbc409 update OpenSSL-for-iPhone 2024-09-27 18:46:01 +02:00
renovate[bot]
3071824c0f chore(deps): update ghcr.io/cirruslabs/flutter docker tag to v3.24.3 2024-09-21 10:41:44 +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
renovate[bot]
f90b1f57b1 chore(deps): update external/libexpat digest to 624da0f 2024-09-09 14:24:14 +02:00
renovate[bot]
51e4a30a34 chore(deps): update external/libzmq digest to 64db7d2 2024-09-09 14:24:04 +02:00
cyan
9d9a83a735 add missing secrets 2024-09-09 14:23:49 +02:00
renovate[bot]
0868b9bc3c chore(deps): update dependency ffigen to v14 2024-09-08 17:52:23 +02:00
cyan
4f844740bc use less memory for debugCallLength Map (#48)
* use less memory for debugCallLength Map
* ignore errors in default debug functions
2024-09-08 17:52:09 +02:00
cyan
1e22390f51 fix find wallets (#46)
* Update WalletManager_findWallets
* prevent crash when there are no wallets found
* return List<String> instead of colon separated String
2024-09-04 14:57:12 +02:00
Czarek Nakamoto
811ade0116 Fix build issues on latest ubuntu 2024-09-03 08:43:23 +02:00
Czarek Nakamoto
3cb38bee93 std::set -> std::vector 2024-08-28 14:34:16 +02:00
Czarek Nakamoto
00a935025e update checksum 2024-08-28 14:34:16 +02:00
Czarek Nakamoto
b1f49d4b99 fix multdest mixing 2024-08-28 14:34:16 +02:00
renovate[bot]
294b593db3 chore(deps): update external/libzmq digest to 0ed7a08 2024-08-26 09:54:52 +02:00
renovate[bot]
e6d6131c09 chore(deps): update external/libexpat digest to ed4090a 2024-08-26 08:46:23 +02:00
renovate[bot]
1a3b381e5f chore(deps): update external/ios-cmake digest to ad96a37 2024-08-26 08:46:10 +02:00
cyan
d7a38301ec Monero v0.18.3.4 (#38)
* updated monero dependency
* update patches for v0.18.3.4
* update generate checksum to include version of submodule as well
2024-08-26 06:57:16 +02:00
renovate[bot]
9c5459c51e chore(deps): update ghcr.io/cirruslabs/flutter docker tag to v3.24.1 2024-08-22 07:53:21 +02:00
cyan
41c58acb95 Link wallet-crypto on android (#36)
* Link wallet-crypto on android
* build wallet-crypto for android x86_64
2024-08-16 21:01:02 +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
5de323b1ba fix macos rosseta builds 2024-08-12 15:45:56 +02:00
Czarek Nakamoto
bcb328a495 bump java version in cake wallet ci 2024-08-02 21:16:37 +02:00
renovate[bot]
d56b480abe chore(deps): update ghcr.io/cirruslabs/flutter docker tag to v3.22.3 2024-08-02 18:05:40 +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
renovate[bot]
4212040f0b chore(deps): update external/libzmq digest to b95d949 2024-08-02 17:09:19 +02:00
cyan
f2e150bf89 update ios scripts to not clone dependencies at build time (#25)
* update ios scripts to not clone dependencies at runtime
* fix ios build scripts
2024-08-01 12:58:41 +02:00
cyan
0737e1a7a1 Fix darwin builds (#24)
* Update wownero_libwallet2_api_c.exp
2024-07-30 20:22:25 +02:00