@multiversx/sdk-transaction-processor
v0.1.35
Published
Real-time transaction processor
Downloads
747
Readme
Transaction Processor for JavaScript
Transaction processor for JavaScript and TypeScript (written in TypeScript).
Distribution
Usage
let transactionProcessor = new TransactionProcessor();
await transactionProcessor.start({
onTransactionsReceived: (shardId, nonce, transactions) => {
console.log(`Received ${transactions.length} transactions on shard ${shardId} and nonce ${nonce}`);
},
});
Here is a full application ready to play with in.