Messing around with the Stellar API in Java.
- Make sure you have the added the
stellar-sdk.jar
as a project dependency. Download here. - If you do not have
homebrew
enter this command in terminal/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Download Intelij using homebrew
brew cask install caskroom/cask/intellij-idea-ce
- Clone this repository
git clone https://github.com/kvreem/StellarJ.git
- Open up the project in Intelij and add the JAR as a dependency
cmd + ;
->modules
->+
->import modules
and select the stellar jar file.
If you have another IDE that you like than you don't need to download Intelij.
JavaDoc: https://stellar.github.io/java-stellar-sdk/
Guides: https://www.stellar.org/developers/guides/
StellarDemo
- Run this to test program.
StellarAccountGenerator
- Generate KeyPairs and store it in StellarAccount object.
StellarAccount
- The StellarAccount object
StellarTransactionManager
- The class to handle transactions/payments.
- Send payments from one currency to another.