dApp development is one of the most important part of 3DPass Layer 1 blockchain infrastructure. In order to take advantage of Proof of Scan protocol, there must be some essential instruments and tools around to interact with. Let’s make a quick review on what is available now.
It couldn’t have left aside, that the actual 3DPass node implementation is based on Substrate framework, which provides the Smart contract module using ink, a Rust-based embedded domain specific language (eDSL) for writing WebAssembly smart contracts.
There is a different approach to implementation and execution of custom business logic called runtime development, which allows for creation of custom “pallets” leveraging network events as a trigger. Custom pallet would provide a logic “what to do on new block initialization or finalization, storage changes, transaction status changes, etc.” It might, as well, be equipped with RPC API calls to interact with and off-chain worker possibilities. Use Substrate documentation for more details.
In order to implement a custom pallet into 3DPass runtime pull request is required.
What is planned next?
3DP-RC2 API for the tokenization of user’s objects, including methods for its recognition, HASH ID verification and asset issuance.
Hope, you’ll enjoy 3DPass and create the best dApps ever!