Skip to content

better Swift support#285

Open
radmakr wants to merge 5 commits intodogecoinfoundation:0.1.5-devfrom
radmakr:ios
Open

better Swift support#285
radmakr wants to merge 5 commits intodogecoinfoundation:0.1.5-devfrom
radmakr:ios

Conversation

@radmakr
Copy link

@radmakr radmakr commented Feb 4, 2026

Hey team. Not sure if it makes sense to merge this here?
I can always just continue to maintain my fork.

This adds a swift.package and a module map so that libdogecoin can be pulled into a swift project easily.
This stuff is boring and kind of difficult to get right quickly, so I let Claude do it. I reviewed it and it seems fine and it is all additive and shouldn't have any impact on any of the C code.

This branch on my fork is currently powering DogecoinKit
Which is powering DogecoinNodeSync
and the soon to be released Avocadoge

@edtubbs
Copy link
Collaborator

edtubbs commented Feb 5, 2026

Looks good, I’ll check it out. Thanks for building on libdogecoin!

Copy link
Collaborator

@edtubbs edtubbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommending a couple changes. Swift builds on Linux (Ubuntu 22.04) after adding -D_GNU_SOURCE.

radmakr and others added 2 commits February 13, 2026 14:40
Co-authored-by: Ed <ectubbs@gmail.com>
Signed-off-by: Thomas Rademaker <thomas@radmakr.com>
Co-authored-by: Ed <ectubbs@gmail.com>
Signed-off-by: Thomas Rademaker <thomas@radmakr.com>
@radmakr
Copy link
Author

radmakr commented Feb 13, 2026

done - I think it is ready for review again.

Copy link
Member

@xanimo xanimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants