mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-14 19:25:48 +00:00
API support for Litecoin wallet balance and sending LTC. TradeBotCreateRequest rejigged to use blockchain-agnostic field names, e.g. bitcoinAmount now foreignAmount, and added foreignBlockchain field. The massive API CrossChainResource class has been split into: CrossChainAtResource: for building TRADE/REDEEM/CANCEL messages (OFFER missing?) CrossChainBitcoinResource: for Bitcoin wallet balance/spend CrossChainLitecoinResource: ditto for Litecoin CrossChainHtlcResource: for Bitcoiny-HTLC actions like: deriving P2SH address checking HTLC status eventually: building refund/redeem transactions CrossChainResource: for creating/cancelling/listing trade offers. CrossChainTradeBotResource: for creating/cancelling trade-bot entries, including responding to trade offers. --- Other general trading changes: TradeBot states are now specific to each individual trade-bot, e.g. BitcoinACCTv1TradeBot or LitecoinACCTv1TradeBot, etc. TradeBot states now a combination of int & String, instead of enums due to above. Extra columns added to DB TradeBotStates to store blockchain, which ACCT in use, etc. --- UNTESTED at this point!
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%