fairDataSociety / fdp-cli

Command-line interface implementation for fdp-storage
Apache License 2.0
1 stars 0 forks source link

Lacking of Blockchain environment config #51

Closed nugaon closed 1 year ago

nugaon commented 1 year ago

fdpStorage field is initialized with the defaults for reaching out RPC server for blockchain connection and ENS. There should be a set of environments (currently Goerli and fdp-play) in form of an enum flag that provides defaults for the granular configuration (also should be possible to set by flags, at least the RpcUrl) of the ensOptions of the FdpStorage instance.

IgorShadurin commented 1 year ago

For goerli it would be great to fix this: https://github.com/fairDataSociety/fdp-contracts/issues/88 because now if user do not have enough balance he will receive the message ERROR Failed to register account: Unexpected token u in JSON at position 0 instead of a message with a good explanation

tfius commented 1 year ago

lets merge this