SlideShare ist ein Scribd-Unternehmen logo
1 von 13
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.
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.
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)
● $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
http://localhost:8080/merchant/$guid/payment?
password=$main_password&second_password=$secon
d_password&to=$address&amount=$amount&from=$fro
m&fee=$fee
● $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.
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” }
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}
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”);
System.out.println(wallet.getIdentifier());
Wallet wallet = new Wallet(
“http://localhost:8080/”,
“YOU_API_CODE”,
“YOUR_GUID”,
“YOUR_SUPER_SECURE_PASSWORD”);
// 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 info@mitosistech.com.or Call us @
+91-9500148962 or visit
www.mitosistech.com

Weitere ähnliche Inhalte

Was ist angesagt?

Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Rhea Myers
 
Ethereum wallet Intro 以太坊錢包介紹
Ethereum wallet Intro 以太坊錢包介紹Ethereum wallet Intro 以太坊錢包介紹
Ethereum wallet Intro 以太坊錢包介紹Nicholas Lin
 
Learning Solidity
Learning SolidityLearning Solidity
Learning SolidityArnold Pham
 
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)Zvi Avraham
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.jsFelix Crisan
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chainBohdan Szymanik
 
CIS14: Developing with OAuth and OIDC Connect
CIS14: Developing with OAuth and OIDC ConnectCIS14: Developing with OAuth and OIDC Connect
CIS14: Developing with OAuth and OIDC ConnectCloudIDSummit
 
gething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientgething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientSathish VJ
 
Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Conor Svensson
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dappsStefaan Ponnet
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumTomoaki Sato
 
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON SchemaMongoDB
 
Blockchain Programming
Blockchain ProgrammingBlockchain Programming
Blockchain ProgrammingRhea Myers
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodGalin Dinkov
 
Bitcoin cash standards
Bitcoin cash standardsBitcoin cash standards
Bitcoin cash standardsnoyenmaih
 

Was ist angesagt? (20)

Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015
 
BitCoin Protocol
BitCoin ProtocolBitCoin Protocol
BitCoin Protocol
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Ethereum wallet Intro 以太坊錢包介紹
Ethereum wallet Intro 以太坊錢包介紹Ethereum wallet Intro 以太坊錢包介紹
Ethereum wallet Intro 以太坊錢包介紹
 
Learning Solidity
Learning SolidityLearning Solidity
Learning Solidity
 
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.js
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chain
 
CIS14: Developing with OAuth and OIDC Connect
CIS14: Developing with OAuth and OIDC ConnectCIS14: Developing with OAuth and OIDC Connect
CIS14: Developing with OAuth and OIDC Connect
 
gething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientgething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang client
 
Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dapps
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
 
Web3j 2.0 Update
Web3j 2.0 UpdateWeb3j 2.0 Update
Web3j 2.0 Update
 
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
 
Blockchain Programming
Blockchain ProgrammingBlockchain Programming
Blockchain Programming
 
Id32
Id32Id32
Id32
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Bitcoin cash standards
Bitcoin cash standardsBitcoin cash standards
Bitcoin cash standards
 

Ähnlich wie How to integrate bit coin wallet using blockchain methodology

Introduction to Bit Coin Model
Introduction to Bit Coin ModelIntroduction to Bit Coin Model
Introduction to Bit Coin ModelAsoka Korale
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guideZenita Smythe
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchainCeline George
 
Bitcoin story of programable currency
Bitcoin story of programable currencyBitcoin story of programable currency
Bitcoin story of programable currencyHossam Soffar
 
BITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USESBITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USESRishikese MR
 
Building A Viable Crypto Wallet 5 Essential Features.pdf
Building A Viable Crypto Wallet 5 Essential Features.pdfBuilding A Viable Crypto Wallet 5 Essential Features.pdf
Building A Viable Crypto Wallet 5 Essential Features.pdfAppdupe
 
All in-one-smart node-v1.2.4
All in-one-smart node-v1.2.4All in-one-smart node-v1.2.4
All in-one-smart node-v1.2.4SmartCash VN
 
Wallet from noob to pro
Wallet from noob to proWallet from noob to pro
Wallet from noob to proBrian Yap
 
Cryptocurrency Mixing
Cryptocurrency MixingCryptocurrency Mixing
Cryptocurrency Mixingashmoran
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 

Ähnlich wie How to integrate bit coin wallet using blockchain methodology (20)

Bitcoin
BitcoinBitcoin
Bitcoin
 
Introduction to Bit Coin Model
Introduction to Bit Coin ModelIntroduction to Bit Coin Model
Introduction to Bit Coin Model
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business Applications
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchain
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
BITCOIN GLOSSARY
BITCOIN GLOSSARYBITCOIN GLOSSARY
BITCOIN GLOSSARY
 
Bitcoin data mining
Bitcoin data miningBitcoin data mining
Bitcoin data mining
 
Bitcoin story of programable currency
Bitcoin story of programable currencyBitcoin story of programable currency
Bitcoin story of programable currency
 
BITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USESBITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USES
 
Building A Viable Crypto Wallet 5 Essential Features.pdf
Building A Viable Crypto Wallet 5 Essential Features.pdfBuilding A Viable Crypto Wallet 5 Essential Features.pdf
Building A Viable Crypto Wallet 5 Essential Features.pdf
 
All in-one-smart node-v1.2.4
All in-one-smart node-v1.2.4All in-one-smart node-v1.2.4
All in-one-smart node-v1.2.4
 
Wallet from noob to pro
Wallet from noob to proWallet from noob to pro
Wallet from noob to pro
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Cryptocurrency Mixing
Cryptocurrency MixingCryptocurrency Mixing
Cryptocurrency Mixing
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoins
BitcoinsBitcoins
Bitcoins
 
Masterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & CryptoassetsMasterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & Cryptoassets
 
Bitcoin and the Blockchain 2016
Bitcoin and the Blockchain 2016Bitcoin and the Blockchain 2016
Bitcoin and the Blockchain 2016
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 

Kürzlich hochgeladen

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

How to integrate bit coin wallet using blockchain methodology

  • 1. How to Integrate BitCoin Wallet Using BlockChain Methodology?
  • 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” }
  • 5. 2.Making outgoing payments http://localhost:8080/merchant/$guid/payment? password=$main_password&second_password=$secon d_password&to=$address&amount=$amount&from=$fro m&fee=$fee ● $main_password Your Main Blockchain Wallet password ● $second_password Your second Blockchain Wallet password if double encryption is enabled. ● $to Recipient Bitcoin 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”);
  • 10. System.out.println(wallet.getIdentifier()); Wallet wallet = new Wallet( “http://localhost:8080/”, “YOU_API_CODE”, “YOUR_GUID”, “YOUR_SUPER_SECURE_PASSWORD”);
  • 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);
  • 12. 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)); }
  • 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