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 { XrplClient } = require('xrpl-client') | |
| const client = new XrplClient() | |
| const myAccount = 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ' | |
| const objectFlags = { | |
| lsfLowReserve: 0x00010000, | |
| lsfHighReserve: 0x00020000, | |
| lsfLowNoRipple: 0x00100000, | |
| lsfHighNoRipple: 0x00200000 |
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
| <script src="https://xrpaddress.info/js/xrpl-tagged-address-codec-browser.js"></script> | |
| <script> | |
| var XCodec = require('xrpl-tagged-address-codec') | |
| console.log(XCodec.Encode({ account: 'rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY', tag: 495 })) | |
| console.log(XCodec.Decode('XV5sbjUmgPpvXv4ixFWZ5ptAYZ6PD28Sq49uo34VyjnmK5H')) | |
| </script> |
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
| wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-cmpi-devel/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sblim-sfcb/sfcb_1.4.9-0ubuntu5_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfc-common/libsfcutil0_1.0.1-0ubuntu4_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-trans |
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
| import lib from "xrpl-accountlib"; | |
| import { XrplClient } from 'xrpl-client' | |
| const vanityAccount = "rrrrrrrr"; | |
| const signWithRegularKeySecret = "ssssss"; // or use secret numbers and change the derive fn below | |
| const tx = { | |
| TransactionType: "Payment", | |
| Account: vanityAccount, | |
| Fee: "12", |
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
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <ISO_4217 Pblshd="2025-05-12"> | |
| <CcyTbl> | |
| <CcyNtry> | |
| <CtryNm>AFGHANISTAN</CtryNm> | |
| <CcyNm>Afghani</CcyNm> | |
| <Ccy>AFN</Ccy> | |
| <CcyNbr>971</CcyNbr> | |
| <CcyMnrUnts>2</CcyMnrUnts> | |
| </CcyNtry> |
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
| var buttonManager = require("buttons") | |
| var buttons = buttonManager.getButtons() | |
| const net = require('net') | |
| var arwenTimeout | |
| for (var i = 0; i < buttons.length; i++) { | |
| var button = buttons[i]; | |
| console.log(JSON.stringify(button)) | |
| } |
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
| [validator_list_sites] | |
| https://vl.ripple.com | |
| https://unl.xrplf.org | |
| [validator_list_keys] | |
| # Ripple | |
| ED2677ABFFD1B33AC6FBC3062B71F1E8397C1505E1C42C64D11AD1B28FF73F4734 | |
| # XRPLF | |
| ED42AEC58B701EEBB77356FFFEC26F83C1F0407263530F068C7C73D392C7E06FD1 |
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
| /** | |
| * Use: node transaction.js AMOUNT:FROMADDR:TOADDR:TOTAG | |
| * eg: node transaction.js 10:rXXXXXXX:rXXXXXX:1337 | |
| * To be able to sign the transaction, the object 'wallets' | |
| * below should contain the secret key for the used from-wallet. | |
| */ | |
| const RippleAPI = require('ripple-lib').RippleAPI | |
| const api = new RippleAPI({ server: 'wss://s1.ripple.com' }) // Public rippled server | |
| const fetch = require('node-fetch') |
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
| #!/bin/bash | |
| # Install | |
| # sudo curl https://gist.githubusercontent.com/WietseWind/5ef71f7a26d9588a233f1d034762ac84/raw/dlvr.sh > /usr/local/bin/dlvr | |
| # sudo chmod +x /usr/local/bin/dlvr | |
| # Use: dlvr somefilename | |
| DLVR_INIT=$(curl -i -s https://dlvr.cloud/api.php) | |
| DLVR_SESSION=$(echo "$DLVR_INIT"|grep session|grep addr|grep domain|jq .session|cut -d '"' -f 2) | |
| DLVR_ADDR=$(echo "$DLVR_INIT"|grep session|grep addr|grep domain|jq .addr|cut -d '"' -f 2) |
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
| // | |
| // NOTE! THERE'S A BETTER METHOD NOW: | |
| // https://github.com/WietseWind/xrpl-accountlib#-however-since-version-210-this-lib-bundles-xrpl-client-as-well-and-comes-with-helpers-to-prepare-transactions--submit-transactions- | |
| // | |
| const lib = require('xrpl-accountlib') | |
| const { XrplClient } = require('xrpl-client') | |
| const secret = 's...' | |
| const account = 'r...' // Can be derived |
NewerOlder