Research Article

Trust-Based Smart Contract for Automated Agent to Agent Communication

Algorithm 1

Agent enrollment.
Input: request to register from the smart contract
Output: agent added to the smart contract
(1)procedure assign_agent (Agent_type, Account)
(2)add agent and account in agent’s mapping
(3)end procedure.