Skip to content
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

Parse identity balance from ChainLock #137

Merged
merged 3 commits into from
May 23, 2024
Merged

Conversation

pshenmic
Copy link
Owner

@pshenmic pshenmic commented May 23, 2024

Issue

On IdentityCreateTransition, there are two types of AssetLocks that can be used to register an Identity: InstantLock and ChainLock. While InstantLock always contains transaction's details and amounts, ChainLock only supplies with an blockheight, txhash and vout. Therefore, a Core RPC call is required to obtain an amount of Dash transacted in the registration of Identity.

Things done

  • Added Core RPC as a dependency for an Indexer module
  • Implemented balance parsing depending on assetlock type (InstantLock / ChainLock)
  • Updated documentation

@pshenmic pshenmic added the indexer Related to indexer module label May 23, 2024
@pshenmic pshenmic self-assigned this May 23, 2024
Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 5:33pm

@pshenmic pshenmic merged commit 3a14402 into master May 23, 2024
6 checks passed
@owl352 owl352 deleted the feat/parse-chainlock branch November 23, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexer Related to indexer module
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant