A proposed XRP Ledger amendment, Batch (XLS-56), is generating excitement among developers and validators alike.
A pseudonymous
The change, according to Vet, enables the creation of a fully peer-to-peer NFT-to-NFT trading platform, allowing users to execute exchange-like NFT swaps in a single transaction.
For example, you could trade five of their NFTs for two NFTS owned by another party, all processed at the same time to ensure atomicity and security, said Vet on
At the time of writing, the Batch Amendment has reached a 68.57% consensus among validators, with 80% required for activation. XRP Ledger (XRPL) is a decentralized, open-source blockchain used by Ripple to build cross-border payment solutions.
XRP Validator Vet’s X-post. (X)
What is the batch amendment?
The Batch Amendment introduces atomic transaction capabilities to the XRP Ledger, allowing multiple operations to be grouped together and executed as a single unified transaction.
An all-or-nothing approach is chosen: all transactions in the group are completed successfully, or none, eliminating the risk of partial execution failure.
This atomicity principle has its roots in computer science and database management, where a series of operations are treated as a single, indivisible unit of work. Therefore, an atomic process means that the entire sequence of transactions is either fully executed or completely rolled back to ensure data integrity.
Atomicity on XRP Ledger can be valuable in complex NFT transactions or swaps that involve multiple steps, facilitating the development of advanced NFT marketplaces.
“This new amendment dramatically changes the functionality of the
A total of four batch modes are supported: ALLORNOTHING, ONLY ONE, UNTILFAILURE and INDEPENDENT. The availability of four modes provides flexibility in how multiple transactions are executed as a group, allowing developers to choose the best approach for their use case.
