Skip to content

Configuration

Jan Dvořák edited this page Jan 3, 2022 · 3 revisions

Description

You can configure more parameters in conf.py than you can find on the app pages.

duration

Duration represents the number of seconds the app is shown on your MoonClock.

Set duration to e.g. 300 to see the fees in mempool for 300 seconds.

update_frequency

Update frequency refreshes the content that is displayed on your MoonClock (e.g. price, block height, fees, etc.). If not specified, the content will be displayed for the whole 'duration' period.

Set update_frequency to e.g. 5 to see the fees in mempool refreshing every 5 seconds.

align

There is a align parameter you can specify to get your text or number to right, left, or center. Every app has a default value that 'is the best in our opinion but you can change it if it doesn't fit you.

Set align to e.g. 'right' to get the fees aligned to right side of the MoonClock.

Examples

{
    'name': 'fees',
    'duration': 300,
    'update_frequency': 5,
    'align': 'left',

},

Clone this wiki locally