Inter-Process Communication (IPC)
IPC
Due to process separation, the Main Process and each Module Process must communicate via IPC (Inter-Process Communication). (IPC between different Module Processes is not permitted.)
This IPC is implemented using Android AIDL, and AnamWallet currently supports the following Main-to-Module IPC methods
String createAccount(in String encMessage, in String encryptedAESKey, in String encryptedIV);
String generateRsaKeys();
Map<String, String> getComponents(String method);
String getSymbol();
String request(in String requestJson);
boolean setModule(in String coinModuleFQCN);
boolean setAccount(in String coinModuleFQCN, in String keyStorePath, in String encMessage, in String encryptedAESKey, in String encryptedIV);
void killService();
Developers who want to add their own coin to AnamWallet must implement createAccount
, getComponents
, getSymbol
, and request
.
For more details regarding these implementations, please refer to the Implementation section.
Last updated