AnamWallet
  • Developers
    • INTRODUCE
      • Purpose of AnamWallet
      • Key Features of AnamWallet
    • ARCHITECTURE
      • Main - Module Process
      • Inter-Process Communication (IPC)
    • MODULE
      • Coinmodule Interface
      • Essential JSON-RPC Methods
      • Apply your Module with DFM
      • How to use DFM
    • ENCRYPTION MANAGEMENT
      • Hybrid Encryption System
      • KeyStore File System
    • GUIDELINE
      • Version Requirements
  • Developers - 한국어
    • INTRODUCE
      • Purpose of AnamWallet
      • Key Features of AnamWallet
    • ARCHITECTURE
      • Main - Module Process
      • Inter-Process Communication (IPC)
    • MODULE
      • BlockchainModule Interface
      • Essential JSON-RPC Methods
    • ENCRYPTION MANAGEMENT
      • Hybrid Encryption System
      • KeyStore File System
    • GUIDELINE
      • Version Requirements
  • Users
    • INTRODUCE
    • HELP
    • FAQ
  • License
Powered by GitBook
On this page
  1. Developers
  2. ARCHITECTURE

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.

PreviousMain - Module ProcessNextMODULE

Last updated 5 months ago