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.