Currently a type ION that implements Sidetree and is used in the resolver and elsewhere. It uses a const for the NETWORK so requires distinct types for testnet and mainnet that are determined at compile time. Instead it would be preferable to make the choice of network configurable at runtime.
Currently a type
ION
that implementsSidetree
and is used in the resolver and elsewhere. It uses aconst
for theNETWORK
so requires distinct types for testnet and mainnet that are determined at compile time. Instead it would be preferable to make the choice of network configurable at runtime.