Programmatic Trust on the Blockchain