https://github.com/mgpai22/Ergo-OffChain-Bot-Template
https://github.com/mgpai22/Ergo-OffChain-Bot-Template
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mgpai22/Ergo-OffChain-Bot-Template
- Owner: mgpai22
- License: gpl-3.0
- Created: 2023-03-13T04:39:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T22:07:19.000Z (about 2 years ago)
- Last Synced: 2023-09-13T07:29:48.235Z (about 2 years ago)
- Language: Scala
- Size: 56.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ergo - Ergo Off-Chain Bot Template - chain bots in Scala using AppKit. [`Scala`] *(Community)* (🛠️ Development Tooling <a id="development-tooling"></a> / 📄 Templates <a id="templates"></a>)
README
# Ergo Off-Chain Bot Template
This is a template that can be cloned to implement your off-chain ergo transaction logic!
# Included Packages
- Ergo Appkit v5.0.1
- Lithos Plasma v1.0.2
- Exle Edge v0.1-SNAPSHOT
- Akka v2.8.0
- Apache Http
- Gson Json Serialization
- scalatest v3.2.15
- mockwebserver v3.12.0
# Usage
- Add contracts in src/main/scala/resources
- Add boxes in src/main/scala/utils/Outboxes or /InputBoxes
- Add api calls in src/main/scala/utils/explorerApi
- Build complete transactions in src/main/scala/execute/TxBuildUtility
- Write code which will be driven by akka in src/main/scala/execute/akkaFunctions
- Start and configure akka in src/main/scala/app/Main
- Run modules/test code in src/test/scala/
- Add node and mnemonic information in serviceOwner.json
- If you want to add more items in the serviceOwner.json make sure to add to the ServiceOwnerConfig case class in src/main/scala/configs/conf