Пример #1
0
        public MamService Create(Seed seed)
        {
            var repositoryByNodeSelector = new IotaRepositoryFactory();

            // var iotaRepository = new RestIotaRepositoryFactory().CreateAsync().Result;
            return(new MamService(repositoryByNodeSelector.Create(), new CurlMask(), seed));
        }
Пример #2
0
        public TangleMessenger Create(Seed seed)
        {
            var repositoryByNodeSelector = new IotaRepositoryFactory();

            return(new TangleMessenger(seed, repositoryByNodeSelector.Create()));
        }