-
Notifications
You must be signed in to change notification settings - Fork 5k
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
multiple providers: work tracker issue #6902
Comments
current status: broke up provider initialization and proxy management into to files notes/low level todos:
|
MIGRATION NEEDS:
|
networkConfig = {
rpcUrl,
type, // default#type(chainId) || custom#type(chainId) ???
name,
chainId,
blockExplorer,
} network class config: config = { // should ever only be things for the provider or network class no extra bs
rpcUrl,
type,
chainId, // for ethClassic
} |
|
updateAndSetCustomRpc -> takes a single object |
actual: networkConfig = {
rpcUrl,
type, // infura#eth:mainnet || custom#eth:rpc
custom: {
name,
chainId,
blockExplorer,
ticker,
}
} |
|
wooooooooooo
sooooo close and yet so far |
Let's take a little time to explore H4v0c's work on abstracting multiple chain providers, see if there's a chance to leverage their work at all: http://chainstackjs.org/ |
|
goal:
initialize all providers instead of creating and destroying on network switch while maintaining same external behavior
high level todos:
The text was updated successfully, but these errors were encountered: