Hey guys, I would like to propose a feature that will enable Dash SDK SPV wallet to be enabled in the mainnet. That will unblock further app development and will ease the onboarding of new devs that wants to integrate Dash in their products. I often see how people want to use Dash SDK in the mainnet, but it's only working in the testnet, however we already have all the infrastructure for that. That will also look like a little step towards our eventual Dash Platform release.
Background
Dash Core Group have already developed a wonderful Dash SDK for Javascript and it gives you much much easier access to the Dash network. It includes everything a regular developer would ever need: SPV wallet, HD keys, and many more. It is originally meant to be enabled together with platform, because it relies on the DAPI to receive block headers and other on-chain data.
DAPI stands for Decentralized API and it is a part of the upcoming Dash Platform system. It acts as a GRPC / JSONRPC gateway for applications to send and retrieve data in the both L1 and L2 protocols.
SPV stands for simple payment verification and it works via checking wallet's transactions in the block headers without downloading and storing them locally. Thus, it makes easier to integrate Dash into different products, because you don't need an external server or hard drive, and you still can verify the incoming data. Integrating Dash is easy as just downloading the library.
Not only that, it is a part of the DashPay vision as well, because it will enable further web extensions development. That extensions expected to look like a metamask in the ethereum's web3. But instead of relying on the centralised API (like etherscan), that can easily fool you and be offline, dash extension will only rely on the Dash Network iteself, means you can't just shut it down.
Solution
Technically, it is already possible today to start deploying DAPI components on the HPMN hosts. If I'm not mistaken, network has already activated HPMN nodes and they are incentivised to keep services running. They will provide necessary data for Dash SDK in order for correct so called sync. The task itself is not so big, and its more about network agreement. The approximate things to change:
* Disable platform queries in the DAPI software for mainnet
* Enable DAPI service for mainnet in the dashmate, DMT, DMZ, or any other node deployment tool
* Enable DashSDK for mainnet
Work flow
I am eager to prepare and test all the necessary changes if the network agrees to do it. The process includes submitting a PRs and testing the whole integration in the devnet (smoke tests).
About me
I am dip-dived Dash developer working on stuff in the Dash Incubator, I am pretty familiar with the whole system (core + platform) and I am happy to answer any your incoming questions. I am around in the Dash discord as well, if you need more quicker feedback
Links
Background
Dash Core Group have already developed a wonderful Dash SDK for Javascript and it gives you much much easier access to the Dash network. It includes everything a regular developer would ever need: SPV wallet, HD keys, and many more. It is originally meant to be enabled together with platform, because it relies on the DAPI to receive block headers and other on-chain data.
DAPI stands for Decentralized API and it is a part of the upcoming Dash Platform system. It acts as a GRPC / JSONRPC gateway for applications to send and retrieve data in the both L1 and L2 protocols.
SPV stands for simple payment verification and it works via checking wallet's transactions in the block headers without downloading and storing them locally. Thus, it makes easier to integrate Dash into different products, because you don't need an external server or hard drive, and you still can verify the incoming data. Integrating Dash is easy as just downloading the library.
Not only that, it is a part of the DashPay vision as well, because it will enable further web extensions development. That extensions expected to look like a metamask in the ethereum's web3. But instead of relying on the centralised API (like etherscan), that can easily fool you and be offline, dash extension will only rely on the Dash Network iteself, means you can't just shut it down.
Solution
Technically, it is already possible today to start deploying DAPI components on the HPMN hosts. If I'm not mistaken, network has already activated HPMN nodes and they are incentivised to keep services running. They will provide necessary data for Dash SDK in order for correct so called sync. The task itself is not so big, and its more about network agreement. The approximate things to change:
* Disable platform queries in the DAPI software for mainnet
* Enable DAPI service for mainnet in the dashmate, DMT, DMZ, or any other node deployment tool
* Enable DashSDK for mainnet
Work flow
I am eager to prepare and test all the necessary changes if the network agrees to do it. The process includes submitting a PRs and testing the whole integration in the devnet (smoke tests).
About me
I am dip-dived Dash developer working on stuff in the Dash Incubator, I am pretty familiar with the whole system (core + platform) and I am happy to answer any your incoming questions. I am around in the Dash discord as well, if you need more quicker feedback
Links
platform/packages/dapi at master · dashpay/platform
L2 solution for seriously fast decentralized applications for the Dash network - dashpay/platform
github.com
platform/packages/js-dash-sdk at master · dashpay/platform
L2 solution for seriously fast decentralized applications for the Dash network - dashpay/platform
github.com
platform/packages/dashmate at master · dashpay/platform
L2 solution for seriously fast decentralized applications for the Dash network - dashpay/platform
github.com