| panelgroup | Bitcoin Panels |
|---|---|
| name | Arthash |
| title | Arthash - Geometric artwork based on blockhash |
| layout | default |
| description | Create geometric artwork based on the Bitcoin Blockhash |
| imageurl | ../images/arthash.png |
This script produces geometric artwork deterministically based on Bitcoin Blockhash values. It depends on a bitcoin node running locally and fully synched.
The script is installed at ~/nodeyez/scripts/arthash.py.
To manage and configure this script, use the nodeyez-config tool
sudo nodeyez-configTo manually configure this script, edit the ~/nodeyez/config/arthash.json file
Fields are defined below
| field name | description |
|---|---|
| backgroundColor | The background color of the image expressed as a hexadecimal color specifier. Default #000000 |
| height | The height, in pixels, to generate the image. Default 320 |
| interval | The amount of time, in seconds, the script should wait before data gathering and image creation again. Default 300 |
| shapeOutlineColor | The color of the outline for shapes expressed as a hexadecimal color specifier. Default #ffffff |
| textColor | The color of the text expressed as a Hexadecimal color specifier. Default #ffffff |
| width | The width, in pixels, to generate the image. Default 480 |
Ensure the virtual environment is activated
source ~/.pyenv/nodeyez/bin/activateChange to the scripts folder
cd ~/nodeyez/scriptsAnd run it
python arthash.pyPress CTRL+C to stop the process
To enable the script to run at startup, as the privileged user run the following
sudo systemctl enable nodeyez-arthash.service
sudo systemctl start nodeyez-arthash.serviceHome |
