Ripple Development Update: Company releases ripple-lib version 1.0.0

Ripple Development Update: Company releases ripple-lib version 1.0.0

On September 10th, Rome Reginelli, Documentation Engineer at Ripple Labs announced on their official developer blog page, the release of Ripple’s Lib v 1.0.0. The library, written in JavaScript will act as an interface to the XRP ledger.

The document briefly explains the changes and improvements the new version provides. The added changes will better the performance and flexibility of the library. The library holds new methods that provide access to rippled [server software that powers XRP Ledger] APIs.

The blog recommends using rippled version 1.0.1 or higher to enable online functionality.

The release includes several new methods including:

In the next section, the document describes the data validations and error fixes the team has worked on. The amounts in XRP and drops have been checked for validity. The team has imposed a maximum fee limit, which if exceeded will cause the library to throw a ValidationError.

It stated that the team has worked on several errors and a lot more data validation functionalities have been added to the library. Earlier, the team faced a problem with the getPaths property which has now been corrected to filter paths correctly when the destination currency is XRP.

The document also explains several breaking changes that have been made to the high-level JavaScript library summarized below:

Furthermore, the full documentation of ripple-lib is available on the XRP Ledger Dev Portal.

Nick Bougalis, Lead of  C++ dev team at Ripple, answered a few questions regarding the release on Twitter.

When asked by Twitterati Shashinda jayalath if the new maximum fee limit may lead to some transaction rollback, Bougalis said:

“The library has a configurable “maximum fee limit” to help prevent programmers from accidentally specifying too high a fee. By default, it’s set at 2 XRP, which is several orders of magnitude larger than the fee required to pay a transaction.”

He further added:

“And worry not, if you really want to spend over 2 XRP in fees, you can simply override the limit in the RippleAPI constructor.”

Share your thoughts, add a comment!

You must be logged in in order to place a comment.

Article comments

Loading...
No comments yet, be the first to comment this article