BitCoin Wallet is one of the Trending Solution for all financial payments across the globe. Since the Cryptocurrency Marketing is growing Exponentially, Bitcoin Helps Payment Industry with virtual currency.
2. 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.
https://github.com/blockchain/api-v1-client-java
Please download the above project and deploy the war file in your local server.
You could use API Endpoints.
3. 1.Create Wallet API
The create wallet method can be used to create a new blockchain.info 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)
4. ● $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”
}
6. ● $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)” }
7. 3.Send to payments to many people
Send a transaction to multiple recipients in the same transaction.
http://localhost:8080/merchant/$guid/sendmany?
password=$main_password&second_password=$second_password&recipients=$recip
ients&fee=$fee
● $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” }
8. 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.
http://localhost:8080/merchant/$guid/balance?
password=$main_password
Response: 200 OK, application/json
{ “balance”: Wallet Balance in Satoshi }
{ “balance”: 1000}
9. 5.Another way to call the BitCoin Wallet:
public class App
{
public static void main(String[] args) throws Exception
{
CreateWalletResponse wallet = Wallet.create(
“http://localhost:8080/”,
“YOUR_SUPER_SECURE_PASSWORD”,
“YOUR_API_CODE”);
11. // 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);
13. 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 info@mitosistech.com.or Call us @
+91-9500148962 or visit
www.mitosistech.com