Using satoshi lib