How do i integrate DFX identity.ic0.app to my dapp ? How do i get the users principal to credit my tokens as rewards ?
As for your second question no idea. Probably in the works
Yep, the Main.mo code from my example shows how to get the principal from the message.caller. You can then use that as a consistent Principal using their Internet Identity