alan-turing-institute / trustchain

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

Allow network for ION to be set from config #129

Open sgreenbury opened 11 months ago

sgreenbury commented 11 months 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 11 months ago