LogoLogo
  • Welcome
  • XRPL Basics
    • Getting Started
    • Payments
    • Reading and subscribing to Transactions
    • Writing and reading memos
    • Non Fungible Tokens
    • PathFinding
    • Escrow
    • Price Oracles
    • Tickets
    • Multi-Signature
  • Token Issuance and Liquidity
    • Creating Accounts
    • Issuing Tokens
    • Creating an AMM Pool
  • Cyphered Chat on XRPL
    • Set up
    • Set up Keys
    • Cypher the message
    • Set up the memo & send the tx
    • Get the message and decypher it
  • EVM Sidechain
    • Connecting Metamask
    • Bridging Assets
    • Remix
    • Banking App
    • Banking Contract Key Concepts
  • Tools
    • Xaman Setup
    • Metamask Setup
Powered by GitBook
On this page
Export as PDF
  1. Cyphered Chat on XRPL

Set up

Description of key libraries

To build our encrypted messaging system, we'll be using these key JavaScript libraries:

  • xrpl: The official XRPL client library to interact with the XRP Ledger

  • tweetnacl: For encryption/decryption operations using the NaCl cryptographic library

  • @noble/curves: For handling elliptic curve operations and key conversions

  • buffer: To handle binary data manipulation

If you are running your own environment, install everything by running:

npm install xrpl tweetnacl @noble/curves buffer
PreviousCyphered Chat on XRPLNextSet up Keys

Last updated 4 months ago