Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.28 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.28 KB

Ticket and Check Creation Test for XRP ledger

This project is made for testing the concept of sending check with ticket sequence number. Do the following to test the concept.

First create ticket with the following command:

node dist/ticketcreate s#########(Family seed of the check creator)

upon successful execution, it should return a new sequence number as follows:

new sequence number = 38486563

Execute checkCreate command with the ticketSequenceNo just created:

node dist/checkCreateWithTicket s#########(Family seed of the check creator) r#####(r-address of check recipient) 1(arp amount for the check) 38486561(the new ticket sequence number)

Usage reference

Create Ticket

node dist/ticketCreate [source FamilySeed]

Create Check

node dist/checkCreate [source FamilySeed] [destination: r-address] [XRP amount] [ticket sequence no]

Create check with ticket sequence number

node dist/checkCreateWithTicket [source FamilySeed] [destination: r-address] [XRP amount] [ticket sequence no]

Cash Check

node dist/checkCash [check recipient's FamilySeed] [CheckId] [cash amount]

Get Account Detail

node dist/getAccountDetail [FamilySeed]

XRP payment

node dist/payment [FamilySeed] [destinationAddr] XRP