escrow-bitcoin
A service to make possible escrow transactions using BTC (Bitcoin)
Create Escrow wallet
const Escrow = ; // Will be used soonvar escrow; /** * Create a Escrow Wallet * * @param * @param * @returns */Escrow; /* ... */
Save escrow PrivateKey in a secure place, this information is necessary to make a transaction from escrow wallet. Give the address and/or URI to who need to escrow the bitcoins.
When if escrow wallet had the necessary balance (you can verify with blockchain.info API or other services), make a transaction to send Bitcoins to who need receive them.
Send a transaction
/* ... */ //Address tovar addressTo = "mkaFycfbM3SuZ4mFJVeNjQv58a4KkYAUPk" /** * Make Escrow wallet send bitcoin * * @param * @param * @param * @param * @param * @returns string (transaction id) */escrowaddress escrowprivateKey addressTo 1200 EscrowNetworkslivenet
Use transactionId to verify in blockchain.info API (or other services) to see the status of the transaction (incoming BTC should appears instantly)
Next steps
Contact
Tiago Marques
Co-Founder & Head of Apps Development