I've got two related questions:
1- Can I develop a contract that will be triggered when the transaction is sent to another contract (that is not owned by me)?
For example, every time that a Tx for cryptokitties is inserted into the blockchain, add 1 to a counter in my contract.
2- Is it possible that a smart contract will scan and retrieve the first Tx that submitted to a contract? (and after that the second and so on..) -I know it is possible to do it "off-line". But I want to enforce it on a contract.