86 Commits

Author SHA1 Message Date
Gaze
7bf21cbdea feat: add todo note 2024-06-14 05:21:58 +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
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
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
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
Gaze
7453abec99 fix: remove stop panic 2024-06-07 21:59:02 +07:00
Gaze
0d075c31f8 chore: remove unused util func 2024-06-07 21:48:03 +07:00
Gaze
605ea63167 fix: use decimals for brc20 amounts 2024-06-07 21:37:17 +07:00
Gaze
3fa0a7d975 fix: update migration 2024-06-07 21:20:13 +07:00
Gaze
14142096af feat: update entities for new table columns 2024-06-07 21:17:56 +07:00
Gaze
2bb1bad449 feat: update migrations 2024-06-07 17:27:10 +07:00
Gaze
ccdc4c56ff feat: add brc20 logic 2024-06-07 00:48:31 +07:00
Gaze
f3c6180c17 feat: add more migration and queries 2024-06-06 16:46:25 +07:00
Gaze
ce11033919 fix: use internal query func 2024-06-06 14:04:18 +07:00
Gaze
033dbf7324 fix: inscription transfers primary key add tx_index 2024-06-06 12:55:43 +07:00
Gaze
38c37189fc fix: unique index 2024-06-06 12:09:19 +07:00
Gaze
6d1db50890 fix: rename table 2024-06-05 19:22:12 +07:00
Gaze
0a3800c68a fix: remove transfer count limit 2024-06-05 17:34:49 +07:00
Gaze
cab7d0448e fix: remove pkg errors 2024-06-05 16:12:04 +07:00
Gaze
7c555fe373 fix: get transfers from buffer first 2024-06-05 16:10:54 +07:00