gearComponents

Components for the Vector SDK

VectorBot

The VectorBot struct represents a bot with configured metadata and client settings. It provides methods for creating new bots, getting chat channels, and sending messages.

Channel

The Channel struct represents a communication channel with a specific recipient. It provides methods for sending private messages.

Client

The Client module contains functions for building and configuring the Nostr client, including setting up proxy configurations, adding relays, and managing metadata.

Metadata

The Metadata module contains functions for creating and managing bot metadata, including name, display name, about, picture, banner, NIP05 identifier, and LUD16 payment pointer.

Subscription

The Subscription module contains functions for setting up event subscriptions, such as gift wrap events.

Crypto

The Crypto module provides functions for generating encryption parameters and encrypting data using AES-256-GCM.

Upload

The Upload module provides functions for uploading data to a NIP-96 server with progress tracking.

Last updated