Fabian Georgi · Draft date: ·Architecture
From C++ to iOS: Building a Native Blockchain Wallet for Qwertycoin
My Qwertycoin iOS wallet as a personal community project: SwiftUI, C++ integration, native builds, data compatibility and the path to the App Store.

Developing a blockchain wallet for iOS involves much more than building a screen for balances and transactions. The application must interoperate with its network, manage cryptographic keys correctly, integrate native libraries for different Apple platforms and maintain a comprehensible state when things go wrong. Ultimately, the result must be more than working source code: it must be a specific, signed product that can be released.
In my spare time, I developed a native wallet for iPhone and iPad for the Qwertycoin project and contributed to its publication in the Apple App Store. After an extended development and review phase, the application is available in the German App Store. The listing checked on 1 December 2026 specifies version 1.0 and requires at least iOS 17. This does not establish worldwide availability or identify a particular internal release candidate. The project was neither a client engagement nor part of my professional employment. It was my personal contribution to a community that has spent years working on an independent blockchain.
This article explains the engineering: adapting existing open-source components, integrating a C++ wallet core with Swift, and checking the native build and release process. The boundaries between systems were particularly interesting to me. This connects with my work on systems integration and middleware: responsibilities, data contracts and failure states remain central even when the technologies change.
Project at a glance
| Aspect | Context |
|---|---|
| Product | Native Qwertycoin wallet for iPhone and iPad |
| My contribution | Development and integration of the iOS wallet as a personal community project |
| Technologies | Swift, SwiftUI, C, C++, Swift Package Manager, CMake, Xcode, WidgetKit |
| Platform | iOS and iPadOS 17 or later |
| Architecture | Native wallet engine, C-compatible interface, Swift integration layer, application and widgets |
| Publication | Apple App Store |
Starting point: a new wallet for an independent network
Qwertycoin (QWC) is an independent cryptocurrency with its own blockchain. With Qwertycoin v2, its technical foundation moved to a core derived from Monero 0.18.x. The network uses RandomX proof of work and supplements block rewards with a deterministic service-node component called Egalitarian Proof of Service (EPoSe).
The EPoSe case study, in German, covers the service layer separately. Here, the focus is mobile integration. One distinction matters immediately: shared software ancestry does not make two blockchain networks compatible. Qwertycoin has its own network identity, address prefixes and consensus parameters. Renaming a Monero binary does not turn it into a functioning Qwertycoin wallet.
Qwertycoin v2 is not simply a continuation of the old Qwertycoin chain, either. Recovering key material and recovering a balance from a previous network are different operations. Wallet import must not create expectations that the underlying core cannot fulfil.
My first development priority was therefore a controlled wallet path: create a wallet, back up recovery data, restore it, synchronise with a suitable node, and prepare and process payments. Additional features should not take priority over basic interoperability.
Why I adapted existing open-source components
I did not develop new blockchain cryptography or attempt to rewrite the complete wallet engine in Swift. Neither would have been a sensible engineering decision for this project. For software that handles private keys and financial transactions, reusing an established implementation is an important starting point. It does not, however, remove the need to verify the integration.
The foundation consisted of several existing components: a SwiftUI application derived from MoneroOne; MoneroKit.Swift, originally developed by Horizontal Systems for Unstoppable Wallet; and a C wrapper and native build infrastructure based on monero_c. Underneath sits the Qwertycoin core, itself descended from Monero and CryptoNote. These origins remain explicit: MoneroOne provides the application baseline, Horizontal Systems the original Swift kit, monero_c the wrapper foundation, and Monero and CryptoNote the core ancestry. Their respective licence and copyright notices belong in the project documentation. My contribution does not replace that prior work.
My work was to adapt these components to Qwertycoin and bring them together as a native iOS application. This included QWC network compatibility, replacing the native wallet library, adapting data and function contracts, defining the supported feature set, and verifying the build and release path.
A fork is not evidence of quality. Inherited features need to be reassessed for the target network, interfaces and operating system. Some of the most important decisions in this project were therefore decisions not to carry features forward.
Architecture: four components and a separate network interface
The mobile solution spans four independently versioned components, maintained in private repositories. The names below describe their responsibilities, not their internal repository names. A separate RPC gateway was also provided for controlled wallet access. This separation makes responsibilities and origins visible, but creates another obligation: compatible revisions need to be maintained together.
| Component | Responsibility |
|---|---|
| Native iOS application | SwiftUI application, user interaction, wallet management, platform integration, widgets and application tests |
| Swift Wallet Kit | Swift package with wallet abstraction, synchronisation states, C/C++ bridge and embedded XCFramework |
| Native core builder | Native cross-compilation, library assembly and production of verifiable build artifacts |
| iOS Wallet Core | iOS-adapted Qwertycoin core sources with Wallet2 and cryptographic protocol logic |
| Separate RPC gateway | Restricted access to node interfaces intended for wallets |
The SwiftUI interface should not decide how to serialise a blockchain transaction or create a wallet from a recovery seed. Those operations belong in the wallet engine. The Swift kit connects native functions with application state, including balances, synchronisation progress and transaction history.
For internal source compatibility, the package retains some original names such as MoneroKit. What matters is the native library actually linked into the application. The package name neither proves network compatibility nor implies that the app creates Monero transactions.
The separation has practical benefits. Interface changes do not necessarily require rebuilding the C++ core. Conversely, a native artifact change can be examined independently before it reaches the application. A version change still crosses component boundaries when it alters the interface contract. Historical beta documentation, later build records and current sources describe different states. I do not treat them as interchangeable evidence for the shipped product.
Crossing the Swift/C++ language boundary
The Qwertycoin core exposes wallet functions through a native C++ API. The iOS application accesses them through a C-compatible interface. Swift imports the C module, which connects the application to the Wallet2 implementation through wrappers.
The benefit is not that C interfaces are automatically safe. Instead, the design creates an explicit boundary where supported operations, data types, errors and memory lifetimes must be handled. The integration layer works with native wallet pointers and translates engine events into Swift state. It uses separate dispatch queues for refresh and event processing. That alone is not a general thread-safety guarantee.
Message signing provides a concrete example. The native wallet core already implements signing with the spend key. For verification to work reliably, the exact bytes that the user intends to authorise must cross the language boundary unchanged.
A message is not simply an arbitrary C string. Unicode composition, line endings, whitespace and embedded null bytes must not be changed inadvertently during transfer. In this path, the Swift interface therefore accepts Data, and the C bridge receives an explicit byte length. A wallet without a spend key cannot create a signature, but can be used to verify one.
This is a characteristic integration problem: the cryptographic primitive may be correctly implemented while producing the wrong result because its input was altered on the way there. An interface contract therefore extends beyond the function signature in a header.
Build engineering: turning C++ sources into an iOS XCFramework
Providing the native wallet library for Apple's platforms was one of the more demanding tasks. An existing desktop build or Monero artifact is not sufficient. Nor is an ARM64 build automatically suitable for both physical iPhones and the iOS Simulator: they use different SDK and platform contexts.
The Qwertycoin-specific builder produces two separate native slices: ARM64 for physical iOS devices and ARM64 for the iOS Simulator on Apple Silicon. They are assembled into an XCFramework, Apple's package format for platform-specific library variants, which Swift Package Manager consumes as a binary target. The Swift package also contains the C/C++ wrapper and the integration layer's dependencies.
The builder checks the core revision, native submodules and checksums of selected source archives. Its build record also captures Xcode and compiler versions, SDKs, deployment target, build configuration and SHA-256 checksums for both archives. A fixed build timestamp reduces time-dependent differences in part of the toolchain.
This makes a build more traceable and easier to inspect. It does not establish fully reproducible binaries: bit-identical reproduction would require independent repeated builds. A checksum identifies a particular artifact; it does not prove that artifact is secure. Likewise, a pinned dependency is not necessarily current or secure just because its version is fixed. Maintaining native dependencies remains a separate responsibility. The documented build is not a recommendation to retain its versions indefinitely.
The C++ core also needed iOS portability changes. For example, macOS-specific power APIs had to be excluded from iOS, and RandomX just-in-time compilation had to be disabled there. These changes are distinct from the desktop core. They do not mean the mobile wallet performs mining, or that every RandomX reference can be removed from its cryptographic libraries.
Another important boundary concerned the inherited patch system. Historical upstream patches were not all applicable to the Qwertycoin core version. Rather than accepting a partially applied series, the QWC-specific toolchain explicitly rejects that path. Unsupported functions are not replaced with empty native stubs merely to make the linker succeed.
Why a successful build is not enough
A compiled static library can still contain the wrong network identity, export missing or unwanted symbols, or target the wrong Apple platform. The kit therefore checks the native Application Binary Interface (ABI)—the binary contract between calling code and library—and artifact metadata in addition to compilation.
Checks cover expected wallet creation and recovery symbols, the absence of specified unsupported wallet functions, QWC network identity, platform assignments for both slices and the deployment target. Known incorrect upstream artifacts are also rejected by fingerprint.
Adopting a new framework is a separate step. The installer requires the corresponding build record and compares archive checksums. A failed replacement should not simply destroy the previous library version, so the script uses a staging directory and a fallback copy.
This lesson transfers to other software projects. I discuss related questions about evidence and its limits in Tests, replay and operations, in German: a binary artifact has a contract that goes beyond its filename extension. Treating that contract as an assumption moves integration failures into later project stages.
Wallet interoperability is a product property
A mobile wallet must behave correctly on the Qwertycoin network. This includes recovery with its native 25-word seed, address validation, node selection, synchronisation, amount handling and transaction processing.
Not every seed format inherited from the original implementation automatically has a compatible Qwertycoin specification. Polyseed and BIP39 creation were therefore excluded from the documented QWC profile. Nor was every hardware or offline-signing feature retained. A visible menu item would not demonstrate that another compatible wallet can restore the result.
Amount handling offers another concrete example. QWC uses eight decimal places. Payment links using the qwertycoin: URI scheme must interpret amounts exactly and reject invalid values. 0.00000001 represents one smallest atomic unit. Additional decimal places are permissible only when they do not change the value beyond the supported precision.
Tests for the strict payment-link path cover incorrect schemes, malformed addresses, scientific notation, negative amounts, overflows and unsupported payment IDs. This makes a data contract testable that could otherwise diverge between interface and core. The QR scanner is a separate path: it can retain a recognised address while dropping an unusable amount, with further validation in the send flow. I therefore do not claim that scanner and strict link parser handle every error identically. A QR code is external input, not a trusted instruction to pay.
Security engineering: failure states must protect wallet data
A non-custodial wallet keeps private keys under the user's control rather than entrusting them to a central provider. That increases the responsibility for local key handling, backup and recovery. Face or fingerprint recognition provides local authentication; it replaces neither the recovery seed nor a cryptographic wallet backup.
Development therefore has to address more than the successful path. It must also consider a failed open operation, interrupted synchronisation or changes to stored metadata.
Wallet caches are one example. The Swift integration layer tracks whether a native wallet was opened successfully. Closing a wallet that failed to load must not blindly overwrite a previously working cache. Rescanning the blockchain cannot necessarily recover all locally stored information, including certain transaction-related keys.
Cache-directory identity is another example. An apparently harmless change in how a cache ID is derived can break compatibility with existing installations. If an unrecognised directory is classified as orphaned, data loss becomes possible. Tests therefore pin known derivation results and check that incomplete information about existing wallets does not lead to deletion of their cache directories.
These are persistent data contracts, not merely implementation details. They deserve the same attention as a public API. A refactoring must not make a test green by changing expected values if that breaks an existing compatibility requirement.
The boundary of this evidence matters: these checks and safeguards are not an independent security audit or a guarantee of a vulnerability-free wallet. Security-sensitive software requires continuing maintenance, especially of native dependencies.
Network access and privacy are different responsibilities
A mobile wallet does not have to run a full node holding the entire blockchain on the phone. It needs network access to synchronise relevant blockchain data and submit prepared transactions. The project provides a restricted HTTPS interface for Remote Procedure Calls (RPC), meaning network requests to node functions, rather than exposing every administrative operation. The application also supports configured custom nodes within its documented scope.
This architecture distinguishes local key ownership from external data sources. Non-custodial does not automatically mean that network access creates no information. External services may process connection data. Displaying mining-pool statistics also requires querying a selected public payout address.
Privacy analysis therefore extends beyond Swift source code. The development documentation explicitly recognises that server-side operational logs need to be considered when evaluating data processing. Disabling an application feature does not prove that all external processing has disappeared. Privacy policies and App Store disclosures must describe the system as it is actually operated.
This experience applies directly to enterprise software: a frontend controls only part of a data flow. Privacy and security require a shared view of backend systems, interfaces and operational processes.
Additional features: pool and EPoSe data
Alongside core wallet functions, the app displays information from the Qwertycoin ecosystem, including read-only pool and EPoSe data. These features are conceptually separate from transaction signing and private-key management.
The pool view reads statistics about external miners. The mobile app does not mine and does not act as a remote mining controller in this profile. A payout address associates the displayed data with an account. This distinction matters both for architecture and for an accurate product description.
EPoSe exposes another familiar integration challenge: an API returns data whose business meaning must be understood correctly. Current service qualification and the finalised membership used for a reward period are not necessarily the same. A later display revision illustrates why those states must be evaluated separately. That follow-up belongs to ongoing development; it cannot automatically be attributed to the first published store build.
The interface must not turn an unknown or stale state into a positive assertion. Displayed reward eligibility is not a guarantee of an actual payment, either. The semantics of external data are at least as important as its JSON structure.
Quality assurance must refer to a specific release candidate
The application includes unit and UI tests for areas such as wallet management, node selection, biometric authentication, amount formatting, payment URIs, cache IDs and security-related regressions. Native checks complement them by covering the C/C++ contract and defined feature scope.
For me, a result becomes meaningful only when its connection to a specific candidate is clear. That requires the tested application and library revisions, the environment, explicitly omitted checks and the resulting artifact. The latest repository state is not automatically the state of an application offered in the store.
Simulator tests, physical-device tests, real network transactions and inspection of a signed export artifact answer different questions. I do not equate them. A successful automated run proves neither every device configuration nor the security of future versions. Similarly, researching source material for this article is not a new native test run or an independent audit.
Negative checks were particularly useful. Which symbols must no longer be exported? Which platform metadata must block a build? Which persisted states must remain untouched after an error? A test that exercises only a successful standard workflow cannot answer these questions.
The aim is not an impressive test count. It is a traceable connection between a specific requirement, an appropriate check and the artifact that was actually examined.
App Store review: from working code to a releasable product
Development did not end with the first successful Xcode archive. Apple also reviews applications in terms of actual functionality, required external hardware, permissions and accurate product information. Review requirements had to be translated into changes to the application, native library and metadata.
One important step was reducing the application to a standalone software wallet. Hardware-wallet integration and location features, including geofencing, were removed from the active product. The changes reached beyond visible controls to related implementations, project registrations, permission descriptions and background modes.
Removing a feature does not mean deleting every historical record. For compatibility, existing external-signer records remain as view-only entries, without the removed hardware-connection and signing paths. This reduces product scope without endangering existing user data through an ill-considered migration.
The messenger feature was also not enabled for the documented store build. Its compile-time condition is absent from product build configurations. Remaining dependency code is a different matter: a disabled feature does not necessarily mean every related symbol has disappeared from the binary artifact.
Mining-control functions were excluded from the native contract for the wallet-only scope as well. Checks examine the native library and exported application artifact, not just the Swift project. Searching a binary for a word is not always enough: a remaining compatibility name is different from an executable product feature. Precise verification rules are needed, rather than blanket acceptance or rejection.
The final distinction is organisational. A checked archive, a distribution-signed IPA, TestFlight, selection of a particular build in App Store Connect, review submission and actual approval are separate states. A successful archive alone does not demonstrate store availability.
Publication marks an important conclusion to this development phase. It also begins another product lifecycle: bug reports, platform updates, native dependencies and future network changes still need to be handled in a controlled way.
What I take away from the project
Developing the Qwertycoin iOS wallet brings together disciplines that also shape my other software work: systems integration, architecture, build engineering, data compatibility, quality assurance and turning an implementation into a usable product.
I take five principles from the experience:
- Integrate existing implementations deliberately. Reuse is valuable when technical and domain contracts are understood. Origins and original contributions must remain distinguishable.
- Make interfaces explicit. Language boundaries, network formats and persisted data each define compatibility contracts.
- Reject unsupported functionality. A plausible interface or successfully linked stub does not establish interoperability.
- Bind checks to specific artifacts. Quality claims need corresponding versions, results and limits of validity.
- Treat publication as part of development. A product's technical, organisational and operational requirements need to fit together.
The project interested me because it reaches beyond one programming language. It demands an understanding of different components' responsibilities and the ability to manage their integration through to publication. That is what software engineering means to me: not just implementing features, but building a coherent, verifiable system from existing and new components.
The Qwertycoin wallet in the App Store
The native wallet is listed in the German App Store for iPhone and iPad, checked on 1 December 2026. I developed it as a personal contribution to the Qwertycoin project. Community feedback is welcome as part of its continued maintenance and improvement.
- Qwertycoin in the Apple App Store
- Qwertycoin project
- Apple: App Store Review Guidelines
- Apple: App Privacy Details
This article documents my engineering work. It is not investment advice, a security certification or instructions for handling production wallet keys. The iOS implementation is maintained in private repositories. Its architecture is therefore described through functional components; internal source-code references are not part of this article.
Artwork: original Qwertycoin mark, Qwertycoin project; technical diagrams and compositing prepared for this article. Artwork licence notices. These graphics do not depict an application interface.