Module: Constants

Constants

Constants module contains the defaults values used in this library

Members

inner,constantalgorithmWeigthnumber

Algorithm weight

Default Value:
  • 3

inner,constantavatarSizestring

Default avatar size

Default Value:
  • 52px

inner,constantbaseBlockstackApistring

Base public BlockStack API endpoint

Default Value:
  • https://core.blockstack.org/v1

inner,constantconstantWeigthsarray

Constant factors in account quality rankings

Default Value:
  • ["name","bio","image"]

inner,constantdaoedPrefixerstring

Prefix used for DAOed files

Default Value:
  • daoed.

inner,constantdefaultAvatarColorsarray

Color palette to use used for avatar background colors

Default Value:
  • ["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"]

inner,constanthistorySizenumber

Size of history list

Default Value:
  • 50

inner,constantsocialWeigthnumber

Base social weight for account quality filtering

Default Value:
  • 3