Commit graph

26 commits

Author SHA1 Message Date
Brendon Duncan
a426a5abc0 Now handles URIs that begin with 'bch:'. 2018-09-26 16:27:47 +12:00
Brendon Duncan
afa9fad9d2 Now parses wallet import data. 2018-09-03 14:12:12 +12:00
Brendon Duncan
f84b1e4f35 Changed name to amountInSatoshis. 2018-09-03 13:02:28 +12:00
Brendon Duncan
48b8bbf90a Added amountSatoshis. 2018-09-03 12:53:12 +12:00
Jean-Baptiste Dominguez
fa15b26792
Update bitcoin-uri.service.js
Add the conversion to satoshi however a currency can be precised, in that case, the satoshi conversion should be not operated.
2018-08-31 18:36:40 +09:00
Brendon Duncan
ef23746de6 Changed testnet to isTestnet. 2018-08-31 17:14:58 +12:00
Brendon Duncan
6a68d73e3a Now handles spaces after address prefix. 2018-08-30 20:20:51 +12:00
Brendon Duncan
918451f3da Scanning or pasting ordinary URL gives the option to open it in a browser. 2018-08-30 19:56:18 +12:00
Brendon Duncan
5738bab13e Updated comments. 2018-08-29 15:41:13 +12:00
Brendon Duncan
fcfb039673 parse() now only returns the address in the format that was present in the data, to make it easier to find out about the data. 2018-08-29 15:21:43 +12:00
Brendon Duncan
32aa02a8c2 Fails gracefully when not passed a string. 2018-08-29 10:15:03 +12:00
Brendon Duncan
d30a076f4b Changed argument name to data, because it may not be a URI. 2018-08-29 10:05:23 +12:00
Brendon Duncan
217b02504a Added tests for single slash. Removed some unused code. 2018-08-29 10:04:02 +12:00
Brendon Duncan
9bed4239da Grouped the output. 2018-08-29 09:54:04 +12:00
Brendon Duncan
6c85cffb20 Now handles encrypted private key. 2018-08-29 09:11:14 +12:00
Brendon Duncan
61a29cf7ea Copay invitation and wifPrivateKey. 2018-08-28 18:42:03 +12:00
Brendon Duncan
c2cca3c080 Bitcoin cash uppercase. 2018-08-28 17:18:05 +12:00
Brendon Duncan
e8005c9ea6 Legacy addresses with bitcoincash: prefix. 2018-08-28 17:10:15 +12:00
Brendon Duncan
4d525c85d7 CashAddr on testnet and Bitpay format on mainnet. 2018-08-28 17:00:52 +12:00
Brendon Duncan
a4ab20abba Tests for BIP72. 2018-08-28 14:17:43 +12:00
Brendon Duncan
1be9ce39c1 Starting to work on more comprehensive handling of cashAddr format. Basic handling of cashAddr on testnet. 2018-08-27 20:46:11 +12:00
Brendon Duncan
b9943c403f Testing addresses with Bitcore wallet client. 2018-08-23 14:37:02 +12:00
Brendon Duncan
1da9a79296 Parsing BTC testnet address. 2018-08-23 14:27:03 +12:00
Brendon Duncan
93d061c96a Returning addresses from cashAddr with bitcoincash: prefix. 2018-08-23 12:55:58 +12:00
Brendon Duncan
ab0b8b19b0 Returning legacy address for cashAddr. 2018-08-23 12:47:47 +12:00
Brendon Duncan
70f76baad0 bitcoinUriService passing first test. 2018-08-23 10:48:49 +12:00