Skip to content

docs: update contract registration tutorial to include nft example #62

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

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

thephez
Copy link
Collaborator

@thephez thephez commented Jun 20, 2024

Although the JS SDK does not support the state transitions required to transfer documents, set prices, or purchase documents, contracts for NFTs can still be registered since they're regular contracts with some options configured.

This PR includes an example contract for a simple NFT in the contract registration tutorial (to show how the relevant contract options might be set). Technically NFT documents for the contract can be created/deleted with the JS SDK also. Since doc create/delete work identically to any other doc, those tutorials were not updated.

Preview: https://dash-docs--62.org.readthedocs.build/projects/platform/en/62/docs/tutorials/contracts-and-documents/register-a-data-contract.html

@thephez thephez marked this pull request as ready for review June 20, 2024 18:00
@thephez thephez merged commit 5596210 into dashpay:1.0-dev Jun 20, 2024
1 check passed
@thephez thephez deleted the nft-contract-tutorial branch June 20, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant