DIMCredits Whitepaper
  • DIMCredits Whitepaper
  • Introduction
    • History
    • What is DIMCredits?
  • Core Concepts of DMAS and Holochain
    • Decentralized Multi-Agent Systems (DMAS)
      • What are DMASs?
      • Associated DePIN Network
      • Information storage mechanism
      • Validations
      • Identity management
      • Mutual currencies
      • Use cases
      • Community
      • Conclusion
  • Security in mutual credits
    • Security in mutual currencies
    • Governance mechanisms
  • Existing insurance solutions
    • Centralized credit insurance
    • Sharing economy
    • Blockchain-based parametric insurance
  • DIMCredits design
    • Overview
    • Governance
    • Workflows
    • Agents definition
      • Insurer agent
      • Debtor
      • Creditor
      • Reserve accounts
      • Broker
      • Validator
    • Transactions
      • DICs exchange
      • Agreement request
  • Legal
  • Bibliography and references
Powered by GitBook
On this page

Was this helpful?

  1. DIMCredits design
  2. Transactions

DICs exchange

When an agent sends DICs to another agent.

The design will be similar to the Holo’s one, all transactions are recorded as double-entry accounting records to the source chains of each agent participating in the transaction. For example, an insurance agent Alice agrees to send some DICs to the reserve account. They communicate with each other via node-to-node messaging to build a transaction for a two-phase commit process. Transaction Fields:

● Sender_ID: (hash of public key),

● Sender_Current_Header: (hash),

● Receiver_ID: (hash of public key),

● Receiver_Current_Header: (hash),

● Transaction_Amount: (double),

● Transaction _Fee_Promised (double),

● Transaction_Pre-auth: (hash -- optional) [if non-empty; and if initiated by Sender, then it is a payment request token reference found in the receiver’s source chain, and

● Initiated_by_Sender: (bit), [true = 1, false = 0]

● Transaction_Payload: (JSON string -- up to 512 characters - NULL terminated)

As a result, both parties actively participate in the transaction and must sign it to their chains. This is not a unilateral process performed by a single agent, but a mutually agreed-upon transaction with the opportunity to validate the other party’s state before transacting with them. Again, this underscores why no global consensus is needed. All nodes have the same validation rules and can reject transactions after performing required validations.

PreviousTransactionsNextAgreement request

Last updated 1 year ago

Was this helpful?