🚀
Tonomy Developer Docs
  • Introduction
    • Features
  • Build Web4 Apps
    • Install
    • Register your Web4 App
    • Login
    • User Data and Logout
    • Sign Verifiable Credentials
    • Server Authentication
    • Smart Contracts
      • Develop
      • Deploy
      • 1-Click Transactions
      • Wallet Signing
    • Send P2P Messages
    • Troubleshooting
  • Multi-Chain Transactions + Crypto
    • Wallet Connect
    • Antelope Sigining Request (ESR)
  • Run Tonomy Infrastructure
    • Overview
      • Configuration
      • What software to run?
    • Node Setup
      • Setup
      • Run an API Node
      • Run a Block Producer Node
      • Becoming a Block Producer on Tonomy
    • API Endpoints
    • Hardware Requirement
    • Troubleshooting
  • Connect as an Exchange
  • Run Tonomy Gov OS
    • Technical requirements
    • Deploy Tonomy ID
    • Deploy a web wallet with the SDK
    • Reference
      • Application Interface (API)
      • Software Development Kit (SDK)
    • Troubleshooting
Powered by GitBook
On this page
  1. Build Web4 Apps

Send P2P Messages

Tonomy ID supports end-to-end encrypted messaging using DIDComm, enabling private, secure, and trustless communication between users across different applications. This is ideal for identity-based messaging, DAO coordination, and secure data exchanges.

Send a DIDComm Message

const sender = await user.getIssuer();
const recipient = "did:antelope:66d565f72ac08f8321a3036e2d92eea7f96ddc90599bdbfc2d025d810c74c248:p32cba4hkut12#acsk3ht2ss32"

const msg = await Message.signMessage({ content: "Hello" }, sender, recipient);
await user.sendMessage(msg);

Why use it?

  • Build secure messaging into your app.

  • Communicate privately across apps.

PreviousWallet SigningNextTroubleshooting

Last updated 1 month ago