hashgraph / hedera-sdk-reference

Hedera SDK specification repository.
Apache License 2.0
6 stars 1 forks source link

Require a ledger ID when constructing a Client of a custom network. #150

Open mehcode opened 7 months ago

mehcode commented 7 months ago

Currently, it is easy to create a Client in an invalid configuration, missing the LedgerId

I propose that we deprecate Client.forNetwork and replace with Client.forCustomNetwork that has the added required parameter, ledgerId.