Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
We are pleased to announce the release of
ripple-lib version 1.0.0.
This version features a range of changes and improvements that make the library
more capable and flexible. It includes new methods for accessing rippled APIs,
When using this version with
rippled for online functionality, we recommend
rippled version 1.0.1 or later.
Here is a summary of the changes since
ripple-lib version 0.22.0, which was
the last non-beta version.
prepareTransaction()for preparing raw
- XRP amounts can be specified in drops. Also,
are available to make conversions.
getTransactionresponses can include a new
describes the details of a payment channel.
Data Validation and Errors
- Amounts in drops and XRP are checked for
- A maximum fee is now
imposed. Exceeding it causes a
- Errors are improved and more data validation was added.
- Bug fix:
getPathsnow filters paths correctly and works correctly when the
destination currency is XRP.
The following changes were introduced in 1.0.0.
specification.destination.amountfield has been removed from the parsed transaction response.
- To determine the amount that a transaction delivered, use
- If you require the provisional requested
Amountfrom the original transaction:
- Use the rippled APIs directly with
request. For example, call the API methods
rawTransactionsfield has been removed (for consistency with
- Instead, within each
transaction, use the new
metaDatafield has been renamed to
metafor consistency with rippled's
ledger_indexhas been added to each raw transaction.