Create your custom dynamic Bismuth balance badge

in #bismuth4 years ago

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

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.033
BTC 89688.42
ETH 3103.55
USDT 1.00
SBD 2.80