128 Commits

Author SHA1 Message Date
mhatal
d9bdfcc5d1 chore: use go 1.24.1 to build 2025-03-18 22:00:32 -05:00
mhatal
fa21cf6007 chore: change docker image repo 2025-03-18 21:30:40 -05:00
Planxnx
5d39d7735e Merge branch 'feature/brc20-module-api' into feat/brc20-module 2024-06-30 21:14:00 +07:00
Planxnx
bd692a1e12 Merge branch 'develop' into feature/brc20-module-api 2024-06-14 17:50:30 +07:00
Gaze
415a476478 Merge branch 'main' into develop 2024-06-14 16:55:39 +07:00
Gaze
f63505e173 feat(btcutils): use chain params instead common.network 2024-06-14 16:55:28 +07:00
Gaze
65a69ddb68 Merge remote-tracking branch 'origin/main' into develop 2024-06-14 16:48:48 +07:00
Thanee Charattrakool
4f5d1f077b feat(btcutils): add bitcoin utility functions (#26)
* feat(btcutils): add bitcoin utility functions

* feat(btcutils): add bitcoin signature verification
2024-06-14 16:48:22 +07:00
Gaze
7bf21cbdea feat: add todo note 2024-06-14 05:21:58 +07:00
Gaze
f3c944a57b feat(decimals): support pgtype.Numeric 2024-06-14 00:47:02 +07:00
Gaze
f2adf82121 feat: add todo note 2024-06-13 04:02:25 +07:00
Gaze
70434caa6a fix: typo 2024-06-13 01:08:16 +07:00
Gaze
1b52a20542 Merge branch 'develop' into feature/brc20-module-api 2024-06-13 00:16:11 +07:00
Gaze
c133006c82 Merge branch 'main' into develop 2024-06-12 23:39:24 +07:00
Thanee Charattrakool
51fd1f6636 feat: move requestip config to http config (#25) 2024-06-12 22:08:03 +07:00
Thanee Charattrakool
a7bc6257c4 feat(api): add request context and logger middleware (#24)
* feat(api): add request context and logger middleware

* feat(api): add cors and favicon middleware

* fix: solve wrapcheck linter warning

* feat: configurable hidden request headers
2024-06-12 21:47:29 +07:00
Gaze
22c2716d6b feat(brc20): construct api 2024-06-11 14:36:17 +07:00
Gaze
02abc2a190 Merge remote-tracking branch 'origin/feat/brc20-module' into feature/brc20-module-api 2024-06-11 14:35:47 +07:00
Gaze
ac22c355f5 feat: add config example 2024-06-11 14:31:22 +07:00
Gaze
26aa2805c1 fix: insert id to events 2024-06-11 14:09:22 +07:00
Gaze
1b86dc6cec fix: sort transfers by sequence number 2024-06-11 12:49:07 +07:00
Gaze
7fb0c7a40d feat: add inscription number and sequence number to transfers 2024-06-11 12:45:43 +07:00
Gaze
43ac6badac fix: ensure outpoint values are fetched 2024-06-11 12:37:01 +07:00
Gaze
3c2c52eb1d feat(brc20): can't have multiple mint events in same tx 2024-06-10 22:03:48 +07:00
Gaze
2c9adb7e91 feat(brc20): implement brc-20 indexer api 2024-06-10 20:12:40 +07:00
Gaze
84bbc986f0 Merge remote-tracking branch 'origin/feat/brc20-module' into feature/brc20-module-api 2024-06-10 19:27:45 +07:00
Gaze
1439964666 feat(brc20): add db query 2024-06-10 18:03:23 +07:00
Gaze
f4025e0f15 feat: batch get outpoint values 2024-06-10 17:33:09 +07:00
Gaze
0172f036fb fix: assign to nil map 2024-06-10 17:29:42 +07:00
Gaze
5eb2380e4b fix: get all transfers in outpoints for all txs 2024-06-10 16:34:46 +07:00
Gaze
b7b4607b6a fix: coinbase tx processing 2024-06-10 16:04:28 +07:00
Gaze
cfcfd845f3 fix: processor bug 2024-06-10 14:26:41 +07:00
Gaze
7c23b93751 fix: jubilee height condition 2024-06-10 14:07:36 +07:00
Gaze
2c016f36c1 fix: payload parsing 2024-06-10 09:58:58 +07:00
Gaze
accf37a218 feat(decimals): add decimal utils 2024-06-10 05:07:26 +07:00
Gaze
e91c7db601 Merge remote-tracking branch 'origin/feat/brc20-module' into feature/brc20-module-api 2024-06-10 03:51:50 +07:00
Gaze
980163900c fix: imports 2024-06-10 01:53:13 +07:00
Gaze
8110434e18 fix: concat hex-encoded hashes instead 2024-06-10 01:52:24 +07:00
Gaze
3603248485 fix: start cumulative hash with first event hash 2024-06-10 01:45:17 +07:00
Gaze
2c5a6076ff feat: add flush brc20 states 2024-06-10 00:14:28 +07:00
Gaze
05d7fecf69 feat: add event hash logic 2024-06-10 00:09:18 +07:00
Gaze
49eff4f3ba refactor: separate brc20 processing logic to smaller funcs 2024-06-09 23:40:36 +07:00
Gaze
e4d41cc7a4 feat: skip non-brc20 transfers 2024-06-09 17:00:01 +07:00
Gaze
b45dfd066a fix: remove debug logs 2024-06-09 16:41:58 +07:00
Gaze
2ae5b0835d feat: process brc20 states 2024-06-09 16:29:00 +07:00
Gaze
132dcde715 fix: transfer order 2024-06-09 16:28:42 +07:00
Gaze
4228730a34 fix: inscription logic 2024-06-09 16:17:58 +07:00
Gaze
f3ff5ecb7d fix: bug transfer inscription in same block as inscribe 2024-06-09 15:30:27 +07:00
Gaze
99bdf49f02 feat: brc20 indexing logic 2024-06-09 14:49:13 +07:00
Gaze
806d27fb46 fix: remove wrong incomplete field check 2024-06-08 00:23:51 +07:00