Setting things up
Installing Node and VS Code Editor
Installing "XRPL JS TS Demo" and Dependencies
XRP Ledger accounts
Learning More About XRP Ledger Account
Generating XRPL Account
Derive r-address From Secret
Brief Overview of The XRP Ledger
First XRPL interaction
Activate Existing XRPL Account on Test Network
Connecting and Interacting with XRP Ledger: account_info
Interacting with XRP Ledger using JSON-RPC
Error Handling and Best Practices
Basics of XRP and Issued Currency
Signing Payment Transaction
Assignment Solution
Verifying Signature
Submit Transaction Signature To XRP Ledger
Subscription Methods
Subscription Methods To Build Responsive App
Transaction Verification
Balance Detail
Transaction Cost
Measures to Avoid Ledger Spamming
Source And Destination Tags
AccountSet Transaction: Domain, Gravatar
AccountSet Transaction: SetFlag, ClearFlag
Deposit Authorization
Tokens, transactions
Issuing Token on XRPL
Token(IOU): Payment Transaction
Commands To Fetch TrustLine Information
Freeze a TrustLine
Issuer: Transfer Fees
More about TrustLine
Currency Code In Hex Format
Removing a TrustLine
Require authorization Flag
Ledger features
AccountDelete Transaction
Tickets: Theory
TicketCreate Transaction
Delete Ticket Object
SetRegularKey
SetRegularKey: The Concept
Assigning RegularKey
Change RegularKey
Remove RegularKey
Blackhole An Account
MultiSigning
MultiSigning: The Concept
Replace SignerList
Create SignerList
Replace SignerList
Multi-signed Payment Transaction
Removing SignerList
Generating XRPL Account
Intro
Generating XRPL account offline.
Video
Topics covered
- Mathematically generating XRPL account - offline.
- Different secret formates: familySeed, Mnemonic, secretNumber.
References
Error Handling
If you are getting errors similar to what’s shown below, then make sure to install nodejs version which is “Recommended For Most Users” on nodejs website, and not the “Latest Features” version. After installing the correct version of nodejs, run npm install
node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at createHash (node:crypto:135:10)
at Object.hash160 (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\crypto.js:15:16)
at BIP32.get identifier [as identifier] (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:65:23)
at BIP32.get fingerprint [as fingerprint] (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:68:21)
at BIP32.derive (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:151:88)
at BIP32.deriveHardened (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:168:21)
at C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:182:31
at Array.reduce (<anonymous>)
at BIP32.derivePath (C:\Users\---\Desktop\XRPL\XRPL-JS-TS-demo\node_modules\bip32\src\bip32.js:178:26) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Final tip: You can derive public key using your secret key, but you can not derive secret key using your public key.
Next →