Matt Hess
43e1ebbef8
● Add oracle/pricing system implementation
...
- Create src/oracle.js with complete pricing record support
- Data structures: PricingRecord, AssetData, SupplyData (matching C++ pricing_record.h)
- DSA/ECDSA signature verification with mainnet/testnet public keys
- Conversion rate calculation with rounding (getConversionRate, getConvertedAmount)
- Slippage calculation (1/32 = 3.125%) with refund logic
- Pricing record validation (HF gates, timestamps, signatures)
- JSON serialization/parsing for oracle responses
- HTTP client for fetching pricing records from oracle server
- Add 66 unit tests in test/oracle.test.js
- Export oracle module from index.js
2026-01-26 11:45:08 +00:00
..
2026-01-24 20:56:24 +00:00
2026-01-18 23:43:58 +00:00
2026-01-22 03:24:00 +00:00
2026-01-25 20:50:41 +00:00
2026-01-15 19:19:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-15 19:19:27 +00:00
2026-01-18 01:16:10 +00:00
2026-01-15 19:19:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-18 01:16:10 +00:00
2026-01-14 23:59:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-25 00:13:39 +00:00
2026-01-25 00:13:39 +00:00
2026-01-25 00:13:39 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 23:43:58 +00:00
2026-01-25 13:11:31 +00:00
2026-01-25 13:11:31 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-22 03:24:00 +00:00
2026-01-15 02:09:51 +00:00
2026-01-14 23:59:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-14 23:59:27 +00:00
2026-01-18 23:43:58 +00:00
2026-01-18 23:43:58 +00:00
2026-01-26 11:45:08 +00:00
2026-01-15 19:19:27 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 23:43:58 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 23:43:58 +00:00
2026-01-25 00:13:39 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 21:39:05 +00:00
2026-01-14 23:59:27 +00:00
2026-01-15 02:09:51 +00:00
2026-01-18 21:39:05 +00:00
2026-01-15 02:09:51 +00:00
2026-01-22 03:24:00 +00:00
2026-01-14 23:59:27 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-15 19:19:27 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-05 22:31:03 +00:00
2026-01-18 01:16:10 +00:00
2026-01-15 19:19:27 +00:00
2026-01-15 19:19:27 +00:00
2026-01-18 01:16:10 +00:00
2026-01-18 01:16:10 +00:00
2026-01-25 00:13:39 +00:00
2026-01-18 21:39:05 +00:00
2026-01-18 21:39:05 +00:00
2026-01-15 02:09:51 +00:00
2026-01-18 21:39:05 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00
2026-01-18 21:39:05 +00:00
2026-01-18 23:43:58 +00:00
2026-01-18 23:43:58 +00:00
2026-01-15 02:09:51 +00:00
2026-01-22 03:24:00 +00:00
2026-01-22 03:24:00 +00:00