cardanoapi / autonomous-agents

Cardano network testing using autonomous agents
https://agents.cardanoapi.io
1 stars 1 forks source link

Support Tx Submission Hold #81

Closed mesudip closed 1 month ago

mesudip commented 2 months ago

When an agent has a new behavior trigger, And a transaction from previous trigger is still pending, Then agent trigger should wait for previous transaction to be completed.

This is dependent on this issue: https://github.com/sireto/cardano-autonomous-agent/issues/85

mesudip commented 2 months ago

Challenge

When an agent submits a transaction, it should wait for the transaction to be confirmed on the blockchain before performing any other action.

Implementation idea

Agent received events from blockchain on each new block. So when each new block is created, it should check whether or not it's transaction has been added to new block.

Only after the old transaction has been added to a block, agent is ready to perform new transaction.

Sital999 commented 1 month ago

Acceptance Criteria

It has been completed and deployed

mesudip commented 1 month ago

This feature is a little unstable but working in current deployment