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.
4bc0edeeca
Several cross-chain API calls moved into separate classes, although most of the URLs remain roughly the same to provide backwards compatibility. API /crosschain/at/build moved into /crosschain/BitcoinACCTv1 Converted DELETE /crosschain/tradeoffer to be ACCT-agnostic. Changes to ACCT interface, etc. to support above. Changes applied to other crosschain API calls to make them independent of Bitcoin/Litecoin. Corrections to fee calculations and usage in BitcoinACCTv1. Added new LitecoinACCTv1 trade-bot, using LitecoinACCTv1. Some minor typo corrections, rename of secretHash to hashOfSecret. Some more Bitcoin-specific fields deprecated, but values duplicated from newly-named fields for now. Lower default fee (10sats/byte) for Litecoin spending transactions. (Not P2SH fees which are 1000sats). Changed ApiError INSUFFICIENT_BALANCE HTTP status from 422 to 402 as 422 isn't supported by Jetty? CrossChainTradeSummary.btcAmount deprecated, use: foreignAmount Modified pom.xml to generated package-info.java files for classes inside org.qortal.api.model.** subdirectories. |
||
---|---|---|
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