22 Commits

Author SHA1 Message Date
ASuciuX
60d2a40d22 feat(brc20): add transferable-inscriptions endpoint 2025-03-21 20:24:15 +02:00
Rafael Cárdenas
6fdd83ac02 chore: display full bitcoin-indexer names in api status (#509) 2025-03-20 13:19:03 -06:00
Guspan Tanadi
9a4218facd docs(api/ordinals): navigate path repo links (#458) 2025-03-13 17:55:06 -06:00
Rafael Cárdenas
9e9eac81ea refactor: standardize block download pipeline across indexers (#463)
* zmq after chain tip

* some progress

* block pool advance

* runloop finished

* renames

* runs first time

* log levels

* start connecting runes

* compress block opt

* remove dead code

* remove dead code chainhook sdk

* remove ordhook dead code

* rollback install

* auto fmt

* clippy fixes

* fmt

* rollback chain tip

* api test

* api metrics fix

* rename

* standard logs

* ordinals start chain tip

* chain tips

* ci

* clippy

* fix tests

* remove dead code
2025-03-13 08:26:46 -06:00
Rafael Cárdenas
8e4502b0f1 Merge pull request #459 from hirosystems/beta
merge beta into develop
2025-03-05 09:50:14 -06:00
Rafael Cárdenas
16e8838ae4 ci: publish openapi specs to vercel (#457)
* ci: publish vercel for apis

* vercel branch

* node v

* move to api dir

* remove build

* remove branch trigger

* remove environments

* rename job
2025-03-04 22:08:58 -06:00
Rafael Cárdenas
fd2a8496e3 feat(runes): add runes indexer (#453)
* rename ordhook-cli to cli

* rename ordhook-cli

* update configs

* update config to future support runehook integration

* new code

* add ci

* files

* standard

* add files

* rename binary to bitcoin-indexer and commands to ordinals from ordhook

* config component

* integration

* runes build

* fix runes

* indexer toml

* add runes tests to ci

* rename dockerfile

* fix: doctest

---------

Co-authored-by: ASuciuX <asuciu@hiro.so>
2025-02-28 13:22:27 -06:00
Rafael Cárdenas
da5596afec feat(runes): add runes api to codebase (#449)
* new code

* add ci

* files

* standard

* Update api/runes/package.json

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

---------

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
2025-02-27 09:06:43 -06:00
Rafael Cárdenas
03a72da92d Merge pull request #448 from hirosystems/develop
release to beta
2025-02-25 10:25:38 -06:00
Rafael Cárdenas
41438aca96 fix(brc20): historical token balance (#444)
* feat: start indexing brc20 balance history

* fix: api support

* style: revert

* remove extra
2025-02-20 10:59:25 -06:00
Rafael Cardenas
703f98f77f fix(api): multiple parent display 2025-02-18 16:06:21 -06:00
Rafael Cárdenas
d4ee264ad0 fix(api): show delegate inscription id correctly (#439) 2025-02-18 13:58:06 -06:00
Rafael Cárdenas
563064413b feat(api): add parent_refs field to inscription responses (#436)
* fix: parent refs

* parent refs array
2025-02-18 12:14:06 -06:00
Rafael Cárdenas
a7073da0b4 feat(api): return inscription charms in responses (#435)
* add to schema

* test: values
2025-02-18 11:12:42 -06:00
Rafael Cardenas
dc9e599c1e ci: ordinals-api monorepo release 2025-02-13 12:05:59 -06:00
Rafael Cárdenas
3409345e33 ci: fix api docker builds, upgrade to node 20, ignore ord from coverage (#426)
* ci: fix api docker builds, upgrade to node 20

* try again, ignore ord

* fix dockerignore

* restore ci order
2025-02-13 10:51:20 -06:00
Rafael Cárdenas
fcffa7e5c1 fix: upgrade ord dependencies and integrate chainhook-sdk code (#397)
* chore: upgrade ord code

* chore: deps

* chore: add parents table

* chore: move pg deps to workspace

* fix: delegation works

* chore: import chainhook-sdk code

* chore: move ord to its own component

* ci: dockerfile

* docs: ord readme

* refactor: remove all unused code from chainhook-sdk (#412)

* chore: remove stacks types

* checkpoint before removing predicates

* chore: remove all predicates code

* bitcoin dep

* fix: tests

* fix: api tests
2025-02-11 12:21:30 -06:00
dependabot[bot]
c7b9a34b4f chore(deps): bump cookie and light-my-request in /api/ordinals (#405)
Bumps [cookie](https://github.com/jshttp/cookie) and [light-my-request](https://github.com/fastify/light-my-request). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `light-my-request` from 5.9.1 to 5.14.0
- [Release notes](https://github.com/fastify/light-my-request/releases)
- [Commits](https://github.com/fastify/light-my-request/compare/v5.9.1...v5.14.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: light-my-request
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:51 -06:00
dependabot[bot]
5a9588adb3 chore(deps): bump @fastify/multipart in /api/ordinals (#404)
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.1.0 to 8.3.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.1.0...v8.3.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:27 -06:00
dependabot[bot]
fea12167d5 chore(deps): bump dompurify and redoc-cli in /api/ordinals (#408)
Removes [dompurify](https://github.com/cure53/DOMPurify). It's no longer used after updating ancestor dependency [redoc-cli](https://github.com/Redocly/redoc). These dependencies need to be updated together.


Removes `dompurify`

Updates `redoc-cli` from 0.13.20 to 0.13.21
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: indirect
- dependency-name: redoc-cli
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:38:29 -06:00
dependabot[bot]
50b0000097 chore(deps): bump undici from 5.22.1 to 5.28.5 in /api/ordinals (#406)
Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:37:50 -06:00
Rafael Cárdenas
205b4c80bd feat: migrate ordinals api to ordhook repo (#389)
* feat: add database migration cli commands

* update cargo lock

* chore: import first api files

* test: cache first

* test: cache

* test: sats

* test: inscription show

* test: inscription transfers

* test: inscriptions index

* test: inscriptions complete

* test: counts

* test: status

* test: block counts

* test: brc20 activity

* test: brc20 holders

* ci: api tests

* ci: update nvmrc path

* ci: remove migration refs

* ci: unused exports

* ci: unused

* ci: build publish

* ci: monorepo

* fix: timestamps

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/overview.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* fix: warnings

---------

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
2025-02-07 13:44:21 -06:00