Skip to content

Commit

Permalink
Merge pull request #317 from shortthefomo/master
Browse files Browse the repository at this point in the history
add example dynamic definitions to read me
  • Loading branch information
WietseWind authored May 4, 2024
2 parents b4dd4bc + 1fdbba9 commit 3955368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Please note: this lib primarily provides signing and derivation capabilities. To

#### 🎉 **HOWEVER**... Since version 2.1.0 this lib. bundles `xrpl-client` as well, and comes with helpers to prepare transactions & submit transactions 🎉

The bundled `xrpl-client` instance & behaviour is **network definitions aware**, meaning it will dynamically load definitions from supporting networks, like [Hooks](https://hooks.xrpl.org) enabled networks.
The bundled `xrpl-client` instance & behaviour is **network definitions aware**, meaning it will dynamically load definitions from supporting networks, like [Hooks](https://hooks.xrpl.org) enabled networks. An example how to load definitions dynamically can be found [Here's an example](https://github.com/WietseWind/xrpl-accountlib/blob/master/samples/sign-custom-defs.js)

- `utils.accountAndLedgerSequence(wss, account)` (async) can be used to get values required to prepare a transaction:
- The first param. takes either an instance of `xrpl-client` or a string containing a WebSocket node endpoint. In case of a string (endpoint) a connection will be created & closed automatically.
Expand Down

0 comments on commit 3955368

Please sign in to comment.