Introduction#
The tutorials in this section walk through the steps necessary to begin building on Dash Platform using the Dash JavaScript SDK. As all communication happens via the masternode hosted decentralized API (DAPI), you can begin using Dash Platform immediately without running a local blockchain node.
Warning
Only the JavaScript SDK provides easy access to Dash Platform without requiring a full node; however, it does not support Dash Platform’s proofs. Therefore, it is less secure than the Rust SDK, which requests proofs for all queried data.
Building on Dash Platform requires first registering an Identity and then registering a Data Contract describing the schema of data to be stored. Once that is done, data can be stored and updated by submitting Documents that comply with the Data Contract.
Prerequisites#
The tutorials in this section are written in JavaScript and use Node.js. The following prerequisites are necessary to complete the tutorials:
Node.js (v20+)
Familiarity with JavaScript asynchronous functions using async/await
The Dash JavaScript SDK (see Connecting to a Network)
Quickstart#
Tip
You can clone a repository containing the code for all tutorials from GitHub or download it as a zip file.
While going through each tutorial is advantageous, the subset of tutorials listed below get you from a start to storing data on Dash Platform most quickly: