Skip to main content
Ctrl+K
Logo image Logo image

Site Navigation

  • Platform docs
  • Core docs
  • User docs
  • Dash.org
  • Forum

Site Navigation

  • Platform docs
  • Core docs
  • User docs
  • Dash.org
  • Forum

Section Navigation

Introduction

  • What is Dash
  • What is Dash Platform
  • Intro to Testnet

Tutorials

  • Introduction
  • Connect to a network
  • Create and fund a wallet
  • Identities and names
    • Register an Identity
    • Retrieve an identity
    • Topup an identity’s balance
    • Update an identity
    • Retrieve an account’s identities
    • Register a name for an identity
    • Retrieve a name
  • Contracts and documents
    • Register a data contract
    • Retrieve a data contract
    • Retrieve data contract history
    • Update a data contract
    • Submit documents
    • Retrieve documents
    • Update documents
    • Delete documents
  • Send funds
  • Use DAPI client methods
  • Set up a node
    • Dash masternode
    • Dash Core full node

Explanations

  • Decentralized API (DAPI)
  • Platform Protocol (DPP)
    • Data Contract
    • State Transition
    • Document
    • Data Trigger
  • Identity
  • Name Service (DPNS)
  • Drive
    • Platform Chain
    • Platform State
  • Platform Consensus
  • DashPay
  • Fees

Reference

  • DAPI Endpoints
    • JSON-RPC Endpoints
    • gRPC Overview
    • Core gRPC Endpoints
    • Platform gRPC Endpoints
  • Query Syntax
  • Data Contracts
  • Glossary
  • Frequently Asked Questions

Platform Protocol Reference

  • Overview
  • Identity
  • Data Contract
  • State Transition
  • Document
  • Data Trigger
  • Consensus Errors

Resources

  • Repository Overview
  • Testnet Block Explorer
  • Testnet Faucet
  • Source Code
  • Previous Version of Docs

Dash SDK

  • Overview
  • Examples
    • Fetching an identity from its name
    • Generate a new mnemonic
    • Paying to another address
    • Receive money and display balance
    • Sign and verify messages
    • Using a different account
  • Getting started
    • About Schemas
    • Core concepts
    • Dash Platform applications
    • Working with multiple apps
    • Quick start
    • TypeScript
  • Platform
    • Contracts
      • Create
      • Get
      • Publish
      • Update
    • Documents
      • Broadcast
      • Create
      • Get
    • Identities
      • Get
      • Register
      • Topup
    • Names
      • Register
      • Resolve
      • ResolveByRecord
      • Search
  • Usage
    • DAPI
    • Dashcore Lib primitives
  • Wallet
    • Accounts
    • Signing and encryption

DAPI Client

  • Overview
  • Quick start
  • Usage
    • DAPIClient
    • Core
      • broadcastTransaction
      • generateToAddress
      • getBestBlockHash
      • getBlockByHash
      • getBlockByHeight
      • getBlockHash
      • getMnListDiff
      • getStatus
      • getTransaction
      • subscribeToTransactionsWithProofs
    • Platform
      • broadcastStateTransition
      • getDataContract
      • getDocuments
      • getIdentity
      • getIdentityByFirstPublicKey
      • getIdentityIdByFirstPublicKey

Contracts and documents#

The following tutorials cover working with data contracts as well as storing and updating related data using the documents they define.

  • Register a data contract
  • Retrieve a data contract
  • Retrieve data contract history
  • Update a data contract
  • Submit documents
  • Retrieve documents
  • Update documents
  • Delete documents

📘 Tutorial code

You can clone a repository containing the code for all tutorials from GitHub or download it as a zip file.

previous

Retrieve a name

next

Register a data contract

Edit this page
Show Source

© Copyright 2023, Dash Core Group, Inc.

Built with the PyData Sphinx Theme 0.12.0.

Created using Sphinx 5.3.0.