Baking Bad widgets

Baking Bad provides some widgets for Tezos bakers which can be easily embedded.

Baker audit widget

Baker audit widget allows you to redirect your delegators to the Baking Bad delegators dashboard where they can check rewards and payouts.

Delegate widget

Parameters

Widget supports some parameters passed via data attributes which allow you to customize it.

Data attribute Type Required Description
data-baker string + Sets your project name for widget customization.
data-button-color color - Sets color of the “Check” button (#3F51B5 by default).
data-rounded-widget bool - Sets whether the widget should have rounded corners or not (false by default).

Widget code

Insert this code inside the body tag on your website:

<script async src="https://widgets.baking-bad.org/widget.js"
        data-baker="Awesome baker"
        data-button-color="#3F51B5"
        data-rounded-widget="true"></script>

Insurance widget

Insurance Widget allows you to demonstrate that your baker is insured by Baking Bad so that your delegators are safe from any loss of rewards, such as missed payouts or low efficiency of the insured baker.

Parameters

Widget supports some parameters passed via data attributes which allow you to customize it.

Data attribute Type Required Description
data-baker-address string + Sets your baker address for authorization in the widget.
data-rounded-widget bool - Sets whether the widget should have rounded corners or not (false by default).

Widget code

Insert this code inside the body tag on your website:

<script async src="https://widgets.baking-bad.org/insurance-widget.js"
        data-baker-address="tz1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        data-rounded-widget="true"></script>