Open sappenin opened 2 years ago
As part of this work, let's create a new module called xrpl4j-examples
and put simpler derivatives of the ITs into a new folder for each example.
To make this work, we should write the example classes and their tests in src/test/java
folder. This way, xrpl4j-core devs will always know if they've broken the examples; end-users can pull-down working code (to see in an IDE), and also just run the following from the command-line to see it in action:
cd xrpl4j-examples
mvn install -Dtest=MakePaymentExample
Note that sample code currently lives here: https://github.com/xrplf/xrpl4j-sample
This page provides a nice outline of code-samples that a developer might want to use. We should implement those in this repo so that developers can download fully-operational code (e.g., a Maven file, project, etc) without having to do anything special.
This will also help us make sure our docs align properly with the latest and greatest code.