Skip to content

SteemJConfig

dez1337 edited this page May 21, 2017 · 22 revisions

SteemJ comes with a common default configuration if you instantiate it which may not always fit your needs. This page describes which parameters can be changed and how the SteemJConfig works.

TOC

System Properties

SteemJ allows you to provide sensitive data as system properties.

Credentials

To provide credentials SteemJ should use to login into the node, you can use following parameters.

Parameter Description Example
steemj.api.username The username to login java -jar yourApp.jar -Dsteemj.api.username="dez1337"
steemj.api.password The password to login java -jar yourApp.jar -Dsteemj.api.password="secretPassword123"

Back to TOC

Private Keys

Beside your credentials you can also provide your keys through system properties.

Parameter Description Example
steemj.key.active The username to login java -jar yourApp.jar -Dsteemj.key.active="5JpbHHrEkoLsxNcddo5YaTgtmgDegTcjk8i7BDPiTbMefrPnjWK"
steemj.key.posting The password to login java -jar yourApp.jar -Dsteemj.key.posting="5J6a9B9H1rBC9XsxHUrv9Eu98cG4MaZPuaMk6LBfMSDGyk5SoiP"
steemj.key.owner The password to login java -jar yourApp.jar -Dsteemj.key.owner ="5JhxZZ6oGwFm2egPWyy21DWvroSoUur33sEHBamobDdSmhPN9U4"
steemj.key.memo The password to login java -jar yourApp.jar -Dsteemj.key.memo="5Hw3qRsC3f9yLtVazZpA8LyCUozBJq5aQv9tNNnz8fcg8BqoAWw"

Back to TOC

Clone this wiki locally