backend_skill

This skill helps you manage MultiversX backend operations by handling transactions, data ingestion, and API integration across Go, Python, and TypeScript.

2

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill michavie/mx-ai-skills --skill backend

  • SKILL.md24.5 KB

Overview

This skill provides expert backend patterns and implementations for MultiversX using Go, Python, and TypeScript. It focuses on microservices, off-chain logic, transaction lifecycle, and reliable blockchain integration. Use it to build performant APIs, background processors, and secure transaction pipelines that interact with MultiversX nodes and proxy APIs.

How this skill works

The skill inspects and documents server-side components: SDK usage (Go, TS, Python), proxy/observer access, transaction construction/signing, nonce handling, and data ingestion. It outlines concrete workflows for building, simulating, signing, broadcasting, and resubmitting transactions, plus reading contract state via VM queries or Elasticsearch. It also prescribes integration points for NestJS, Redis caching, and notifier-based push updates.

When to use it

  • Building high-throughput microservices that send many signed transactions
  • Implementing API backends or serverless endpoints for MultiversX dApps
  • Automating on-chain data ingestion, indexing, and event-driven notifications
  • Writing scripts or data pipelines for analytics and off-chain processing
  • Integrating user login verification (NativeAuth) or ledger-based signing in backend flows

Best practices

  • Choose SDK by workload: Go for performance, TypeScript for web backends, Python for scripting and analysis
  • Manage nonces locally (NonceHandlerV3 pattern) for concurrency and throughput
  • Always simulate gas costs before broadcast and estimate gas limits conservatively
  • Reuse proxy/network clients, pass context with timeouts, and implement retry/resubmission logic
  • Keep private keys out of code: use keystores, PEM, hardware wallets, or secure secret managers

Example use cases

  • A Go microservice that constructs, signs, and batches ESDT transfers with local nonce handling
  • A NestJS API that verifies NativeAuth tokens, exposes VM query endpoints, and caches network config in Redis
  • A Python ETL that listens for SwapExecuted events, indexes them into Elasticsearch, and triggers notifications
  • A relayer service that constructs inner user transactions, signs relayer envelopes, and manages resubmissions
  • A monitoring tool using TransactionInteractor to detect and resolve stuck transactions

FAQ

Use Go for high-performance microservices and heavy throughput; TypeScript for web APIs and serverless; Python for ad-hoc scripts, data tasks, and quick automation.

How do I avoid nonce collisions when sending many txs?

Use a local nonce handler (NonceHandlerV3) that fetches the initial nonce from proxy, applies nonces per tx, and increments internally. Combine with transactional queues and retries for robustness.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational