hashgraph / hedera-json-rpc-relay

Implementation of Ethereum JSON-RPC APIs for Hedera
Apache License 2.0
45 stars 61 forks source link

Adopt yaml format over .env for configs #267

Open Nana-EC opened 2 years ago

Nana-EC commented 2 years ago

Problem

The relay currently uses .env files for configuration. These are manageable when there's aonly a few properties with no need for grouping

However, as more configs are added it become cumbersome and tricky to manage with no clean way to group

Solution

Utilize .yaml files which allow for grouping via indentation. Makes for easier reading

Alternatives

Explore other standards

Nana-EC commented 1 month ago

Team to discuss whether we want this approach. Pros and cons, is nesting needed, is there a new option, should we just clean up env file etc.

Basically YAML vs env!