Blockchain layer architecture