Skip to content

a-moreira/chaintrak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaintrak

events from BRLC, PixCashier, SpinMachine and CErc20Delegate contracts and each new block from CloudWalk Mainnet are mapped into one-shot samples to produce vibes

pick one:

jazz 🎷

ambient 😶‍🌫️

install

you can either:

build from source
  • install dependencies. the main one is ALSA, check the name of the libs for your OS. no Windows support for now, sorry.

on GNU/Linux Ubuntu, for example, run:

sudo apt update && sudo apt install -y libasound2-dev pkg-config
  • install the Rust toolchain
  • run cargo build --release
listen
  • start the application by picking your current vibe:
./target/release/chaintrak jazz
./target/release/chaintrak ambient
use Docker

use sudo if necessary

first build it (only needs to be done once)

docker build -t chaintrak .

then simply run it whenever you want and choose the vibe you're into

docker run -it --rm --name chaintrak --device /dev/snd chaintrak jazz

or

docker run -it --rm --name chaintrak --device /dev/snd chaintrak ambient

to stop the application:

docker stop chaintrak

TODO

  • normalize volumes
  • improve logs (show contract name)
  • add more vibez

license

License: WTFPL

© 2022 WTFPL – Do What the Fuck You Want to Public License.