menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Blockchain News

>

A Starknet...
source image

Dev

2d

read

192

img
dot

Image Credit: Dev

A Starknet transactions batcher

  • This article presents the transactions batcher used in Metacube to send NFTs earned by players instantly.
  • The Batcher is composed of two main actors: The Builder and The Sender actor.
  • The Builder receives the transactions, batches them into a single multicall transaction, and sends it to the Sender actor.
  • The Sender finalizes the transaction with appropriate fields, signs it, sends it to the Starknet network, and monitors its status.
  • The Batcher is a scalable and efficient batcher with its actor-based architecture.
  • The implementation is specific to Go and sending NFTs from the same contract.
  • One could estimate the fee cost of the batch transaction before sending it, but when changes made to the transaction, it must be signed again.
  • The batcher presented is versatile but can be generic, and the sender account can be specified.
  • The code is easy to use, as a CLI tool to send a bunch of NFTs by batch.
  • The Batcher is a key infrastructure component used by Metacube, and the article enlightens its functionality to share with the community.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app