Entry point
Decision to choose an entry point server
Section titled “Decision to choose an entry point server”status: draft
Context
Section titled “Context”Boros needs to expose an API where users can be able to send a transaction to be processed and watch for events.
Options:
- HTTP: most common protocol.
- GRPC: support bidirectional events.
Decision
Section titled “Decision”We chose GRPC because we already have protobuf in UTxORPC for transaction submission, furthermore, the users can use Dolos or just change the URL and start using Boros.
Rationale
- Support to bidirectional that will be used to notify events.
- Reuse UTxORPC protobuf.
Consequences
Section titled “Consequences”- Positive Impact: flexibility to use Dolos or Boros to submit transactions, good documentation.
- Potential Drawbacks: frontend can’t connect directly without a proxy or backend.