16 lines
477 B
Objective-C
16 lines
477 B
Objective-C
#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 |