A transaction library