Example #1
0
        public async Task <MConsumerController> init()
        {
            user = await user.init();

            nanoFinAddr = await MUtilityClass.getAddress(client, 1);

            burnAddress = await MUtilityClass.getBurnAddress(client);

            return(this);
        }
Example #2
0
        //invalidate insurance products products

        public MConsumerController(int consumerUserID)
        {
            client = new MultiChainClient("188.166.170.248", 2748, false, "multichainrpc", "7yPU3yrroGZp4WAgrL2cD9JDe7WbwwiUmLps3PPmPPde", "NanoFinBlockchain");
            user   = new MUserController(consumerUserID, client);
        }