Add transaction library