This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// payment-monitor.js | |
// Correct import for xrpl-client | |
const { XrplClient } = require('xrpl-client'); | |
// Address to monitor for incoming payments | |
const ADDRESS_TO_MONITOR = 'rf1NrYAsv92UPDd8nyCG4A3bez7dhYE61r'; | |
// Connect to Xahau Testnet | |
const client = new XrplClient('wss://xahau-test.net'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const xrpl = require('xrpl'); | |
const fs = require('fs'); | |
const crypto = require('crypto'); | |
const { derive, utils, signAndSubmit } = require("xrpl-accountlib"); | |
//Account seed, dont publish your code with your seed | |
const seed = 'your_seed'; | |
const network = "wss://xahau.network"; | |
async function connectAndQuery() { | |
const client = new xrpl.Client('wss://xahau.network'); | |
//const client = new xrpl.Client('wss://xahau-test.net'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//20241101 10_42 | |
require('dotenv').config(); | |
const { OBSWebSocket } = require('obs-websocket-js'); | |
const xrpl = require('@transia/xrpl'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const ffmpeg = require('fluent-ffmpeg'); | |
const axios = require('axios'); | |
const obs = new OBSWebSocket(); | |
let tracklist = []; |