-
Notifications
You must be signed in to change notification settings - Fork 12
feat(monero-sys): Monero bindings #303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…round basic Wallet functions, depends on monero#9464
Removed the monero-wallet crate which was not being used anywhere in the codebase, simplifying the project structure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
We will first replicate the monero wallet rpc interface, to keep our changes in the codebase minimal. These are the functions we currently use:
|
Check out this code from the We can most likely easily copy most of the integration tests from there. I'd try to keep it as simplistic as possible though. We only need to test the I'd also recommend you check out lib.rs from the same PR. You might pick up on some useful patterns. sneurlax and MrCyjaneK have a ton of experience working with |
I got this compiling and tested out a swap! Awesome Some thoughts:
|
I think some change to the caching made the build process loop indefinitely
|
CI is failing because of: actions/runner-images#6680 Using larger runners or creating a swap file should do the trick. |
Recovery from keys seem to fail. I have also experienced this while testing manually. |
How Feather wallet does node management: https://deepwiki.com/feather-wallet/feather/4.1-node-management Feather maintained list of default nodes: https://github.com/feather-wallet/feather-nodes/blob/master/nodes.yaml |
This PR aims to bringt support for native Monero bindings to our codebase. We'll be migrating away from
monero-wallet-rpc
and towardscxx
bindings on top ofwallet2_api.h
.Closes #114
This PR imports @Einliterflasche work on the
monero-wallet-sys
to this mono-repo.Non-exhaustive task list:
monero
crate formonero-sys
(e.gmonero::Address
)statusWithErrorString
to return an error if an FFI call likecreate_wallet
failsasync_refresh
and return once refresh is finishedcore/swap/src/monero/wallet.rs
to usemonero-sys
monero-harness
towards usingmonero-sys
under the hood. If this is possible removemonero-rpc
. Decide on: Do we want to keep themonero-wallet-rpc
wrapper functions around? If so, why?monero-wallet
crate is not used at all. Remove it after confirming.monero-sys