public void GetAppInfo()
        {
            var config = FiscoConfig.NewMockTestFiscoSMConfig();

            Console.WriteLine(JsonConvert.SerializeObject(config));
            Assert.IsNotNull(config);
        }
        public void RegisterUserSM()
        {
            var config = FiscoConfig.NewMockTestFiscoSMConfig();
            var res    = new FiscoNodeServer(config).RegisterUser(new bsn_sdk_csharp.Models.FiscoRegisterReqBody()
            {
                UserId = "test0730"
            });

            Assert.IsNotNull(res);
        }
        public void Trans_QuerySM()
        {
            var config = FiscoConfig.NewMockTestFiscoSMConfig();

            object[] args = new object[1];
            args[0] = "s0604";
            var res = new FiscoNodeServer(config).GetTrans(new bsn_sdk_csharp.Models.FiscoTransReq()
            {
                Contract = new bsn_sdk_csharp.Models.ContractData()
                {
                    ContractAbi     = "[{\"constant\":false,\"inputs\":[{\"name\":\"base_id\",\"type\":\"string\"},{\"name\":\"base_key\",\"type\":\"int256\"},{\"name\":\"base_value\",\"type\":\"string\"}],\"name\":\"update\",\"outputs\":[{\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"base_id\",\"type\":\"string\"},{\"name\":\"base_key\",\"type\":\"int256\"}],\"name\":\"remove\",\"outputs\":[{\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"base_id\",\"type\":\"string\"},{\"name\":\"base_key\",\"type\":\"int256\"},{\"name\":\"base_value\",\"type\":\"string\"}],\"name\":\"insert\",\"outputs\":[{\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"base_id\",\"type\":\"string\"}],\"name\":\"select\",\"outputs\":[{\"name\":\"\",\"type\":\"string[]\"},{\"name\":\"\",\"type\":\"int256[]\"},{\"name\":\"\",\"type\":\"string[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]",
                    ContractAddress = "0xc206db9e77e547b015e2cb39d23ff8b0314746a4",
                    ContractName    = "BsnBaseContract"
                },
                UserName = "******",
                FuncName = "select",
                Args     = args
            });

            Assert.IsNotNull(res);
        }