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

config plugins #161

Open
PatrickAlphaC opened this issue Nov 23, 2024 · 0 comments
Open

config plugins #161

PatrickAlphaC opened this issue Nov 23, 2024 · 0 comments

Comments

@PatrickAlphaC
Copy link
Member

PatrickAlphaC commented Nov 23, 2024

It would be nice to be able to do like:

mox install aave-addresses

or like:

mox plugin add aave

Or something, where it downloads from either pypi or github (or both? Maybe it would be easiest to keep it the same as the install setup?) where you can install contract addresses without having to go to the docs.

Rationale

This would make it easier to do scripts on common addresses/tokens.

Risks

There is a risk here, if the addresses change, we'd have to stay on top of it. That could be pretty spooky. Maybe we label "well known" addresses that are unlikely to change with something different from addresses that are likely to change.

More thoughts

It might be a good idea to "lazy load" named contracts. As in, we don't load a named contract unless explicitly called on by manifest_named. This way, we could have a massive number of named contracts without having to load every single one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant