Comments (2)
Hello! Thanks for this. I have some questions:
- Why do you want to connect mainnet to rinkeby? I don't think this will work, but maybe that is just a typo
- Is there a specific reason you don't like the environment variables?
But!
Let me divulge some of our plans and thoughts around similar topics:
- We want global config support.
- We want env var interpolation in the config
- We want you to just straight up be able to put your env vars in your global config
- We want a secret storage support, like another abstract class, where you can use env-vars, or keyring, or whatever you need.
- We are going to add all the network support to each provider plugins for the networks they actually support
And when I say "we want", I mean "I have heard someone express or I myself express desire for this"
from ape-alchemy.
Why do you want to connect mainnet to rinkeby? I don't think this will work, but maybe that is just a typo
Yeah, a typo, but it does beg the question whether the network should be derived from the provider/node not the config. But that's way out of scope here.
Is there a specific reason you don't like the environment variables?
A couple reasons.
- I Very often I will use keys per project or piece of software. Especially with Alchemy, you get separate metrics and separate rate limits (sometimes) per projects. Perhaps you also may want to use different keys between "work" and "home" or whatever. Having to set/unset env vars all the time can be difficult.
- Networks, especially. With Alchemy you do not get an overall key but create a key for each network/app whatever.
Here's my current personal dashboard as an example:
Each of these represent a different Alchemy app, each with a unique key/endpoint.
Other thoughts sound cool. Some kind of secret store could be valuable, especially if you share things like Alchemy keys across a team which I think is pretty common.
We are going to add all the network support to each provider plugins for the networks they actually support
Not sure what you mean by this though.
from ape-alchemy.
Related Issues (10)
- Add Flashbots RPC HOT 1
- Add doc strings
- Should add PoA middleware even if began as PoA
- Fix typo in README
- `Contract.Event.query` gets stuck and does not raise HOT 8
- Fail to get Uniswapv3 on alchemy mainnet. ERROR: (ChainError) Failed to get contract type for address '0x3416cF6C708Da44DB2624D63ea0AAef7113527C6' [APE-813] HOT 1
- Use alchemy_getTransactionReceipts for querying [APE-1081]
- bug: rate limiting not being handled
- Support all Alchemy networks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ape-alchemy.