🔬
DMTP Docs
  • About DMTP
    • The problems DMTP solves
    • About DMTP Token
    • $DMTP Allocation
    • $DMTP Staking
    • Governance
    • DMTP Protocol
    • DMTP Product
  • How-to-use
    • Guidance
      • Linking Wallet
      • Group chats
      • Chat
  • DMTP System
    • Generation of DMTP key pairs
    • Encryption & Decryption
      • Peer to Peer
        • Pattern α : Bob and Alice have already done the initial DMTP setup.
        • Pattern β : Bob hasn't done the initial DMTP setup
      • Public Unlimited
      • Public Limited
      • Private Group
    • Message data storage
    • Cryptographic algorithm
    • Wide-compatibility
  • Builders Guides
    • 📎SDK Quick Start
    • How to get DMTP API Key
Powered by GitBook
On this page
  • Overview
  • Prerequisite
  • Installation
  • Generate API Key
  • How to use
  • Example
  1. Builders Guides

SDK Quick Start

This is the SDK documents for the developers

PreviousWide-compatibilityNextHow to get DMTP API Key

Last updated 1 year ago

Overview

We have three types of SDK for

  • Get or Create Key

    • SDK for initialize at DMTP and create new DMTP key

    • SDK for retrieve DMTP key from our DB

  • Send messages

    • SDK for sending messages from frontend

  • Connect other SNS

    • SDK for connect other SNS account to DMTP

Prerequisite

  • Node.js: This SDK recommends using Node.js v12.0.0 or higher. Install Node.js from .

  • npm: npm, the package manager for Node.js, is installed along with Node.js. We recommend using npm v6.0.0 or higher. To check your version, run npm -v in your terminal.

  • React: This SDK assumes React v17.0.0 or higher. To add React to your project, run npm install react and npm install react-dom in your terminal.

Installation

yarn

or

npm

Generate API Key

How to use

Example

📎
here
How to get DMTP API Key
https://github.com/DMTProtocol/DMTP-SDK-REACT/tree/main/examplegithub.com