The application relates to the technical field of cross-chain transactions of blockchains, and discloses a
digital asset multi-chain collaborative transaction
system and method based on a
smart contract. The method comprises the following steps: receiving a multi-chain transaction instruction of a user and performing analysis, generating a task description and registration; continuously detecting
network connectivity and ledger synchronization height of related blockchains, and dynamically creating a candidate
blockchain list according to the
network connectivity and the ledger synchronization height; dynamically configuring an independent connection agent process suitable for a communication protocol of each chain in the candidate
list, and initializing a memory work area of the independent connection agent process; listening to events of the corresponding chain through each agent process, triggering a to-be-executed task from a
task list, generating a chain transaction request and submitting the chain transaction request to a target chain
verification node; and finally updating a task state according to a response result. The method can automatically adapt to network dynamic changes, supports flexible access and reliable
collaboration of heterogeneous blockchains, and improves the
automation level and the execution success rate of cross-chain transactions.