sync All
Syncs all stored credentials with on-chain state.
Iterates through all stored credentials and checks each one against on-chain state. Deployed credentials are removed from storage. Returns a summary of deployment statuses.
Return
A SyncResult containing counts of deployed, pending, and failed credentials
Throws
if reading credentials fails
Example:
val result = manager.syncAll()
println("Deployed: ${result.deployed}, Pending: ${result.pending}, Failed: ${result.failed}")Content copied to clipboard