-
Notifications
You must be signed in to change notification settings - Fork 342
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
Feature request: Ethereum addresses for most popular tokens #303
Comments
Ohh I like this idea. Addresses would vary by chain, so it seems like this might be a good way to extend the struct StdTokens {
address dai;
address usdc;
address weth;
} then add a Curious to hear thoughts from @hexonaut here since I know you do a lot of cross-chain work and probably deal with a lot of token addresses. The one wrinkle is the |
We use the chainlog at The setChain(string, Chain) is useful if you want to get a chain definition then override one of the fields. An example was added in that PR. Personally I think this may be trying to jam too much stuff into |
Works for me.
I am agnostic about this point, because I have never used this method. |
The idea is to ship the top 20 (or 50, or 100) token addresses according to Etherscan's tracker as constants part of a
StdToken
contract orstdToken
library.The text was updated successfully, but these errors were encountered: