Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.45 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.45 KB

Grease Fire Phoenix HODLERG3

Continuously mints ERG for hodlERG3 and burns hodlERG3 for ERG using chained transactions.

Wallet must have at least 0.002 ERG

  • 0.001 ERG for miner fee
  • 0.001 ERG for token box

Setup

  • Before running make sure to copy serviceOwner.json.example to serviceOwner.json and fill in the values
  • Defaults are setup, only thing needed is mnemonic
  • mnemonic password can be left blank, only needed if mnemonic is encrypted (most of the times it is not)
  • addressIndex can be left to 0, if you have multiple addresses in your wallet you can change this to the index of the address you want to use

Run Using Scala

  • install scala
  • install sbt
  • run sbt "runMain app.GreaseFire" in the root directory of this project

Run Using Jar

  • install java

  • download the latest release

  • run java -jar grease-fire-1.0.0.jar --conf <path to conf>

  • --dryrun flag can be used to test the transaction without submitting it to the network

    • For example:
          java -jar grease-fire-1.0.0.jar --conf <path to conf> --dryrun

Build Jar

  • make sure scala and sbt are installed
  • run sbt clean assembly in the root directory of this project
  • jar will be in root directory of this project

Notes

  • root directory means the directory where README.md file is located