示例#1
0
        public BlockChainHandler(string horizonUrl, string networkId, string appId, HttpMessageHandler httpMessageHandler = null)
        {
            _kinAsset = new AssetTypeNative();

            _server = new Server(horizonUrl + "/", new HttpClient(new MetricHttpHandler(httpMessageHandler ?? new HttpClientHandler())));
            Network.UsePublicNetwork();
            Network.Use(new Network(networkId));
            _appId = appId;
        }