mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 18:25:49 +00:00
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.
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
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.
https://qortal.dev
Languages
Java
98%
JavaScript
0.6%
Shell
0.5%
HTML
0.5%
Perl
0.3%