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
Deposit Authorization
Intro
asfDepositAuth flag, if enabled, blocks all direct transfers from strangers, including transfers of XRP and tokens.
Video
Topics covered
- Accounts with asfDepositAuth flag enabled can only receive funds in 2 ways: 1. From preauthorized accounts. 2. By sending a transaction to receive the funds. Ex: By Finishing an Escrow.
- Setting asfDepositAuth flag.
- Preauthorizing accounts to receive funds from, using DepositPreauth transaction.
- When you authorize an account, your owner count increases by one. When you unauthorize the previously authorized account your owner count decreases by one.
- Client applications can use public API method deposit_authorized to see if an account is indeed authorized to send a transaction to particular XRPL account.
- You can also use account_objects command to fetch all the accounts which are authorized to send payments to an account with asfDepositAuth flag enabled. And the LedgerEntryType is DepositPreauth.
References
- AccountSet
- Deposit Authorization
- Preauthorization
- DepositPreauth
- deposit_authorized
- account_objects
- DepositPreauth Fields
Final tip: You can read the background information about why DepositAuth is even present in XRP Ledger.
← Previous
Next →