@objcfunconAuthorizeTapped(){ let state =UUID().uuidString.lowercased() Task{ let responseData =await waypoint.authorize(state: state) } } @objcfunconPersonalSignTapped(){ let state =UUID().uuidString.lowercased() let message ="Sign your first message with Ronin Waypint!" Task{ let responseData =await waypoint.personalSign(state: state, message: message) } }
funonAuthorizeTapped(){ val state = UUID.randomUUID().toString().lowercase() waypoint.authorizeAsync(context, state,null).thenAccept{ responseData -> // Handle the response data } } funonPersonalSignTapped(){ val state = UUID.randomUUID().toString().lowercase() val message ="Sign your first message with Ronin Waypint!"; waypoint.personalSignAsync(context, state, message,null).thenAccept{ responseData -> // Handle the response data } }
constonAuthorizeTapped=async()=>{ const state =uuidv4(); const responseData =await waypoint.authorize(state); }; constonPersonalSignTapped=async()=>{ const state =uuidv4(); const message ='Sign your first message with Ronin Waypint!'; const responseData =await waypoint.personalSign(state, message); };