ConsenSysMesh / ConsenSysMesh/web3studio-sidejam

Add oracle registration to simple message bus controct

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Overview
As a contract so that I can receive messages from the message bus, create a way for me to register myself such that I get callbacks when certain messages/message types/topics arrive.

### Reference

- [Mural](https://app.mural.co/t/consensys3989/m/consensys3989/1557345438344/718181f0ee878f1cfdc2756c9dc6aa363680b634)
- [Previous Issue](https://github.com/ConsenSys/web3studio-sidejam/issues/5)

### Questions

- How many per bus are supported?
- How are callback contracts stored?

### Assumptions

- There is a way to register and de-register oracle contracts
- Events that come in on the message bus are also sent to these contracts

### Acceptance

- it can register a contract to receive messages on a topic for a certain length of time
- it de-registers contracts that are not called/or are expired
- it allows for manual de-registering for certain contracts

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.