Skip to content

WIP: Update packages so that they can be generated via JSON files#154

Open
cc7768 wants to merge 2 commits intomasterfrom
cc7768/generated_packages
Open

WIP: Update packages so that they can be generated via JSON files#154
cc7768 wants to merge 2 commits intomasterfrom
cc7768/generated_packages

Conversation

@cc7768
Copy link

@cc7768 cc7768 commented Sep 19, 2025

This PR makes it so that we keep track of chains/tokens in JSON files rather than typescript files.

The code in scripts/ can be used to generate corresponding Python/Rust/Typescript packages. The code generates new code so that we don't lose the benefits of having constant values (i.e. we don't have to dynamically read a json file).

I've tested most pieces of this so far but, given the centrality of this package, it merits additional (and extensive) investigation.

TLDR: THIS IS NOT READY TO MERGE YET.

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

Successfully merging this pull request may close these issues.

1 participant