darwinia-network / dj

Darwinia bridge relayer tool implemented in nodejs
GNU General Public License v3.0
4 stars 5 forks source link

Mock the relayer Game #46

Closed clearloop closed 4 years ago

clearloop commented 4 years ago

Relayer Game

The implementation of Darwinia relayer game.

Lang Mode
Javascript Proposal Only

APIs

Method Args Resp Desc
/relay (header: DarwiniaEthHeader, proof: EtHashProof, mmr: Hash) Tx Result Relay block
/status (height?: u64, hash?: Hash) Relay Status Get the current status

Need to figure out which API the javascript side will use.

Refs