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

Data contract utility update #205

Merged
merged 12 commits into from
Aug 14, 2024
Merged

Data contract utility update #205

merged 12 commits into from
Aug 14, 2024

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Jul 27, 2024

Issue

Previously, the utility's functionality was limited only to deploying a data contract and you had to search for code snippets in various sources to quickly deploy a contract with a new identity and create new documents

Things done

The structure of the code has been changed. 2 npm scripts were added, which allow to register a new ID and push a new document very quickly and easily

  • npm run dataContract:deploy
  • npm run identity:register
  • npm run document:push

In addition, Readme.md has also been updated

@owl352 owl352 added the data contract PE Data Contract label Jul 27, 2024
Copy link

vercel bot commented Jul 27, 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 Aug 14, 2024 1:35pm

@owl352 owl352 self-assigned this Jul 27, 2024
@owl352 owl352 requested a review from pshenmic July 27, 2024 16:52
Copy link
Owner

@pshenmic pshenmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too much code duplication

packages/data-contract/src/utils.js Outdated Show resolved Hide resolved
packages/data-contract/src/actions/deployContract.js Outdated Show resolved Hide resolved
packages/data-contract/src/actions/deployContract.js Outdated Show resolved Hide resolved
packages/data-contract/src/actions/registerIdentity.js Outdated Show resolved Hide resolved
packages/data-contract/src/actions/pushDocument.js Outdated Show resolved Hide resolved
packages/data-contract/src/actions/pushDocument.js Outdated Show resolved Hide resolved
packages/data-contract/src/utils.js Outdated Show resolved Hide resolved
@pshenmic pshenmic merged commit 2b33086 into master Aug 14, 2024
8 checks passed
@owl352 owl352 deleted the feat/data-contract-update branch November 23, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data contract PE Data Contract
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants