Transaction processor for JavaScript and TypeScript (written in TypeScript).
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.