Comments (10)
this is about public endpoints. Not always you have access to a local endpoint
from chains.
Chatted to @ligi about this. Let’s add valuable per chain data if we have data for a number of chains. Let’s learn what’s most useful and go from there.
from chains.
Moving from question to enhancement as I see rough consensus here
from chains.
Can this list also include ws/wss endpoints in addition to http/https endpoints, or would you want that in a different key?
from chains.
Good question. I would say yes as it seems to be the most clean solution. But I am not 100% sure if all consuming parties can deal with it (meaning e.g. ignore these entries if wss is not supported). I will try to reach out to some people. Where do you want to add them currently?
from chains.
@ligi By "where" do you mean "for which chains" or "where in the schema"? I know of public websocket endpoints for at least POA, xDai, and Binance Smart Chain; and, since Infura API keys are allowed as parameters, Ethereum. (As for the schema, I personally felt they should go in the same list as the http endpoints, and that is where I was putting them in the little database of chains I was momentarily putting together yesterday, before my research led me to this shared resource; but I don't actually "care", which is why I asked where you all felt they should go ;P.)
from chains.
@saurik great! yea with "where" I mean which chains.
I think just go ahead with it. Thought about it a bit more and there was never actually a guarantee that these are only http(s) addresses. Was just the case by chance until now. IMHO it is totally valid to also add wss:// URLs
from chains.
I'm not sure what the purpose of adding RPC endpoints serves.
If you connect a node to a network, you have your own RPC endpoint at http://127.0.0.1:8545 or ws://127.0.0.1:8546
Maybe there is something that I'm not getting here.
from chains.
wonder if we should add a list of RPC endpoints (can also be an empty list - so the field is optional) for the chains.
Inspired by #10 (comment)This would also allow a ci-script to make checks for the chain_id (also inspired by the very same PR)
Disadvantage might be that it is widening the scope too much - what does the rest of the team think?
from chains.
Chatted to @ligi about this. Let’s add valuable per chain data if we have data for a number of chains. Let’s learn what’s most useful and go from there.
from chains.
Related Issues (20)
- Collective Amount-Net Assets
- 0xC193Aab99F2c396f593d288E0c41bCB44c743401
- "name": "Ethereum Mainnet", "chain": "ETH", "rpc": [ "https://mainnet.infura.io/v3/${INFURA_API_KEY}", "https://api.mycryptoapi.com/eth"
- Bobbylee
- aad854030e0c9a6b6e777a04055cdad0cb0ceffd
- Bot HOT 2
- New life
- Union HOT 1
- Union
- Taiko
- Time swap
- Sepolia HOT 1
- Code HOT 3
- Add Kinto testnet HOT 1
- Nbt
- Cnx3154
- My account address:
- Linea
- Moonbeam
- The new guidelines HOT 1
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 chains.