I'm writing my first smart contract. At a certain point I need it to start a countdown like process, it must perform a token transfer after a certain number of blocks. This is giving me some problems.
Is there a way that's already been explored to efficiently do it?
EDIT: I want the smart contract to perform the transaction, not to schedule a transaction to be sent at a certain block height from my node