Commit Graph
93 Commits
Author SHA1 Message Date
Chris Troutner 3cedd251e5 fix(linting): Adding standard linting rules 2021-01-02 15:41:12 -08:00
Chris Troutner ea57f52b20 fixing dependency in test 2021-01-01 16:39:03 -08:00
Chris Troutner 9a36a8261a Merge pull request #54 from josephroyking/generateSendOpReturn-rounding-patch
Generate send op return rounding patch
2020-12-28 04:57:53 -08:00
Chris Troutner b1c3311d50 feat(Blockbook): Removing support for Blockbook indexer 2020-12-24 10:16:41 -08:00
Chris Troutner d475f2220f feat(SLPDB status): Created bchjs.SLP.Utils.getStatus() to get health status of SLPDB 2020-12-24 09:25:35 -08:00
Chris Troutner b9873f7ed8 Added additional corner case unit test for tokenUtxoDetails() 2020-12-13 08:56:09 -08:00
Chris Troutner d1847d2eca feat(tokenUtxoDetails()): Using fallback SLP validators 2020-12-06 19:18:47 -08:00
Chris Troutner 1f01e6ae47 fix(tokenUtxoDetails): Catching and invalidating malformed SLP OP_RETURNs 2020-12-06 18:40:14 -08:00
Chris Troutner 1375601a81 Restored all unit tests 2020-12-06 17:41:43 -08:00
Chris Troutner e97a8e7cf5 fix(slp utils): refactoring unit tests 2020-12-06 15:41:39 -08:00
Chris Troutner 3df211301c fix(unit tests): Refactored a lot of code flow 2020-12-06 14:51:48 -08:00
Chris Troutner a81dec068c fix(address unit tests): Fixed to prevent network call 2020-12-06 13:48:06 -08:00
Chris Troutner 4af6716631 Editing slp-util unit tests 2020-12-06 13:07:35 -08:00
Chris Troutner 98f7cb8f3a encapsulating and mocking axios in the slp-utils lib and unit tests 2020-12-06 09:59:01 -08:00
Chris Troutner 348a67a79b tokenUtxoDetails: prototyped different validation methods 2020-12-06 09:49:30 -08:00
Chris Troutner 13d9f89a82 Commenting out test that still needs to be mocked 2020-12-05 20:44:53 -08:00
Chris Troutner f5de593f89 fix(tests): Getting all tests passing 2020-12-05 20:42:07 -08:00
Chris Troutner 3b0ec95fba perf(v4): Switching to bch-api v4 routes 2020-12-05 19:28:33 -08:00
Chris Troutner 0a328090ea saving confused progress 2020-12-05 19:06:11 -08:00
Chris Troutner 315cb4f254 feat(whitelist): Added method for getting SLPDB whitelist 2020-12-05 14:02:39 -08:00
Chris Troutner 72d560e407 fix(price): Adding BCHA price 2020-11-17 14:41:04 -08:00
Chris Troutner fbbd855145 feat(Basic Authentication): Adding authPass for auth token to all libraries 2020-11-11 17:47:46 -08:00
Joey King b512b222dd Adding large test tx 2020-11-10 14:28:10 -08:00
Joey King 650e3b53fc Adding tests and checks 2020-11-10 13:38:41 -08:00
Stoyan Zhekov 7990d0bffd Add Ninsight TX Details 2020-11-10 19:04:16 +09:00
Chris Troutner fc0d8b7f8c fix(ninsight): Adding tx history endpoint 2020-11-09 16:12:10 -08:00
Stoyan Zhekov 0ef8555837 Add Ninsight TX History to bch-js 2020-11-09 19:49:41 +09:00
Stoyan Zhekov a7564ce611 Add Ninsight Unconfirmed UTXOs 2020-11-09 17:44:09 +09:00
Chris Troutner 2180b14e1f feat(price): Added additional endpoints for retrieving market price of BCH 2020-10-19 19:36:55 -07:00
Chris Troutner ba38d3e107 fix(tokenUtxoDetails): handling dust attack transactions better 2020-10-11 17:46:27 -07:00
Chris Troutner 7ec8442540 fix(Electrumx.blockHeader): Mocking negative test-case unit tests 2020-10-11 15:39:17 -07:00
Chris Troutner be3094fc77 feat(validateTxid2): slp-validate based validation of SLP txids 2020-10-11 15:23:50 -07:00
Stoyan Zhekov af118f8a62 Add Electrumx Broadcast TX method 2020-10-07 17:14:30 +09:00
Chris Troutner 73dd2c010d fix(tokenUtxoDetails): returning isValid:null when 429 error encountered with decodeOpReturn() 2020-09-28 17:39:26 -07:00
Chris Troutner 32b8efa7a2 feat(SLP.Utils.hydrateUtxos): Added hydrateUtxos to match new bch-api endpoint 2020-09-27 01:47:46 -07:00
Stoyan Zhekov 0a897f19bb code, unit and integration tests and api-doc added 2020-09-11 23:46:01 +09:00
Stoyan Zhekov 47bd0d66bc Add ElectrumX get block headers method and tests 2020-09-01 23:52:50 +09:00
Chris Troutner b207a1639e Removing unit test for SLP.Utils.balance() 2020-08-07 18:13:52 -07:00
Stoyan Zhekov b184c080f1 Access to unconfirmed UTXOs API endpoints 2020-08-04 22:58:22 +09:00
Chris Troutner 4d2d8d0e5a fix(Ninsight): Using POST endpoint only 2020-07-31 14:04:22 -07:00
Chris Troutner 1aa99a820a fix(Ninsight utxo): Added call to POST bulk endpoint 2020-07-31 12:58:06 -07:00
Daniel Gonzalez b12110a617 feat(upload): Expanded IPFS Class for uploading files to the web 2020-07-29 01:18:33 -04:00
Chris Troutner 6d68e05a8f fix(getHexOpReturn): Adding SLP.TokenType1.getHexOpReturn() 2020-07-18 20:45:17 -07:00
Chris Troutner 7fef149c94 fix(generateSendOpReturnWeb): Removed generateSendOpReturnWeb() 2020-07-18 20:21:19 -07:00
Chris Troutner e881d24d08 fix(generateSendOpReturnWeb): Restoring old SLP Send for web 2020-07-08 10:32:07 -07:00
Chris Troutner 73f1c449fb feat(tokenUtxoDetails()): Returns non-hydrated UTXOs 2020-06-13 19:35:22 -07:00
Chris Troutner 3b2079f53f fix(ninsight): Refreshed the Ninsigh class library 2020-06-09 10:29:15 -07:00
Chris Troutner c5c6a0242e Updated unit tests for Script class 2020-06-08 14:11:26 -07:00
Chris Troutner 48b5afaef5 feat(isTokenUtxo): Deprecating and removing isTokenUtxo() as tokenUtxoDetails() can be used instead 2020-06-05 18:12:51 -07:00
Chris Troutner 913bae3659 fix(tokenUtxoDetails): Added more support for NFT 2020-06-05 18:10:19 -07:00