Javascript token transfer

Hello guys!

I am building an application using NFID Kit, the users is able to login and deposit funds.
I need to enable the user to be able to transfer tokens to a recipient, either a principal recipient or a AccountIdentifier recipient.

Can someone show me an example for transferring tokens to a principal text and a second example of transferring tokens to a recipient AccountIdentifier in hexadecimal formmat.

Thanks <3

1 Like
2 Likes