This repository was archived by the owner on May 1, 2026. It is now read-only.
PegaSys Orchestrate v2.0.0
Complete rewrite of the SDK in pure TypeScript and redefinition of the interfaces
馃啎 Features
- Support version 2.0+ of Orchestrate
- Complete rewrite of the SDK in TypeScript
- Usage of kafkajs instead of kafka-node
- Usage of grpc-js instead of grpc
- Switch from an auto-commit mode to a manual commit which prevents to inadvertently commit non-processed messages and lose them.
Consumer,Producer,ContractRegistryandAccountGeneratorexposed as standalone classesProducer:- Accepts Options to increase flexibility of usage with Kafka
- Specific functions for specific actions such as
sendTransaction,sendRawTransactionandgenerateAccount. - Functions default to correct topics
Consumer:- Accepts Options to increase flexibility of usage with Kafka
- Implements a
commitfunction to commit the message offsets manually - Returns output messages of the type
ResponseMessage
- Rename
WalletintoAccount