Skip to content

PoC & WIP! · watch a livestream of nft txs (sales, mints, ...) on the ethereum chain in a terminal or the integrated web ui

License

Notifications You must be signed in to change notification settings

Lukas1Komarek/gloomberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gloomberg

no support, sorry! you have to know how to use this code yourself. issues closed, PRs open (ping me if you want to contribute)

random screenshots

image image


requirements

  • get your wallet address or ens yourDegenWallet.eth or 0x9e7DC5307940fa170F9093Ca548bDa0EDB602767
  • get an account at Infura/Alchemy/whatever to get a websockets endpoint to an ethereum node wss://mainnet.infura.io/ws/v3/32e98f6ffb81456df24087ab5b

recommended ☝️

‼️ use redis as cache for collection & ENS names! it saves a lot of (limited) calls to a node and is also faster than calls to a node. you can use the redis docker image for this or install redis on a local machine.

most simple configuration example with redis running on 10.0.0.2:6379 (default port, database and no password):

# redis cache
redis:
  # use redis as name & sale cache
  enabled: true
  # redis host
  host: 10.0.0.2

there is also an ultra-simple built-in cache but without any persistence and therefore empty on every new start of gloomberg.

lfg! or getting started

# get link to latest linux amd64 binary
GBL=$(curl -L -s -H 'Accept: application/json' https://github.com/benleb/gloomberg/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
# download binary and extract it to /usr/local/bin
wget -qO- https://github.com/benleb/gloomberg/releases/download/${GBL}/gloomberg_${GBL/v/}_linux_amd64.tar.gz | sudo tar -C /usr/local/bin -vzx gloomberg

# run
gloomberg live -e "wss://mainnet.infura.io/ws/v3/32e9..." -w "yourDegenWallet.eth"

docker

docker run --rm -it \
  --env "GLOOMBERG_ENDPOINTS=wss://mainnet.infura.io/ws/v3/32e9..."
  --env "GLOOMBERG_WALLETS=yourDegenWallet.eth"
  ghcr.io/benleb/gloomberg:latest live

gloomberg‽

The name is a homage to the famous gloomberg professional artwork created by OSF

Thanks also to all the other testers and contributors not shown in the git history! 💰 ❌ 💤

About

PoC & WIP! · watch a livestream of nft txs (sales, mints, ...) on the ethereum chain in a terminal or the integrated web ui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.1%
  • HTML 3.4%
  • Solidity 0.5%