I have a test token (ERC20) deployd on ETH test network (Kovan) The token was deployed using Unicrypt tool So far everything ok, but the issues is how can i transfer tokens from an outside smart contract.
The token distribution is now (example):
Owner - 100
AddressA - 25
AddressB - 15
AddressC - 10
I'm trying to deploy a smart contract (for example just to set a number on the blockchain) but to do this the person setting the number must "pay" a token. So if AddressC wants to set the number 55, must "pay" 1 token (balance for AddressC after will be 9), the smart contract (not the ERC20 SmartContract) must be able to transfer 1 token from AddressC into the Owner (Owner balance will become 101)
How can i achieve this, or is there any other (perhaps) better way to achieve this ?
PS: Basically how can i have a token (ERC20) and use it on "custom actions" outside the ERC20 SmartContract