[WIP][bitcoin] basic structure.