# Bitcoin External Signature Test This gist contains code that can be added to your project and run within a Java 8+ environmnet. The code has 3rd party dependencies named below required to compile the sample code: - Apache Commons Codec - Bitcoinj - Bouncy Castle - Jackson - Encode / Decode JSON - Web3J - HDWallet support In `BitcoinExternalSignatureTest` it defines steps that can also be considered as psuedo code in case you want to build the logic from scratch. These steps are intended to be executed in an automated fashion while securely storing sensitive data: - Step 1: Provide the referenceToken and signaturePayloads from the API transaction response. - Step 2: Provide the private key to sign transactions. - Step 3: Decode the signaturePayloads given by the transaction request. - Step 4: Verify and sign each transaction. - Step 5: Encode the objects so that we may send them to the Commit Transaction endpoint. - Step 6: Submit the values to the Commit Transaction endpoint.