mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-14 19:42:32 +00:00
Added altcoinj library as Maven dependency. Added new Litecoin subclass of Bitcoiny, with mainnet and testnet ElectrumX server lists. Added litecoinNet settings variable and getter. Added LitecoinTests. Most tests work but testFindHtclSecret() needs a redeemed HTLC on chain (not yet done). Added litecoinNet to some test settings files in resources. Added Litecoin BuildHTLC, Refund test apps. Added SendLTC app as Electrum-LTC seems a bit flaky? So far managed to build HTLC P2SH, fund it and then refund it! --- As Bitcoin and Litecoin are both subclasses of Bitcoiny, could unify some test apps with added Bitcoin/Litecoin switch as first arg?
Qortal Project - Official Repo
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- Use Maven to fetch dependencies and build:
mvn clean package
- Built JAR should be something like
target/qortal-1.0.jar
- Create basic settings.json file:
echo '{}' > settings.json
- Run JAR in same working directory as settings.json:
java -jar target/qortal-1.0.jar
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
- Or use supplied example shell script: run.sh
Description
The primary qortal core repository, cloned to https://gitea.qortal.link for posterity and future more in-depth utilization.
https://qortal.dev
Languages
Java
98%
JavaScript
0.6%
Shell
0.5%
HTML
0.5%
Perl
0.3%