Wrapper library for blockchain