ethereumService for transferFrom

Hi, I am trying to implement gifting token function in samsung blockchain, which is like transferFrom in web3 smart contract. And as I found in the documentation, it seems there is no create intent for this smart contract, so could you help me with which API I can use for this function. Thank you so much!

Hello @yumizhtch ,

Thank you for your interest in the Samsung Blockchain Platform (SBP) SDK.
SBP SDK supports sending ERC 20 and ERC 721 tokens using the “transfer” function of a Smart Contract. You can learn more about how to create an intent for ERC20 and ERC721 transfer from the programming guide.

PS: If you find this answer helpful please press the “like” button so that others can find it more easily.

Best Regards,
Shuvo
Samsung Developer Program

1 Like

Thank you so much for getting back to me. Solve my problem perfectly!

1 Like

The ethers.js library aims to be a complete and compact library for interacting with the Ethereum Blockchain and its ecosystem. It was originally designed for use with ethers.io ethers and has since expanded into a more general-purpose library.

firstcallonline.com login