How to Integrate BitCoin Wallet Using BlockChain Methodology

How to Integrate BitCoin Wallet Using BlockChain Methodology

Bit Coin Wallet is one of the Trending Solution for all financial payments across the globe. Since the Crypto currency Marketing is growing Exponentially, Bitcoin Helps Payment Industry with virtual currency.

Now you can easily integrate the blockchain Bitcoin wallet in your project, you will need to run small local service which is responsible for managing your Blockchain Wallet. Your application could interact with this service locally via HTTP API Calls.

Get the Block Chain setup from this below link.

Please download the above project and deploy the war file in your local server.

You could use API Endpoints.

1.Create Wallet API

The create wallet method can be used to create a new bitcoin wallet.

URL: http://localhost:8080/api/v2/create

Method: POST or GET

  •    $password The password for the new wallet. Must be at least 10 characters in length.
  •    $api_code An API code with create wallets permission.
  •    $priv A private key to add to the wallet (Wallet import format preferred). (Optional)
  •    $label A label to set for the first address in the wallet. Alphanumeric only. (Optional)
  •    $email An email to associate with the new wallet i.e. the email address of the user you are creating this wallet on behalf of. (Optional)

Response: 200 OK, application/json


“guid”: “4b8cd8e9-9480-44cc-b7f2-527e98ee3287”,

“address”: “12AaMuRnzw6vW6s2KPRAGeX53meTf8JbZS”,

“label”: “Main address”


2.Making outgoing payments


  •    $main_password Your Main Blockchain Wallet password
  •    $second_password Your second Blockchain Wallet password if double encryption is enabled.
  •    $to Recipient Bitcoin Address.
  •    $amount Amount to send in satoshi.
  •    $from Send from a specific Bitcoin Address

Response: 200 OK, application/json

{ “message” : “Sent 0.1 BTC to 1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq” , “notice” : “Some funds are pending confirmation and cannot be spent yet (Value 0.001 BTC)” }


3.Send to payments to many people

Send a transaction to multiple recipients in the same transaction.


  •    $main_password Your Main Blockchain wallet password
  •    $second_password Your second Blockchain Wallet password if double encryption is enabled.
  •    $recipients Is a JSON Object using Bitcoin Addresses as keys and the amounts to send as values (See below).
  •    $from Send from a specific Bitcoin Address

Response: 200 OK, application/json

{ “message” : “Sent To Multiple Recipients” , “tx_hash” : “f322d01ad784e5deeb25464a5781c3b20971c1863679ca506e702e3e33c18e9c” }


4.Fetching Wallet Balance

Fetch the balance of a wallet. This should be used as an estimate only and will include unconfirmed transactions and possibly double spends.


Response: 200 OK, application/json

{ “balance”: Wallet Balance in Satoshi }

{ “balance”: 1000}


5.Another way to call the BitCoin Wallet:

public class App


public static void main(String[] args) throws Exception


CreateWalletResponse wallet = Wallet.create(







Wallet wallet = new Wallet(






// get an address from your wallet and include only transactions with up to 3

// confirmations in the balance

Address addr = wallet.getAddress(“1JzSZFs2DQke2B3S4pBxaNaMzzVZaG4Cqh”, 3);

System.out.println(String.format(“The balance is %s”, addr.getBalance()));


// send 0.2 bitcoins with a custom fee of 0.01 BTC and a note

// public notes require a minimum transaction size of 0.005 BTC

PaymentResponse payment = wallet.send(“1dice6YgEVBf88erBFra9BHf6ZMoyvG88”, 20000000L, null, 1000000L);

System.out.println(String.format(“The payment TX hash is %s”, payment.getTxHash()));


long totalBalance = wallet.getBalance();

System.out.println(String.format(“The total wallet balance is %s”, totalBalance));



Our Bitcoin Wallet App Developer are most experienced, and they help to create innovative Bitcoin wallet applications using Agile Methodologies. Mitosis Technology is one of the best Bitcoin Wallet Application development company in USA, UK, Europe and Canada.  Any Questions? Just mail us at

Recent Posts

Leave a Reply

Your email address will not be published. Required fields are marked *