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.
579645d6b7
bitcoinj now uses ElectrumX as an UTXO provider in order to keep track of coins in BIP32 deterministic wallet. Trade responder (Alice) needs to pass a BIP32 extended private key to API so trade-bot can create unattended spends. Both Alice and Bob can find their final funds in accounts using the ephemeral 'tradePrivateKey' from trade-bot state data. Most cross-chain API calls are now only allowed from localhost. Most Bitcoin fees pegged at 0.00001000 BTC. More work needed to handle refunds in case of trade failures. (See XXX comment tags in TradeBot.java) |
||
---|---|---|
lib/org | ||
src | ||
tools | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.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