Create your custom dynamic Bismuth balance badge
Bismuth Badge Tool
https://bismuth.world/badge.html
What does this tool do?
Show your Bismuth balance on an image badge which automatically updates when the balance changes. You can use this badge on dynamic and on static websites.
Source code of the tool is open source
You can install this script on your own web server. The only requirements for this script to run is php, gd and freetype.
https://github.com/bismuthfoundation/Hack-with-BIS/tree/master/03-WebAPI-PHP-Badge
Workflow of the script
- the script will take a single "address" get parameter as input
- query the Bismuth WebAPI, "Balance" endpoint
- images will be cached on disk for 10 minutes to avoid cpu load
- we will prepend the Bismuth logo
About Bismuth
Why Bismuth: https://bismuth.world
Bismuth Website: https://bismuth.cz
Bismuth Explorer: https://bismuth.online
Bismuth Explorer 2: https://bismuth.im