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 SignerListDeposit 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 →