Skip to content

Commit 4d4293c

Browse files
authored
Note about font choice for addresses (#1160)
* Note about font choice for addresses Tiny addition the visual formatting paragraph in the address page in the glossary, based on the conversation in #1134. * Add specific font examples
1 parent 61b16c3 commit 4d4293c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

guide/glossary/address.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ https://www.figma.com/file/qr4P17z6WSPADm6oW0cKw2/?node-id=25%3A2
3939
%}
4040

4141
# Address
42+
{:.no_toc}
43+
44+
---
45+
46+
<div class="glossary-toc" markdown="1">
47+
* Table of contents
48+
{:toc}
49+
</div>
50+
51+
---
52+
4253
A bitcoin address is a 26-62 alphanumeric character identifier that is used to receive bitcoin. There are several address formats based on different specifications.
4354

4455
When users enter an address, these formats have specific prefixes, so it is possible to determine which format is being used.
@@ -111,6 +122,8 @@ Handling addresses can be stressful when sending bitcoin. Transactions cannot be
111122

112123
Especially when addresses are displayed in a compacted way, make sure to offer a more easily readable alternative. Spacing, subtle coloration, and use of mono-space fonts help users identify chunks of the address to compare, and distinguish characters better.
113124

125+
Choose a typeface whose characters can be clearly distinguished (such as [Source Code Pro](https://github.com/adobe-fonts/source-code-pro) or [Fira Mono](https://github.com/mozilla/Fira)). Keep in mind that each address format has a different set of supported characters. For example, [Bech32](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#user-content-Segwit_address_format) addresses do not allow _"1"_, _"b"_, _"i"_, and _"o"_ in their data parts.
126+
114127
</div>
115128

116129
## Address validation

0 commit comments

Comments
 (0)