A framework for parsing blockchains similar to bitcoins blockchain