Replace the JavaScript mobile app with a native Swift iOS wallet
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "KoinsSecp256k1.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// Objective-C++ bridge to the on-device monero-cpp wallet. A single JSON
|
||||
/// in/out entry point keeps the C++ surface out of Swift; work is serialized
|
||||
/// on a private queue because a monero_wallet_full is not thread safe.
|
||||
@interface KoinsMoneroWallet : NSObject
|
||||
|
||||
+ (void)invoke:(NSString *)jsonRequest
|
||||
completion:(void (^)(NSString *response))completion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user