SShortSingh.
Back to feed

How to Resume an AI Agent's Blockchain Transaction Observation After a Timeout

0
·3 views

When an AI agent submits a blockchain transaction and its client wait period expires, the original operation's tracking data can be lost if not properly stored. Developers using PriorSeal's TypeScript SDK can recover by persisting the transaction hash, chain ID, authorization ID, and observation job ID in durable storage before a timeout occurs. A sample Node.js script demonstrates how a restarted process can reconnect to an existing observation job and poll it for completion without resubmitting the transaction. The guide stresses that a timeout should never automatically trigger a new trade, as recovery workers are only responsible for monitoring the original operation. Developers are also warned that a completed observation job does not by itself confirm a transaction succeeded, and that receipts may require independent verification.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Student Builds 64M-Parameter Language Model from Scratch, Tests Reasoning Limits

A computer science student at Politeknik Negeri Jakarta built Klyra-64M, a 64-million-parameter language model trained entirely from random weights rather than fine-tuning an existing model. The project was motivated by curiosity about whether a very small language model — well under 100 million parameters — could still learn language, follow instructions, and perform basic reasoning. Using the open-source MiniMind-3 Dense architecture as a base, the model was pretrained on approximately one billion tokens from the Ultra-FineWeb dataset, achieving a validation perplexity of 10.643. The student then continued training with an additional two billion tokens to broaden the model's knowledge before moving on to instruction tuning and reinforcement learning experiments. The base checkpoint, Klyra-64M-Base, has been publicly released on Hugging Face for further research.

0
ProgrammingDEV Community ·

Developer builds on-device iPhone app using Laya model to analyze relationship questions

A developer has created a Chinese-language iPhone app called 他爱我吗 that uses a Core ML conversion of the Laya multilingual model to evaluate relationship questions entirely on-device. Users describe a situation and the app compares candidate answers—such as affection, no affection, or uncertainty—returning relative scores rather than definitive predictions. Chinese speech input is transcribed locally using SenseVoice, and all interaction history stays on the device to protect personal data. The developer is explicit that output scores reflect the model's relative preference among given options and are not evidence of any person's actual feelings. Several evaluation questions remain open, including whether answer ordering or phrasing changes results, and the app is not being released as an open-source project.

0
ProgrammingDEV Community ·

Fine-tune a 4B LLM into a fast classifier for under $5 using LoRA

A developer on DEV Community has outlined a method to convert Qwen 3.5, a compact 4-billion-parameter open-weights language model, into a rapid text classifier using LoRA fine-tuning. The approach targets common production tasks such as helpdesk ticket routing, user intent detection, and policy validation, where low latency matters more than generative ability. Training uses roughly 38,000 examples drawn from datasets like MultiNLI, BoolQ, and Banking77, supplemented with synthetic data, keeping costs surprisingly low. The model is prompted to return a single token answer from a fixed set of options, reducing output ambiguity and generation time. Serving is handled via vLLM, enabling response times in the hundreds of milliseconds once the endpoint is warm.

0
ProgrammingDEV Community ·

Solo founder runs entire startup using coordinated Claude Code AI sessions

A solo founder has built and operates BlueVeta, a marketing automation startup, entirely through a team of coordinated Claude Code AI sessions, each assigned ownership of a specific business domain such as billing, image generation, and copywriting. The sessions communicate across domains, maintain shared documentation as institutional memory, and are required to report findings to the founder before anything is built, deployed, or spent. The founder, who is not a developer, describes the setup as analogous to managing a distributed team where every member is an AI session. BlueVeta allows users to upload a single product photo and receive a full multi-platform marketing campaign within minutes, with roughly 75% of the work handled by Claude. The platform currently has paying customers via Stripe, and the founder credits the multi-session coordination model with catching errors — including a near-mislabeling of real customer photos as test data — before they caused harm.