public DemoGameRandomService(DemoGameConfig config, IRandomNumberGenerator random, IGenericDataStorage storage, ICryptoService cryptoService, IKeySecretManager keySecretManager) { this.random = random; this.storage = storage; this.cryptoService = cryptoService; this.keySecret = keySecretManager.LoadKeySecret(config.PrivateKey); }
public BuildinRandomContributorService(RandomContributorConfig config, IRandomNumberGenerator random, IGenericDataStorage storage, ICryptoService cryptoService, IKeySecretManager keySecretManager) { this.random = random; this.storage = storage; this.cryptoService = cryptoService; this.keySecret = keySecretManager.LoadKeySecret(config.PrivateKey); }
public DemoProtocolService(ChaosProtocolConfig config, IRandomNumberGenerator random, IGenericDataStorage storage, ICryptoService cryptoService, IKeySecretManager keySecretManager, IpfsFileStorageService ipfs) { this.random = random; this.storage = storage; this.cryptoService = cryptoService; this.ipfs = ipfs; this.keySecret = keySecretManager.LoadKeySecret(config.ApiSecret); }