Smart contract and token royalties

Hey @Nicollas @Duka ,

When operating with “Taxed token” (Transfer Royalties) in Smart Contract, the royalties are not working, or at least i didnt see it in raw data. Token has 10% transfer royalties.

When sending to SC they are applied, but not out of SC.

Also the royalties are considered as “OUT” meaning they are added to transfer amount, but in my opinion they should be “IN” - deducted from Transfer amount.

Hello @Bill_Butcher!

To simplify and streamline the development process of smart contracts, transfers made from within a smart contract do not include royalties.

This means that:

  • All transactions initiated externally (e.g., from a wallet or dApp) are eligible for royalties.
  • Transactions executed inside a smart contract do not apply royalties.

Let me know if you’d like further clarification!

2 Likes

Thank you!

Yes, i do have 2 more questions:

-When fee is paid with KDA, and the KDA has transfer royalties, are that royalties charged?

-I find it more practical to deduct Transfer royalties from sending amount than adding to it. Is this something that can be changed?

  • KDA fees are not subject to royalties.
  • Can you share some examples?
    I don’t think we can change how the blockchain itself works, but depending on your examples, we can brainstorm ways to make the process smoother for the end user.

For instance, we might consider interface improvements that automatically handle certain scenarios to reduce friction and improve the overall experience.

1 Like