Setting things up
Installing Node and VS Code EditorInstalling "XRPL JS TS Demo" and DependenciesXRP Ledger accounts
Learning More About XRP Ledger AccountGenerating XRPL AccountDerive r-address From SecretBrief Overview of The XRP LedgerFirst XRPL interaction
Activate Existing XRPL Account on Test NetworkConnecting and Interacting with XRP Ledger: account_infoInteracting with XRP Ledger using JSON-RPCError Handling and Best PracticesBasics of XRP and Issued CurrencySigning Payment TransactionAssignment SolutionVerifying SignatureSubmit Transaction Signature To XRP LedgerSubscription MethodsSubscription Methods To Build Responsive AppTransaction VerificationBalance DetailTransaction CostMeasures to Avoid Ledger SpammingSource And Destination TagsAccountSet Transaction: Domain, GravatarAccountSet Transaction: SetFlag, ClearFlagDeposit AuthorizationTokens, transactions
Issuing Token on XRPLToken(IOU): Payment TransactionCommands To Fetch TrustLine InformationFreeze a TrustLineIssuer: Transfer FeesMore about TrustLineCurrency Code In Hex FormatRemoving a TrustLineRequire authorization FlagLedger features
AccountDelete TransactionTickets: TheoryTicketCreate TransactionDelete Ticket ObjectSetRegularKey
SetRegularKey: The ConceptAssigning RegularKeyChange RegularKeyRemove RegularKeyBlackhole An AccountMultiSigning
MultiSigning: The ConceptReplace SignerListCreate SignerListReplace SignerListMulti-signed Payment TransactionRemoving SignerListGenerating 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.
← Previous
Next →