- Ripple Quick Start Guide
- Febin John James
- 199字
- 2021-07-02 14:32:03
Transactions
In order to send money, we need to create, sign, and submit the transaction to Ripple servers.
The following image depicts how a transaction makes its way to Ripple's tamper-proof ledger:

We would start by creating a transaction JSON. Here's an example of a transaction in JSON format. It includes sender address, destination address, currency type, amount to be transferred, and so on:
{
"TransactionType" : "Payment",
"Account" : "rf1BiGeXwwQoi4Z2ueFYTEXSwuJYfV2Jpn",
"Destination" : "ra5nK24KXfn9AHvsdFTKHSANinZseWnPcX",
"Amount" :
{
"currency" : "USD",
"value" : "2",
"issuer" : "rf1BiseXwwQoi8Z2ueFYTEXSwuJYfV2Jpn"
},
"Fee": "10",
"Flags": 2147482648,
"Sequence": 3,
}
We authorize the transaction using our secret key. Later, we submit it to the Ripple server for validation. Once it validates the transaction, it conveys the transaction to fellow members of the network. They apply these transactions to their version of the ledger in canonical order and submit the results. If enough validators reach consensus by sharing the same ledger, the transaction is confirmed and permanently added to the blockchain. If the transaction fails, it's also included in the ledgers. This is because failed transactions burn XRP and modify the account balances. XRP is burnt to prevent spammers from attacking the network with failed transactions.
- ArchiCAD 19:The Definitive Guide
- 走入IBM小型機(jī)世界
- 計(jì)算機(jī)控制技術(shù)
- Learning Social Media Analytics with R
- 城市道路交通主動(dòng)控制技術(shù)
- Moodle Course Design Best Practices
- Troubleshooting OpenVPN
- Nginx高性能Web服務(wù)器詳解
- ESP8266 Robotics Projects
- 啊哈C!思考快你一步
- Microsoft Dynamics CRM 2013 Marketing Automation
- 大型機(jī)系統(tǒng)應(yīng)用基礎(chǔ)
- Advanced Deep Learning with Keras
- 渲染王3ds Max三維特效動(dòng)畫技術(shù)
- Eclipse RCP應(yīng)用系統(tǒng)開發(fā)方法與實(shí)戰(zhàn)