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

[C4GT] Asset: Separate preparation of creation of VC Asset from dispatch #213

Closed
2 tasks
vatsa287 opened this issue Apr 29, 2024 · 2 comments · Fixed by #215
Closed
2 tasks

[C4GT] Asset: Separate preparation of creation of VC Asset from dispatch #213

vatsa287 opened this issue Apr 29, 2024 · 2 comments · Fixed by #215
Labels

Comments

@vatsa287
Copy link
Member

vatsa287 commented Apr 29, 2024

Description

Separate preparation of VC Asset Entry and dispatch of extrinsic to chain. This would help when bulk transaction takes place so we just prepare all the required extrinsics and then execute these transaction in batches by dumping them into a promise using
a batch sign & submit utility ex, authorizeBatch which can take array of extrinsics, instead of just one.

Goals

  • Creation of new export function named prepareCreateVcExtrinsic(), which will contain creation of asset entry and Did.AuthorizeTx().
  • Integration of above method into existing dispatchCreateVcToChain()

Implementation Details

Developers/Contributors can refer to example PRs: #188, #182


Product Name

CORD.JS

Organization Name

Dhiway

Domain

Blockchain, SDK Development, API

Tech Skills Needed

Typescript

Mentor(s)

@amarts @vatsa287

Complexity

[Low]

Category

[Performance Improvement], [Feature]

Sub Category

[API], [Refactoring], [Backend], [Beginner friendly]

NOTE:

This is a good-first-issue meaning it is open for new contributors. If you have already worked on similar issues, please avoid getting assigned on these & start working on next level issues. Please read this discussion.

@masterismail
Copy link
Contributor

hi @vatsa287 ! I can take this up.

@kartikaysaxena
Copy link
Contributor

hey @vatsa287 shall I take this up?

nithamitabh added a commit to nithamitabh/cord.js that referenced this issue Jun 3, 2024
-Created of new export function named prepareCreateVcExtrinsic(), which will contain creation of asset entry and Did.AuthorizeTx().
- Integration of above method into existing dispatchCreateVcToChain()
-Added all the comments for easy understanding
@masterismail masterismail removed their assignment Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants