Setting things up
XRP Ledger accounts
First XRPL interaction
 Activate Existing XRPL Account on Test Network
Activate Existing XRPL Account on Test Network Connecting and Interacting with XRP Ledger: account_info
Connecting and Interacting with XRP Ledger: account_info Interacting with XRP Ledger using JSON-RPC
Interacting with XRP Ledger using JSON-RPC Error Handling and Best Practices
Error Handling and Best Practices Basics of XRP and Issued Currency
Basics of XRP and Issued Currency Signing Payment Transaction
Signing Payment Transaction Assignment Solution
Assignment Solution Verifying Signature
Verifying Signature Submit Transaction Signature To XRP Ledger
Submit Transaction Signature To XRP Ledger Subscription Methods
Subscription Methods Subscription Methods To Build Responsive App
Subscription Methods To Build Responsive App Transaction Verification
Transaction Verification Balance Detail
Balance Detail Transaction Cost
Transaction Cost Measures to Avoid Ledger Spamming
Measures to Avoid Ledger Spamming Source And Destination Tags
Source And Destination Tags AccountSet Transaction: Domain, Gravatar
AccountSet Transaction: Domain, Gravatar AccountSet Transaction: SetFlag, ClearFlag
AccountSet Transaction: SetFlag, ClearFlag Deposit Authorization
Deposit AuthorizationTokens, transactions
 Issuing Token on XRPL
Issuing Token on XRPL Token(IOU): Payment Transaction
Token(IOU): Payment Transaction Commands To Fetch TrustLine Information
Commands To Fetch TrustLine Information Freeze a TrustLine
Freeze a TrustLine Issuer: Transfer Fees
Issuer: Transfer Fees More about TrustLine
More about TrustLine Currency Code In Hex Format
Currency Code In Hex Format Removing a TrustLine
Removing a TrustLine Require authorization Flag
Require authorization FlagLedger features
 AccountDelete Transaction
AccountDelete Transaction Tickets: Theory
Tickets: Theory TicketCreate Transaction
TicketCreate Transaction Delete Ticket Object
Delete Ticket ObjectSetRegularKey
 SetRegularKey: The Concept
SetRegularKey: The Concept Assigning RegularKey
Assigning RegularKey Change RegularKey
Change RegularKey Remove RegularKey
Remove RegularKey Blackhole An Account
Blackhole An AccountMultiSigning
 MultiSigning: The Concept
MultiSigning: The Concept Replace SignerList
Replace SignerListIssuer: Transfer Fees
Intro
A sender should send a little more to cover the transfer fee set by the issuer.
Video
Topics covered
- XRP To XRP transfers can never have a transfer fee, as it’s not issued by any issuer.
- Range of transfer fee.
- Implementing transfer fee.
- Transfers of tokens to and from the issuer will not have a transfer fee.
- Making payment transaction with SendMax to cover the transfer fee.
- Changing the transfer rate.
Update
if (issuerDetail.account_data.TransferRate) {
    const Billion = 1000000000;
    const percentage = ((issuerDetail.account_data.TransferRate - Billion) / Billion) * 100;
    payload.SendMax = {
          currency: asset,
          value: String(Number(process.argv[5]) + (Number(process.argv[5]) * percentage) / 100),
          issuer: issuer,
    };
}References
- TransferRate
- Payment
Final tip: For a better UX, your client application must let the user know that they will be charged a percentage of fee by the issuer of the token for the transaction. Only execute the transaction if user agrees for it.
← Previous
Freeze a TrustLine
Next →
More about TrustLine
- Issuer: Transfer Fees
- Intro
- Video
- Topics covered
- Update
- References
