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
Balance Detail
Intro
Calculating Balance details by fetching the reserve requirements directly from the ledger.
Video
Topics covered
- XRP Ledger Account Reserve Requirement.
- Fetch reserve values directly from the ledger.
- Total Reserve = Base_reserve + Owner_reserve * OwnerCount;
- Spendable Balance = Total Balance - Total Reserve;
- You can not send more XRP than present in your “spendable balance”.
References
Update
Since TrustLines are a powerful feature of the XRP Ledger, there is a special feature to make an account's first two trust lines "free". When an account creates a new trust line, if the account owns at most 2 items in the ledger including the new line, the account's owner reserve is treated as zero instead of the normal amount. This allows the transaction to succeed even if the account does not hold enough XRP to meet the increased reserve requirement for owning objects in the ledger. When an account owns 3 or more objects in the ledger, the full owner reserve applies.
Final tip: Do not assume the reserve value as it’s bound to change. So always fetch these information directly from the ledger and cache for a long time - as these reserves do not change regularly.
← Previous
Next →