marigold-dev / tzportal

Layer 1 <-> Layer 2 exchange application for DEKU and SCORU
1 stars 3 forks source link

List rollups networks #3

Open zamrokk opened 2 years ago

zamrokk commented 2 years ago

MOTIVATION: Be able to list all rollup from TORU

SCENARII:

Feature: rollups

Scenario: When user U enter home page Then rollup list is displayed

DETAILED DESIGN:

image

//TODO work with @xvw to know how to get this endpoint

ALTERNATIVES: Ask @xvw to provide CLI

zamrokk commented 2 years ago

need a RPC protocol on pair ( client, node) 2 solutions because freeze has passed : 1) DURING 'J' TIME : use our unique node that does "rollup indexer" : receive a tezos node, and monitor all rollups. Need to create a typescript client lib to import on the dapp. rollup will scan Tezos chain, DB will store rollups info. ask @infra. Best have, generate a typescript client from indexer API ?
2) DURING 'K' TIME : later, will add RPC endpoints once 2-3 weeks feature freeze, then 'J' , rollups will be on protocol, then