-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add brc20 stats view #203
Draft
janniks
wants to merge
66
commits into
develop
Choose a base branch
from
fix/add-brc20-stats-view
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## [1.0.0-brc-20.1](v0.4.15...v1.0.0-brc-20.1) (2023-08-17) ### ⚠ BREAKING CHANGES * optimize transfer replay capability (#129) ### Features * add inscription number sort option ([#168](#168)) ([9f4cdbc](9f4cdbc)) * add stats endpoint for inscription counts ([#70](#70)) ([ac18e62](ac18e62)) * brc-20 balance at block ([#186](#186)) ([ced5cb3](ced5cb3)) * detect and tag recursive inscriptions ([#167](#167)) ([fb36285](fb36285)) * first balance endpoint ([f9c6654](f9c6654)) * first balance transfers ([dd8ec07](dd8ec07)) * holders endpoint ([a01f77e](a01f77e)) * mint within supply ([c8e5820](c8e5820)) * mints with balance changes ([32e90f7](32e90f7)) * optimize transfer replay capability ([#129](#129)) ([97874cc](97874cc)) * start storing token deploys ([bf4c7f6](bf4c7f6)) * token details ([5d35d5b](5d35d5b)) * token info endpoint ([8fad6b9](8fad6b9)) * tokens endpoint as paginated index ([ae2049b](ae2049b)) ### Bug Fixes * add address column to genesis and current ([d71e1d4](d71e1d4)) * add indexes for fks ([354ddd0](354ddd0)) * add secondary sorting by inscription number ([#177](#177)) ([99959df](99959df)) * allow gap fills for transfers ([026c275](026c275)) * allow multiple transfers of an inscription in one block ([#132](#132)) ([bc545f0](bc545f0)) * auto predicate registration option ([e1ed7c7](e1ed7c7)) * balances and rollbacks ([61b4139](61b4139)) * balances/:address ([687c2e4](687c2e4)) * build beta image ([13f2c13](13f2c13)) * build event server using chainhook client library ([#105](#105)) ([ab4c795](ab4c795)) * chainhook client upgrades ([9a96492](9a96492)) * consider `tx_index` in transfers by block endpoint ([#178](#178)) ([ed517d6](ed517d6)) * introduce materialized view to count address inscriptions ([#147](#147)) ([09a95d5](09a95d5)) * invalid decimal count ([aa15b0e](aa15b0e)) * make etag calculation sensitive to inscription location gap fills and upserts ([#156](#156)) ([5648c9e](5648c9e)) * only consider blessed inscriptions ([2a4700c](2a4700c)) * optimize COUNT calculations via the use of count tables ([#175](#175)) ([31498bd](31498bd)) * refresh views in parallel ([#154](#154)) ([a7674a9](a7674a9)) * remove old json content tables ([0732048](0732048)) * remove old json schemas ([8cc7f8a](8cc7f8a)) * remove unused json functions ([#165](#165)) ([3eb0e24](3eb0e24)) * rename location pointer tables ([b84d27e](b84d27e)) * rollback location pointers ([#174](#174)) ([3c9d7f0](3c9d7f0)) * save tx_index on locations to support transfers on same block ([#145](#145)) ([30a9635](30a9635)) * skip db migrations during readonly mode ([d5157f0](d5157f0)) * tick must be 4 bytes or less ([f6fd0a6](f6fd0a6)) * transfers only usable once ([542ec34](542ec34)) * upgrade chainhook client ([cbbb951](cbbb951)) * upgrade chainhook client to 1.3.3 ([ee66f93](ee66f93)) * warn correctly on missing prev locations ([879bf55](879bf55))
* refactor: update nullish access * feat: add deploy_timestamp to brc-20 token endpoints * feat: add minted_supply to brc-20 token endpoints * refactor: improve scan performance with generated lower ticker * feat: add prefix filtering to brc20 deploy tickers * test: add token endpoint test --------- Co-authored-by: janniks <[email protected]>
* chore: draft optims * chore: more optimizations * fix: reveals and transfers in same batch * fix: inscriptions tests pass * fix: optimize pointer logic * fix: cache updated_at writes * feat: scan block concept * fix: individual items, start transfers * fix: all tests pass * fix: env var brc20 processing * feat: add admin rpc server to control brc20 scans * style: comments
## [1.0.0-brc-20.3](v1.0.0-brc-20.2...v1.0.0-brc-20.3) (2023-08-24) ### Bug Fixes * add unique indexes for mints and transfers ([b428bb4](b428bb4)) * sending transfer as fee returns amt to sender ([e23012a](e23012a))
* fix: upgrade api-toolkit * fix: isProdEnv helper
## [1.0.0-brc-20.5](v1.0.0-brc-20.4...v1.0.0-brc-20.5) (2023-08-25) ### Bug Fixes * change uniqueness constraint in locations table ([9a9c5de](9a9c5de))
## [1.0.0-brc-20.6](v1.0.0-brc-20.5...v1.0.0-brc-20.6) (2023-08-26) ### Bug Fixes * place a cap on max insertion size ([bef5f23](bef5f23))
* fix: do not insert repeated recursions * chore: remove custom launch
Vercel deployment URL: https://ordinals-bt85y9s71-blockstack.vercel.app 🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tx_count
andholder_count
not finished yet,
if we like this, it can be used in other queries (e.g. replace the getTokenHolders queries)
tx_count
in endpoints (e.g. getTokens) -- currently, would have to join with brc20_events COUNT OVER, which makes the query a lot slower