Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@justweb3/xmtp-plugin

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justweb3/xmtp-plugin

The **@justweb3/xmtp-plugin** extends the **JustWeb3 Widget** with **XMTP (Extensible Message Transport Protocol)** functionalities, allowing users to **Chat** directly within your dApp.

latest
Source
npmnpm
Version
0.1.47
Version published
Maintainers
1
Created
Source

@justweb3/xmtp-plugin

The @justweb3/xmtp-plugin extends the JustWeb3 Widget with XMTP (Extensible Message Transport Protocol) functionalities, allowing users to Chat directly within your dApp.

Installation

Install the XMTP Plugin using your preferred package manager:

bash
npm install @justweb3/xmtp-plugin

# or

yarn add @justweb3/xmtp-plugin

Usage Example

Here’s how to enable the XMTP Plugin in your JustWeb3 Widget configuration:

import { XMTPPlugin } from '@justweb3/xmtp-plugin';

const justweb3Config = {
  config: {
    origin: 'http://localhost:3000/',
    domain: 'localhost',
    signInTtl: 86400000,
  },
  plugins: [
    XMTPPlugin(env), // 'local' | 'production' | 'dev'
  ],
  ensDomains: [
    {
      ensDomain: 'yourdomain.eth',
      apiKey: 'YOUR_API_KEY',
      chainId: 1,
    },
  ],
  color: {
    primary: '#FEA801',
    background: 'hsl(0, 0%, 100%)',
    destructive: 'hsl(0, 100%, 50%)',
  },
};

Contributing

Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository.

FAQs

Package last updated on 28 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts