goingon

module
v0.0.0-...-b513cba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT

README

GoingOn

GoingOn lets you filter and decode Uniswap pool smart contract swaps from Ethereum transaction receipt event log.

Live Demo

Uniswap NOIA-ETH pool demo available at https://t.me/+KUUWjzsV6v04ZDU0.

Usage

  1. Compile code.
make build
  1. Run executable.
./goingon [flags]

Flags

Flag Description
nats-urls NATS servers URLs (comma separated)
nats-sub-nkey NATS user credentials NKey string
nats-reconnect-wait NATS reconnect wait duration
nats-max-reconnect NATS max reconnect attempts count
nats-event-log-stream-subject NATS event log stream subject
pool-contract-address Pool contract address
pool-token0-ticker Ticker of first pool token
pool-token0-decimals Decimals of first pool token
pool-token1-ticker Ticker of second pool token
pool-token1-decimals Decimals of second pool token
telegram-chat-id Telegram chat ID
telegram-bot-token Telegram bot token

Docker

  1. Build image.
docker build -f ./docker/Dockerfile -t goingon .
  1. Run container with passed environment variables.
docker run -it --rm --env-file=.env goingon

Note: Flags can be passed as environment variables. Environment variables are all caps flags separated with underscore. See ./docker/entrypoint.sh.

Contributing

We welcome contributions from the community. Whether it's a bug report, a new feature, or a code fix, your input is valued and appreciated.

Synternet

If you have any questions, ideas, or simply want to connect with us, we encourage you to reach out through any of the following channels:

  • Discord: Join our vibrant community on Discord at https://discord.gg/synternet. Engage in discussions, seek assistance, and collaborate with like-minded individuals.
  • Telegram: Connect with us on Telegram at https://t.me/Synternet. Stay updated with the latest news, announcements, and interact with our team members and community.
  • Email: If you prefer email communication, feel free to reach out to us at info@synternet.com. We're here to address your inquiries, provide support, and explore collaboration opportunities.

Directories

Path Synopsis
cmd
goingon command
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL