The proposed XRP Ledger amendment, Batch (XLS-56), is generating excitement among developers and validators alike.
Vet, a pseudonymous
According to Waite, the amendment enables the creation of fully peer-to-peer NFT-to-NFT trading platforms, allowing users to barter-like swap NFTs in a single transaction.
For example, someone can trade five of their NFTs for two NFTs owned by another party, all processed together to ensure atomicity and security, Waite said on
At the time of writing, the batch modification has achieved 68.57% consensus among validators, while 80% is required for activation. The XRP Ledger (XRPL) is a decentralized, open-source blockchain used by Ripple to create cross-border payment solutions.
What is batch modification?
The batch modification introduces atomic transaction capabilities to the XRP ledger, allowing multiple operations to be grouped and executed together as a single unified transaction.
It adopts an all-or-nothing approach – either all transactions in the group complete successfully or none do, thereby eliminating the risk of partial execution failures.
This principle of atomicity has its roots in computer science and database management, where a sequence of operations is treated as a single, indivisible unit of work. Therefore, an atomic process means that the entire set of transactions is either completely executed or completely rolled back to ensure data integrity.
Atomicity on the XRP Ledger can be valuable in complex NFT trades or multi-stage swaps, facilitating the development of sophisticated NFT markets.
“This new modification substantially changes the functionality of the
A total of four batch modes are supported: ALLORNOTHING, ONLYONE, UNTILFAILURE, and INDEPENDENT. The availability of four modes will ensure flexibility in executing multiple transactions as a group, helping developers choose the best approach for their use case.