chains icon indicating copy to clipboard operation
chains copied to clipboard

API v2

Open ligi opened this issue 2 years ago • 6 comments

API v2 should change faucets (#1884) and RPC (some ideas here https://github.com/ethereum-lists/chains/issues/1829#issuecomment-1304570975) old data format should be kept for a while (as output) - new one added at /v2 - fallback should be possible with these both changes

ligi avatar Nov 18 '22 05:11 ligi

I would add a "isTestnet" boolean, useful to all indexers/trackers/DEXes/etc. My suggested definition of "true" when the entity adding the chain definiton to the list doesn't specify it, would be having centralized minting of the native/fee token, ie. the token not having consensus economic value.

kopeboy avatar Mar 07 '23 11:03 kopeboy

My reasoning for not wanting isTestNet: #2351

ligi avatar Mar 07 '23 12:03 ligi

your reasoning is "Goerli has now value, people test on Mainnet".. I said it depends on the minting process of the native token being decentralized.

kopeboy avatar Apr 17 '23 14:04 kopeboy

The lines are really blurry. I really do not think a boolean flag makes sense here.

ligi avatar Apr 17 '23 14:04 ligi

I'm not saying YOU should take the decision and that a boolean value decides if the token can have market value, I'm just saying having a canonical test value, defined by the entity adding the chain to the list, could help many users of this service. Do you recognize the utility? Can you offer alternative means to select which chains I should connect to with my production service? Thank you.

Il giorno lun 17 apr 2023 alle ore 16:11 ligi @.***> ha scritto:

The lines are really blurry. I really do not think a boolean flag makes sense here.

— Reply to this email directly, view it on GitHub https://github.com/ethereum-lists/chains/issues/1889#issuecomment-1511432221, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABECMLYDPQ3JFPRYGRJXHLTXBVFQDANCNFSM6AAAAAASEECH7A . You are receiving this because you commented.Message ID: @.***>

kopeboy avatar Apr 17 '23 14:04 kopeboy

but in the end I need to review the PR - not sure how I can meaningfully do this for that value as I think it is not boolean. Just check if there is a faucet - IMHO this is a good indicator if this is a testnet. Also why wouldn't you allow testnet chains to be connected to your "production" service? IMHO this is great for .. testing ..-)

ligi avatar Apr 17 '23 14:04 ligi