Commit Graph

116 Commits

Author SHA1 Message Date
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
Gaze
850728b3cf Merge remote-tracking branch 'origin/feat/brc20-module' into feature/brc20-module-api 2024-06-07 22:31:54 +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
gazenw
3bb7500c87 feat: update docker version 2024-06-07 13:55:55 +07:00
Gaze
f0b4a69392 Merge remote-tracking branch 'origin/feat/brc20-module' into feature/brc20-module-api 2024-06-07 02:37:26 +07:00
Gaze
ccdc4c56ff feat: add brc20 logic 2024-06-07 00:48:31 +07:00
Gaze
b049170621 feat: create common utils for api 2024-06-06 21:44:13 +07:00
Gaze
f3c6180c17 feat: add more migration and queries 2024-06-06 16:46:25 +07:00