Skip to content

Commit ee88883

Browse files
hardingbitschmidty
authored andcommitted
Compat: use topic pages instead of pages + data files
1 parent 935b41a commit ee88883

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+326
-248
lines changed

CONTRIBUTING.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@ diff -ruN _site _site.bak # Compare the generated sites (-r for recursive, -u f
9898
## Compatibility Matrix Data
9999

100100
The compatibility matrix section of the website is built from
101-
[YAML](https://yaml.org/) files located in [_data/compatibility/](_data/compatibility/).
102-
Each wallet also requires a markdown file in
103-
[en/compatibility/](en/compatibility/). The compatibility images (usability
101+
[YAML](https://yaml.org/) files located in [_compat/en](_compat/en).
102+
The compatibility images (usability
104103
screenshots, logos) are located in [img/compatibility/](img/compatibility/) with
105104
sub-folders for each wallet or service. Make sure to optimize any png files using
106105
`optipng -o7 <filename>`. These files are free for anyone to repurpose/republish

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export GIT_PAGER='_contrib/kill0'
1010
JEKYLL_FLAGS = --future --drafts --unpublished --incremental
1111

1212
## Expected filenames in output directory
13-
compatibility_validation = $(wildcard _data/compatibility/*.yaml)
14-
compatibility_validation := $(patsubst _data/compatibility/%.yaml,_site/en/compatibility/%/index.html,$(compatibility_validation))
13+
compatibility_validation = $(wildcard _compat/en/*.md)
14+
compatibility_validation := $(patsubst _compat/en/%.md,_site/en/compatibility/%/index.html,$(compatibility_validation))
1515
topic_validation = $(wildcard _topics/en/*.md)
1616
topic_validation := $(patsubst _topics/en/%.md,_site/en/topics/%/index.html,$(topic_validation))
1717

@@ -126,7 +126,7 @@ email: clean
126126
$(MAKE) preview JEKYLL_ENV=email
127127

128128
## Path-based rules
129-
_site/en/compatibility/%/index.html : _data/compatibility/%.yaml
129+
_site/en/compatibility/%/index.html : _compat/en/%.md
130130
bundle exec _contrib/schema-validator.rb _data/schemas/compatibility.yaml $<
131131

132132
_site/en/topics/%/index.html : _topics/en/%.md

_data/compatibility/abra.yaml _compat/en/abra.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/abra/
4+
25
name: Abra
36
internal_url: /en/compatibility/abra
47
logo: /img/compatibility/abra/abra.png
@@ -62,26 +65,31 @@ segwit:
6265
bech32m: "untested"
6366
default: "p2pkh"
6467
send:
65-
bech32: "false"
68+
bech32: "false"
6669
bech32m: "untested"
6770
change_bech32: "untested"
6871
segwit_v1: "Bech32 not supported."
6972
bech32_p2wsh: "false"
7073
examples:
7174
- image: /img/compatibility/abra/segwit/receive-screen.png
7275
caption: >
73-
Abra uses P2PKH addresses for receiving.
74-
- image: /img/compatibility/abra/segwit/send-bech32.png
76+
Abra uses P2PKH addresses for receiving.
77+
- image: /img/compatibility/abra/segwit/send-bech32.png
7578
caption: >
7679
Abra allows a bech32 address to be input and does not provide a warning.
7780
However, the review button was not enabled until a non-bech32 address
7881
was provided. The eventually sent transaction used exact change so
7982
change address format was not determined.
80-
- image: /img/compatibility/abra/segwit/send-bech32-qr.png
83+
- image: /img/compatibility/abra/segwit/send-bech32-qr.png
8184
caption: >
8285
When using the QR code scanner, an error about address format was shown
8386
when scanning a bech32 address.
84-
- image: /img/compatibility/abra/segwit/send-non-bech32.png
87+
- image: /img/compatibility/abra/segwit/send-non-bech32.png
8588
caption: >
8689
When using a non bech32 address, the "Review" button is enabled. Button
87-
is disabled when using bech32 address format.
90+
is disabled when using bech32 address format.
91+
---
92+
<!-- Abra -->
93+
94+
{% assign tool = page %}
95+
{% include templates/compatibility-page.md %}

_data/compatibility/binance.yaml _compat/en/binance.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/binance/
4+
25
name: Binance
36
internal_url: /en/compatibility/binance
47
logo: /img/compatibility/binance/binance.png
@@ -47,15 +50,15 @@ segwit:
4750
bech32m: "false"
4851
default: "p2pkh"
4952
send:
50-
bech32: "true"
53+
bech32: "true"
5154
bech32m: "false"
5255
change_bech32: "untested"
5356
segwit_v1: "Does not pass front end javascript validation"
5457
bech32_p2wsh: "false"
5558
examples:
5659
- image: /img/compatibility/binance/segwit/receive-screen.png
5760
caption: >
58-
Binance receives via P2PKH addresses.
61+
Binance receives via P2PKH addresses.
5962
- image: /img/compatibility/binance/segwit/send-screen.png
6063
caption: >
6164
Default send screen accepts a bech32 address.
@@ -70,4 +73,9 @@ segwit:
7073
book screens.
7174
- image: /img/compatibility/binance/segwit/address-book-add.png
7275
caption: >
73-
Bech32 P2WPKH addresses can be successfully added using the address book functionality.
76+
Bech32 P2WPKH addresses can be successfully added using the address book functionality.
77+
---
78+
<!-- Binance -->
79+
80+
{% assign tool = page %}
81+
{% include templates/compatibility-page.md %}

_data/compatibility/bitcoin-core.yaml _compat/en/bitcoin-core-wallet.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitcoin-core/
4+
25
name: Bitcoin Core Wallet
36
internal_url: /en/compatibility/bitcoin-core
47
logo: /img/compatibility/bitcoin-core/bitcoin-core.png
@@ -86,7 +89,7 @@ segwit:
8689
bech32m: "true"
8790
default: "p2sh_wrapped"
8891
send:
89-
bech32: "true"
92+
bech32: "true"
9093
bech32m: "true"
9194
change_bech32: "true"
9295
segwit_v1: "Transaction can be created and broadcast, but does not make it
@@ -105,4 +108,9 @@ segwit:
105108
caption: >
106109
Send - By default, the change address takes the same type as the address
107110
being paid to. Can be overridden with change control's 'Custom change
108-
address'.
111+
address'.
112+
---
113+
<!-- Bitcoin Core Wallet -->
114+
115+
{% assign tool = page %}
116+
{% include templates/compatibility-page.md %}

_data/compatibility/bitcoin-wallet.yaml _compat/en/bitcoin-wallet.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitcoin-wallet/
4+
25
# https://github.com/bitcoin-wallet/bitcoin-wallet
36
name: Bitcoin Wallet
47
internal_url: /en/compatibility/bitcoin-wallet
@@ -20,3 +23,8 @@ segwit:
2023
bech32m: "true"
2124
change_bech32: "true"
2225
bech32_p2wsh: "true"
26+
---
27+
<!-- Bitcoin Wallet -->
28+
29+
{% assign tool = page %}
30+
{% include templates/compatibility-page.md %}

_data/compatibility/bitgo.yaml _compat/en/bitgo.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitgo/
4+
25
name: BitGo
36
internal_url: /en/compatibility/bitgo
47
logo: /img/compatibility/bitgo/bitgo.png
@@ -55,7 +58,7 @@ segwit:
5558
bech32m: "true"
5659
default: "p2sh_wrapped"
5760
send:
58-
bech32: "true"
61+
bech32: "true"
5962
bech32m: "true"
6063
change_bech32: "true"
6164
segwit_v1: "Error occurs during sending process, after validation."
@@ -65,11 +68,16 @@ segwit:
6568
caption: >
6669
BitGo's web wallet UI defaults to P2SH-wrapped segwit addresses.
6770
Visually, the segwit logo is displayed next to segwit addresses with a
68-
tooltip indicating "Wrapped Segwit". While bech32 receive addresses are
69-
not possible in the UI currently, bech32 receive addresses can be generated using the API.
71+
tooltip indicating "Wrapped Segwit". While bech32 receive addresses are
72+
not possible in the UI currently, bech32 receive addresses can be generated using the API.
7073
- image: /img/compatibility/bitgo/segwit/send-screen.png
7174
caption: >
7275
BitGo's web wallet allows sending to bech32 addresses.
7376
#- image: /img/compatibility/bitgo/segwit/send-v1.png
7477
# caption: >
75-
# BitGo's web wallet displays an error when attempting send to segwit v1 addresses.
78+
# BitGo's web wallet displays an error when attempting send to segwit v1 addresses.
79+
---
80+
<!-- BitGo -->
81+
82+
{% assign tool = page %}
83+
{% include templates/compatibility-page.md %}

_data/compatibility/bitmex.yaml _compat/en/bitmex.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitmex/
4+
25
name: BitMEX
36
internal_url: /en/compatibility/bitmex
47
logo: /img/compatibility/bitmex/bitmex.png
@@ -47,3 +50,8 @@ segwit:
4750
- image: /img/compatibility/bitmex/segwit/receive-screen.png
4851
caption: >
4952
BitMEX uses a static P2SH address per user account.
53+
---
54+
<!-- BitMex -->
55+
56+
{% assign tool = page %}
57+
{% include templates/compatibility-page.md %}

_data/compatibility/bitnob.yaml _compat/en/bitnob.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitnob/
4+
25
name: Bitnob
36
internal_url: /en/compatibility/bitnob
47
logo: /img/compatibility/bitnob/bitnob.png
@@ -55,3 +58,8 @@ segwit:
5558
caption: >
5659
Bitnob's default receive address type is p2wsh (native segwit)
5760
61+
---
62+
<!-- BitNob -->
63+
64+
{% assign tool = page %}
65+
{% include templates/compatibility-page.md %}

_data/compatibility/bitpowr.yaml _compat/en/bitpowr.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitpowr/
4+
25
name: Bitpowr
36
internal_url: /en/compatibility/bitpowr
47
logo: /img/compatibility/bitpowr/bitpowr.png
@@ -37,7 +40,7 @@ rbf:
3740
- image: /img/compatibility/bitpowr/rbf/transactions-list.png
3841
caption: >
3942
Receiving Transaction - Incoming transaction.
40-
43+
4144
segwit:
4245
tested:
4346
date: "2021-08-17"
@@ -51,7 +54,7 @@ segwit:
5154
bech32m: "untested"
5255
default: "p2pkh"
5356
send:
54-
bech32: "true"
57+
bech32: "true"
5558
bech32m: "untested"
5659
change_bech32: "true"
5760
segwit_v1: "true"
@@ -65,5 +68,10 @@ segwit:
6568
Bitpowr supports sending to bech32, p2pkh and p2sh wrapped addresses via the API and UI.
6669
- image: /img/compatibility/bitpowr/segwit/send-change-segwit.png
6770
caption: >
68-
Bitpowr supports bech32, p2pkh and p2sh wrapped change addresses. You can choose via the API
71+
Bitpowr supports bech32, p2pkh and p2sh wrapped change addresses. You can choose via the API
6972
and its default to bech32 on dashboard.
73+
---
74+
<!-- BitPowr -->
75+
76+
{% assign tool = page %}
77+
{% include templates/compatibility-page.md %}

_data/compatibility/bitrefill.yaml _compat/en/bitrefill.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitrefill/
4+
25
name: Bitrefill
36
internal_url: /en/compatibility/bitrefill
47
logo: /img/compatibility/bitrefill/bitrefill.png
@@ -50,7 +53,7 @@ segwit:
5053
bech32m: "untested"
5154
default: "p2sh_wrapped"
5255
send:
53-
bech32: "true"
56+
bech32: "true"
5457
bech32m: "untested"
5558
change_bech32: "true"
5659
segwit_v1: "Address does not pass validation."
@@ -64,4 +67,9 @@ segwit:
6467
Bitrefill can send to bech32 native addresses. Change address is also bech32.
6568
#- image: /img/compatibility/bitrefill/segwit/send-v1.png
6669
# caption: >
67-
# Bitrefill displays an address validation error for segwit v1 addresses.
70+
# Bitrefill displays an address validation error for segwit v1 addresses.
71+
---
72+
<!-- Bitrefill -->
73+
74+
{% assign tool = page %}
75+
{% include templates/compatibility-page.md %}

_data/compatibility/bitstamp.yaml _compat/en/bitstamp.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitstamp/
4+
25
name: Bitstamp
36
internal_url: /en/compatibility/bitstamp
47
logo: /img/compatibility/bitstamp/bitstamp.png
@@ -59,3 +62,8 @@ segwit:
5962
- image: /img/compatibility/bitstamp/segwit/receive-screen.png
6063
caption: >
6164
Bitstamp receives deposits to P2SH-P2WSH addresses.
65+
---
66+
<!-- BitStamp -->
67+
68+
{% assign tool = page %}
69+
{% include templates/compatibility-page.md %}

_data/compatibility/blockchaininfo.yaml _compat/en/blockchaininfo.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/blockchaininfo/
4+
25
name: Blockchain.info
36
internal_url: /en/compatibility/blockchaininfo
47
logo: /img/compatibility/blockchaininfo/blockchaininfo.png
@@ -48,7 +51,7 @@ segwit:
4851
bech32m: "true"
4952
default: "bech32" # https://github.com/bitcoinops/bitcoinops.github.io/pull/510#issuecomment-859732513
5053
send:
51-
bech32: "true"
54+
bech32: "true"
5255
bech32m: "true"
5356
change_bech32: "true" # https://github.com/bitcoinops/bitcoinops.github.io/pull/510#issuecomment-859732513
5457
segwit_v1: "Error occurs during sending process, after validation."
@@ -64,3 +67,8 @@ segwit:
6467
# caption: >
6568
# Blockchain initially allows to send to segwit v1 addresses but an error
6669
# occurs after completing the send process.
70+
---
71+
<!-- Blockchain.info -->
72+
73+
{% assign tool = page %}
74+
{% include templates/compatibility-page.md %}

_data/compatibility/blocksettle.yaml _compat/en/blocksettle.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/blocksettle/
4+
25
name: BlockSettle
36
internal_url: /en/compatibility/blocksettle
47
logo: /img/compatibility/blocksettle/blocksettle.png
@@ -67,7 +70,7 @@ segwit:
6770
bech32m: "untested"
6871
default: "bech32"
6972
send:
70-
bech32: "true"
73+
bech32: "true"
7174
bech32m: "untested"
7275
change_bech32: "true"
7376
segwit_v1: "Error message during broadcasting of transaction"
@@ -92,3 +95,8 @@ segwit:
9295
caption: >
9396
The change address defaults to native bech32 segwit addresses, however,
9497
it is manually selectable by the user
98+
---
99+
<!-- BlockSettle -->
100+
101+
{% assign tool = page %}
102+
{% include templates/compatibility-page.md %}

_data/compatibility/casa.yaml _compat/en/casa.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/casa/
4+
25
name: Casa
36
internal_url: /en/compatibility/casa
47
logo: /img/compatibility/casa/casa.png
@@ -43,7 +46,7 @@ segwit:
4346
bech32m: "untested"
4447
default: "p2sh_wrapped_p2wsh"
4548
send:
46-
bech32: "true"
49+
bech32: "true"
4750
bech32m: "true"
4851
change_bech32: "false"
4952
segwit_v1: "Fails on signing attempt."
@@ -56,3 +59,8 @@ segwit:
5659
caption: >
5760
Casa Keymaster allows sending to bech32 addresses. Change addresses
5861
are not bech32 native, but P2SH-wrapped segwit addresses.
62+
---
63+
<!-- Casa -->
64+
65+
{% assign tool = page %}
66+
{% include templates/compatibility-page.md %}

0 commit comments

Comments
 (0)