forked from Qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
2ffd0770c6
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? |
||
---|---|---|
lib/org | ||
src | ||
tools | ||
WindowsInstaller | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.sh | ||
start.sh | ||
stop.sh |
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