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
  • Method alias
  • 1. anam_newAccount
  • 2. anam_getBalance
  • 3. anam_sendFunds
  1. Developers
  2. MODULE

Essential JSON-RPC Methods

Method alias

Developers intending to deploy a module must assign aliases to methods based on their specific functionalities.

For example, a method responsible for transferring funds should be given the alias anam_sendFunds, a method that retrieves account balances should use the alias anam_getBalance, and a method for creating accounts and generating keystores should be assigned the alias anam_newAccount.

1. anam_newAccount

  • Function: Create a new account (Keystore)

  • Description: Decrypts the double-encrypted password using RSA/AES to generate a Keystore file.

2. anam_getBalance

  • Function: Check the balance of a specific address

3. anam_sendFunds

  • Function: Internal fund transfer function within AnamWallet

  • Description: When a user inputs the requested component elements, it queries the account with the provided values, creates a RawTransaction, signs it, and sends it.

These three methods are the core components that perform the most basic wallet functions of account creation, balance checking, and fund transfer in AnamWallet. Each method is invoked in the form of JSON-RPC and is handled securely within a multi-process architecture.

Standard Name
Function
Example

anam_sendFunds

send Money

eth_sendTransaction

anam_newAccount

create new keyStore file

eth_createWallet

anam_getBalance

view cryptocurrency balance

eth_getBalance

PreviousCoinmodule InterfaceNextApply your Module with DFM

Last updated 5 months ago