Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Celestia namespace field on chain.json #262

Open
beer-1 opened this issue Jan 29, 2025 · 0 comments
Open

feat: add Celestia namespace field on chain.json #262

beer-1 opened this issue Jan 29, 2025 · 0 comments

Comments

@beer-1
Copy link
Member

beer-1 commented Jan 29, 2025

We are using deterministic Celestia namespace derivation method on opinit-bots.

chainIDhash := sha256.Sum256([]byte(c.batch.ChainID()))
return chainIDhash[:10]

so good to have automatic addition or validation.

the format can be like

{
...
    "da": {
        "Celestia": {
            "chain-id": "mocha-4",
            "namespace": "0x"
        }
    }
...
}
@beer-1 beer-1 changed the title feat: Add Celestia namespace field feat: add Celestia namespace field Jan 29, 2025
@beer-1 beer-1 changed the title feat: add Celestia namespace field feat: add Celestia namespace field on chain.json Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant