Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

Enable go-da to utilize multi accounts support from celestia-node #93

@tzdybal

Description

@tzdybal

Imagine following use case:

  • there is a shared celestia-node instance, providing DA for multiple rollups (operated by single org or even RasS provider, so they can setup keyring properly)
  • each rollup need to use different key

Currently there is no way in go-da to specify key name. Possible solutions are:

  • add key name as an option to Submit method (see: feat: add keyName #89)
  • add generic ([]byte) param to Submit to enable passing any options
  • add new method SubmiWithOptions with generic ([]byte) options
  • add SetKeyName method to go-da interface
  • add generic SetConfig([]byte) method to go-da interface
  • leave go-da interface as is and extend proxy.GetClient to enable passing more options
    • actually the token is already similar use case (but seems way more generic than key name)

This is somehow similar to MaxBlobSize but the other way around. go-da interface is focused strictly on DA operation and not on life-cycle / metadata / configuration.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions