alan-turing-institute / trustchain

Trustworthy decentralised PKI
https://alan-turing-institute.github.io/trustchain/
Apache License 2.0
11 stars 5 forks source link

Allow network for ION to be set from config #129

Open sgreenbury opened 1 year ago

sgreenbury commented 1 year ago

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.

sgreenbury commented 1 year ago