Skip to content

tonyctsiu/XRP-AUTOFARE-POC

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published