SendingNetwork
  • OVERVIEW
    • Getting Started
    • FAQs
  • Network Instructional Articles
    • Basics
      • Introducing the Edge, WatchDog, and Guardian Nodes
      • Overview
      • Messaging Solution
      • Privacy Solution
      • Rich Communication Solution
      • Multi-Platform Solution
      • Decentralized Identity
      • Multiple Chat Modes
      • How It Works
      • Token Utility
      • The Team
    • Key Concepts
      • Decentralized Identity
      • Social Graphs
      • Edge Node
  • SDK Documentation
    • Glossary
    • JavaScript client SDK
      • DID
      • User
      • Message
      • Room
      • Contact
      • Social Graph
    • iOS client SDK
      • Push
      • DID
      • User
      • Message
      • Room
      • Contact
    • Android client SDK
      • User
      • Room
    • Java SDK
      • DID
      • Room
      • Message
    • Node.js SDK
      • DID
      • Room
      • Message
    • Unreal SDK
      • DID
      • User
      • Message
      • Room
    • Unity SDK
      • DID
      • Room
      • Message
    • Website chat widget SDK
      • Customization
      • DID
      • User
      • Room
      • Message
      • Other
    • Bot SDKs
      • Golang Bot SDK
        • DID
        • User
        • Room
        • Message
    • Extensible Message Interface
    • Push Notifications
    • Flutter SDK
      • DID
      • User
      • Message
      • Room
    • PHP SDK
      • DID
      • Room
      • User
    • Developer Key
  • Acquisition Kit
    • Social Boost Development Instructions
  • WatchDog Agent
    • WatchDog Agent Guide
    • WatchDog Agent Deployment Tutorial
      • Linux Deployment Tutorial
    • One-Click Deployment
  • Edge Node
    • Edge Node Deployment Tutorial
    • VPS Setup Guide
      • Google Cloud Platform (GCP)
      • Amazon Web Services (AWS)
      • Contabo
    • Check Node Stats with Auto-Reply Bot in SendingMe App
    • Alpha-3 Testnet FAQs
  • delegation node
    • Delegation Node Deployment Tutorial
  • Private Delegation Node
  • Use Cases
    • Wallet-to-Wallet Messaging
    • Dapp Notifications
    • Identity Verification
    • Gamer Acquisition
    • Cross-platform Trading
Powered by GitBook
On this page
  • Whitelist Configuration
  • API Endpoints

Private Delegation Node

PreviousDelegation Node Deployment TutorialNextWallet-to-Wallet Messaging

Last updated 2 months ago

Unlike public delegation nodes, such as those utilized by the Zuzalu community for community-wide communication, the Private Delegation Node is dedicated to individual users. It runs exclusively on a personal server, enabling continuous and secure messaging.

For delegation node deployment, please refer to the. You may configure the access whitelist to limit the access to specific wallet address(es).

Whitelist Configuration

By default, wallet whitelisting is disabled. You can enable it with the following flag:

-whiteLisbashtEnable=false

If set to true, only wallet addresses on the whitelist will be permitted to connect to your node.

API Endpoints

1. Retrieve Whitelist, Blacklist, or Developer Key List

GET /admin/_api/admin/authority/{blacklist|whitelist|developer_key}

Request Headers:

Content-Type: application/json

Query Parameters:

Parameter
Type
Description

limit

int

Limit the number of results (optional)

offset

int

Offset for pagination (optional)

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Get lists successfully.",
  "data": [
    { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" },
    { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
  ]
}

2. Retrieve Information for a Specific Wallet Address

GET /admin/_api/admin/authority/{blacklist|whitelist|developer_key}/{walletaddress}

Request Headers:

Content-Type: application/json

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Get info successfully.",
  "data": { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
}

3. Add to Whitelist, Blacklist, or Developer Key List

POST /admin/_api/admin/authority/{blacklist|whitelist|developer_key}

Request Headers:

Content-Type: application/json

Request Body:

Parameter
Type
Description

walletaddress

string

User wallet address

developer_key

string

Developer Key (optional for whitelisting)

time

string

Expiration time

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Add list successfully.",
  "data": { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
}

4. Batch Add to Whitelist, Blacklist, or Developer Key List

POST /admin/_api/admin/authority/{blacklist|whitelist|developer_key}/batch

Request Headers:

Content-Type: text/csv

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Add lists successfully.",
  "data": [
    { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" },
    { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
  ]
}

5. Update Whitelist, Blacklist, or Developer Key List

PUT /admin/_api/admin/authority/{blacklist|whitelist|developer_key}

Request Headers:

Content-Type: application/json

Request Body:

Parameter
Type
Description

walletaddress

string

User wallet address

developer_key

string

Developer Key (optional for whitelisting)

time

string

Updated expiration time

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Change lists successfully.",
  "data": { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
}

6. Remove from Whitelist, Blacklist, or Developer Key List

DELETE /admin/_api/admin/authority/{blacklist|whitelist|developer_key}

Request Headers:

Content-Type: application/json

Request Body:

Parameter
Type
Description

walletaddress

string

User wallet address

developer_key

string

Developer Key (optional)

Successful Response:

Status Code: 200 OK

{
  "code": 200,
  "msg": "Delete lists successfully.",
  "data": { "walletaddress": "xxxxxxxxxx", "time": "xxxxxxxxxx" }
}
Delegation Node Deployment Tutorial