TypeScript SDK
Owned Object Pool
Sui Owned Object Pool Quick Start

Sui Owned Object Pools Quick Start

⚠️

Sui Owned Object Pools (SuiOOP) will likely be replaced by ParallelTransactionExecutor from @mysten/sui/transactions

Sui Owned Object Pools (SuiOOP) is a beta library. Enhancements and changes are likely during development.

SuiOOP is a TypeScript library that provides a set of tools for managing multiple concurrent transactions on the Sui network to help avoid object equivocation and locking.

Installation

npm i suioop

Usage

At a high level, this is how you implement the library:

// Initialize the ExecutorServiceHandler.
const eshandler = await ExecutorServiceHandler.initialize(
adminKeypair,
suiClient,
);
 
/// And then for each incoming request...
/// ...get the incoming transaction
const myTransaction;
 
/// and send it for execution
const promise = eshandler.execute(myTransaction, suiClient, splitStrategy);

See End-to-End Examples for sample code you can run.