-
Notifications
You must be signed in to change notification settings - Fork 58
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
feat: nft metadata service #769
Commits on Sep 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf9b173 - Browse repository at this point
Copy the full SHA cf9b173View commit details -
test(cardano-services): refactor HttpServer tests to work with non-ma…
…tching root and service version
Configuration menu - View commit details
-
Copy full SHA for c31603e - Browse repository at this point
Copy the full SHA c31603eView commit details -
feat!: update core types with deserialized PlutusData
BREAKING CHANGE: incompatible with previous revisions of cardano-services - rename utxo and transactions PouchDB stores - update type of Tx.witness.redeemers - update type of Tx.witness.datums - update type of TxOut.datum - remove Cardano.Datum type fix(cardano-services): correct chain history openApi endpoints path url to match version
Configuration menu - View commit details
-
Copy full SHA for d8cc93b - Browse repository at this point
Copy the full SHA d8cc93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8928869 - Browse repository at this point
Copy the full SHA 8928869View commit details -
feat(util-dev): add with-inline-datum.json chain sync data
in order to test ogmiosToCore inline datum mapper to be used for testing cip68 metadata projection
Configuration menu - View commit details
-
Copy full SHA for ff0b923 - Browse repository at this point
Copy the full SHA ff0b923View commit details -
refactor!: hoist metadatumToCip25 to NftMetadata.fromMetadatum
NftMetadata type shouldn't be coupled to cip25, because there are now 2 sources for NFT metadata: - cip25: auxiliary data (tx metadata) - cip68/222: datum
Configuration menu - View commit details
-
Copy full SHA for c36d7ef - Browse repository at this point
Copy the full SHA c36d7efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e1e7a - Browse repository at this point
Copy the full SHA 91e1e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3da1a6 - Browse repository at this point
Copy the full SHA d3da1a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b263b - Browse repository at this point
Copy the full SHA 64b263bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45cfecb - Browse repository at this point
Copy the full SHA 45cfecbView commit details -
fix: correct ogmiosToCore auxiliaryData mapping
ogmiosToCore used jsonToMetadatum util, which mapping json that is of different format from ogmios schema
Configuration menu - View commit details
-
Copy full SHA for eb0ddc0 - Browse repository at this point
Copy the full SHA eb0ddc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b3296e - Browse repository at this point
Copy the full SHA 8b3296eView commit details -
refactor(core): convert AssetNameLabelNum into object
enum is not convenient to use, because it's values aren't OpaqueNumber
Configuration menu - View commit details
-
Copy full SHA for d2610d7 - Browse repository at this point
Copy the full SHA d2610d7View commit details -
feat: add NFT metadata projection
- add Mappers.withCIP67 - add cip67 assetName to withMint Mapper - add Mapper.withNftMetadata - add storeNftMetadata operator - refactor entities by adding OnDeleteCascadeRelationOptions relation option
Configuration menu - View commit details
-
Copy full SHA for 91fe7df - Browse repository at this point
Copy the full SHA 91fe7dfView commit details -
refactor: update nullable TypeORM entity field types to include '| null'
querying a nullable column can return 'null' - entity types should reflect that
Configuration menu - View commit details
-
Copy full SHA for e654196 - Browse repository at this point
Copy the full SHA e654196View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf6c9e2 - Browse repository at this point
Copy the full SHA bf6c9e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b79419b - Browse repository at this point
Copy the full SHA b79419bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e600c - Browse repository at this point
Copy the full SHA 72e600cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8bb29 - Browse repository at this point
Copy the full SHA ab8bb29View commit details -
fix!: convert tokens.quantity column to numeric
it does not fit to Postgres bigint also, fix the parseBigInt transformer by serializing to str: TypeORM seems to be working incosistently and accepts js BigInt on INSERT, but not WHERE
Configuration menu - View commit details
-
Copy full SHA for 31b0f0a - Browse repository at this point
Copy the full SHA 31b0f0aView commit details -
test(projection-typeorm): hoist createRollForwardEventBasedOn util fr…
…om storeNftMetadata.test.ts
Configuration menu - View commit details
-
Copy full SHA for 5e77b5d - Browse repository at this point
Copy the full SHA 5e77b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b236c9 - Browse repository at this point
Copy the full SHA 0b236c9View commit details -
- new mappers: withStakeKeyRegistrations, withAddresses - new stores: storeStakeKeyRegistrations, storeAddresses - new projection type/name in cardano-services: 'address'
Configuration menu - View commit details
-
Copy full SHA for 416e5f5 - Browse repository at this point
Copy the full SHA 416e5f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6aa71 - Browse repository at this point
Copy the full SHA 0b6aa71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72f6c1b - Browse repository at this point
Copy the full SHA 72f6c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6016a65 - Browse repository at this point
Copy the full SHA 6016a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c0a7ee - Browse repository at this point
Copy the full SHA 4c0a7eeView commit details -
feat(cardano-services): create TypeormAssetProvider
- add use-typeorm-asset-provider option to cli - update provider server to use both DbSync and Typeorm asset provider. - fix typeorm stake pool provider test to use correct version
Configuration menu - View commit details
-
Copy full SHA for aaf133b - Browse repository at this point
Copy the full SHA aaf133bView commit details -
fix(core): bytes field on core plutus script type now contains the co…
…mpiled bytes instead of cbor
Configuration menu - View commit details
-
Copy full SHA for 15a6ba6 - Browse repository at this point
Copy the full SHA 15a6ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9c439 - Browse repository at this point
Copy the full SHA 2e9c439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9451a05 - Browse repository at this point
Copy the full SHA 9451a05View commit details -
feat(core): replaced CML TransactionBody serialization class with out…
… own typescript native version
Configuration menu - View commit details
-
Copy full SHA for 0dfaeb7 - Browse repository at this point
Copy the full SHA 0dfaeb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9a1a58 - Browse repository at this point
Copy the full SHA f9a1a58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22318dd - Browse repository at this point
Copy the full SHA 22318ddView commit details -
feat: added witness set serialization classes
Our new native serialization classes encode all arrays as definite length arrays (cannonical form), the CML encoded arrays inside native scripts as indefinite length arrays, this results in a difference of a few bytes on witness sets which contains nested native scripts.
Configuration menu - View commit details
-
Copy full SHA for 132599d - Browse repository at this point
Copy the full SHA 132599dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b49e57 - Browse repository at this point
Copy the full SHA 4b49e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for c34076c - Browse repository at this point
Copy the full SHA c34076cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f6892 - Browse repository at this point
Copy the full SHA 67f6892View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ba261 - Browse repository at this point
Copy the full SHA b0ba261View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76bed53 - Browse repository at this point
Copy the full SHA 76bed53View commit details -
feat!: remove the CML serialization code from core package
BREAKING CHANGES: CML serialization functions were replaced by the new native serialization classes
Configuration menu - View commit details
-
Copy full SHA for 62f4252 - Browse repository at this point
Copy the full SHA 62f4252View commit details -
feat(projection): add cip67.byAssetId
that can be used to look up the label and decoded value by asset id
Configuration menu - View commit details
-
Copy full SHA for 060ac99 - Browse repository at this point
Copy the full SHA 060ac99View commit details -
refactor!: rename Mappers.Handle type to HandleOwnership
to not clash with Handle type from core package
Configuration menu - View commit details
-
Copy full SHA for 4cb2f55 - Browse repository at this point
Copy the full SHA 4cb2f55View commit details -
fix!: correct cip68 handle name (without label)
fix a bug where it would incorrectly map cip68 handle names by including label as part of the Handle also, add optional 'logger' parameter to 'withHandles' operator (to be converted to required) BREAKING CHANGE: withHandles now requires WithCIP67 props in
Configuration menu - View commit details
-
Copy full SHA for 1711969 - Browse repository at this point
Copy the full SHA 1711969View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2267689 - Browse repository at this point
Copy the full SHA 2267689View commit details -
feat(projection): map 'extra' data with Mappers.withNftMetadata
also clean up the test by removing duplicate data
Configuration menu - View commit details
-
Copy full SHA for 892c2eb - Browse repository at this point
Copy the full SHA 892c2ebView commit details -
fix(projection): keep latest nft metadata
there can be multiple 'copies' of nft metadata for an asset in a block it was keeping the 1st one instead
Configuration menu - View commit details
-
Copy full SHA for 3f8242a - Browse repository at this point
Copy the full SHA 3f8242aView commit details -
feat(core): export tryConvertPlutusMapToUtf8Record from Cardano.util
hoist from NftMetadata.fromPlutusData and add tests
Configuration menu - View commit details
-
Copy full SHA for 645db52 - Browse repository at this point
Copy the full SHA 645db52View commit details -
feat(projection): add withHandleMetadata mapper
it maps 'og' from base nft metadata and images from 'extra'
Configuration menu - View commit details
-
Copy full SHA for 9fc4722 - Browse repository at this point
Copy the full SHA 9fc4722View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f13b4f - Browse repository at this point
Copy the full SHA 5f13b4fView commit details -
refactor(projection): dedupe withHandles and withHandleMetadata imple…
…mentations - hoist assetNameToUTF8Handle to util.ts - use AssetName.toUTF8 core util also, replace custom error with the existing InvalidStringError, because it wasn't used anywhere
Configuration menu - View commit details
-
Copy full SHA for 5b4704b - Browse repository at this point
Copy the full SHA 5b4704bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cadbedb - Browse repository at this point
Copy the full SHA cadbedbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa9ebe - Browse repository at this point
Copy the full SHA 5aa9ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8520e4e - Browse repository at this point
Copy the full SHA 8520e4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bca30bf - Browse repository at this point
Copy the full SHA bca30bfView commit details -
test(projection-typeorm): split storeHandles.test.ts into 2 files
hoist shared utils to util.ts
Configuration menu - View commit details
-
Copy full SHA for 716470a - Browse repository at this point
Copy the full SHA 716470aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53cd873 - Browse repository at this point
Copy the full SHA 53cd873View commit details -
feat(projection-typeorm): add defaultForStakeCredential and defaultFo…
…rPaymentCredential columns
Configuration menu - View commit details
-
Copy full SHA for 481996f - Browse repository at this point
Copy the full SHA 481996fView commit details -
feat(cardano-services): add HandleMetadata to handle projection
also add missing entity inter-dependency output->tokens
Configuration menu - View commit details
-
Copy full SHA for 233ed70 - Browse repository at this point
Copy the full SHA 233ed70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 903faf2 - Browse repository at this point
Copy the full SHA 903faf2View commit details -
fix(cardano-services): return 0 for stake pool status
it would omit the prop if no stake pools of some status are in the database
Configuration menu - View commit details
-
Copy full SHA for 6674b77 - Browse repository at this point
Copy the full SHA 6674b77View commit details -
fix(wallet): do not track reference NFTs as handles
in reality those shouldn't be in user's wallet, but technically they can be
Configuration menu - View commit details
-
Copy full SHA for 3b61c93 - Browse repository at this point
Copy the full SHA 3b61c93View commit details -
feat(e2e): hoist handle minting utils to src
to be used when generating cardano-services db snapshot
Configuration menu - View commit details
-
Copy full SHA for e49f3fd - Browse repository at this point
Copy the full SHA e49f3fdView commit details -
test(cardano-services): re-generate test DBs
add a cip68 handle to handle test db disable some flaky tests: there are no 'retiring' pools in db fix TypeormStakePoolProvider test setup to match partial strings
Configuration menu - View commit details
-
Copy full SHA for 808dfde - Browse repository at this point
Copy the full SHA 808dfdeView commit details -
refactor(core)!: rename HandleResolution default props to credential
address could also be owned by script
Configuration menu - View commit details
-
Copy full SHA for 877279f - Browse repository at this point
Copy the full SHA 877279fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 361824b - Browse repository at this point
Copy the full SHA 361824bView commit details -
refactor(projection-typeorm): add NftMetadataEntity.userTokenAssetId …
…prop it does not add any new columns, but simplifies queries
Configuration menu - View commit details
-
Copy full SHA for 5ac43d1 - Browse repository at this point
Copy the full SHA 5ac43d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c446ac - Browse repository at this point
Copy the full SHA 9c446acView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1cc86 - Browse repository at this point
Copy the full SHA dd1cc86View commit details -
fix(core): return consistent bytes type in Serialization
in some cases it returned a Buffer, because Buffer.valueOf() => Buffer in nodejs
Configuration menu - View commit details
-
Copy full SHA for 9331d01 - Browse repository at this point
Copy the full SHA 9331d01View commit details -
fix(util): deserialize bytes as Uint8Array instead of Buffer
Buffer is Node.js-specific ArrayBuffer and it's views is available in web environments as well
Configuration menu - View commit details
-
Copy full SHA for 78460d3 - Browse repository at this point
Copy the full SHA 78460d3View commit details