From 813d304c4a67909ac306dcaf6fe5e5c9625ea949 Mon Sep 17 00:00:00 2001
From: Brandon Lucas <38222767+thebrandonlucas@users.noreply.github.com>
Date: Tue, 31 Oct 2023 09:42:23 -0400
Subject: [PATCH] feat: add adoption table
---
package.json | 2 +-
src/features/AdoptionTable.svelte | 54 ++++++++
src/features/Nav.svelte | 1 +
src/lib/constants.ts | 212 ++++++++++++++++++++++++++++++
src/routes/+page.svelte | 19 ++-
src/theme.json | 3 +-
6 files changed, 284 insertions(+), 7 deletions(-)
create mode 100644 src/features/AdoptionTable.svelte
create mode 100644 src/lib/constants.ts
diff --git a/package.json b/package.json
index 4e4d8ac..dc437e8 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"*.{js,ts,svelte,css,md,json}": [
"prettier --write",
"eslint --fix",
- "tsc --noEmit"
+ "bash -c 'yarn run check'"
]
}
}
diff --git a/src/features/AdoptionTable.svelte b/src/features/AdoptionTable.svelte
new file mode 100644
index 0000000..1e9780f
--- /dev/null
+++ b/src/features/AdoptionTable.svelte
@@ -0,0 +1,54 @@
+
+
+
+
+
+ Wallet
+ Sending
+ Receiving
+
+
+
+ {#each WALLET_ADOPTION as { name, sending, receiving }}
+
+ {name}
+ {sending ? 'Yes' : 'No'}
+ {receiving ? 'Yes' : 'No'}
+
+ {/each}
+
+
+
+
diff --git a/src/features/Nav.svelte b/src/features/Nav.svelte
index 29adf0b..254a832 100644
--- a/src/features/Nav.svelte
+++ b/src/features/Nav.svelte
@@ -51,6 +51,7 @@
Demo
Privacy
How to
+ Supporting Wallets
Future Plans
Get Involved
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
new file mode 100644
index 0000000..e75ad71
--- /dev/null
+++ b/src/lib/constants.ts
@@ -0,0 +1,212 @@
+export const WALLET_ADOPTION = [
+ {
+ name: 'Armory',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'bcoin',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'BDK-CLI',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Bitcoin Core',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Bitcoin Knots',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Bitcoin Wallet for Android',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'BitMask',
+ sending: true,
+ receiving: false
+ },
+ {
+ name: 'Blink (Bitcoin Beach Wallet)',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Blixt Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Blockstream Green',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'BlueWallet',
+ sending: true,
+ receiving: false
+ },
+ {
+ name: 'Brainbow',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Breadwallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'BTC.com',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'BTCPay Server',
+ sending: true,
+ receiving: true
+ },
+ {
+ name: 'Casa',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'CLN',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Coinomi',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Eclair',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Electrum',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Envoy',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Fedimint',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'FireBolt',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Fully Noded',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Gordian Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Guarda Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'JAM',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'JoinMarket',
+ sending: true,
+ receiving: true
+ },
+ {
+ name: 'Liana',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'LND',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Mutiny Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Mycelium',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Nunchuk',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Phoenix',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Samourai Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Sparrow Wallet',
+ sending: true,
+ receiving: false
+ },
+ {
+ name: 'Stack Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Trezor Suite',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Trust Wallet',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Vortex',
+ sending: false,
+ receiving: false
+ },
+ {
+ name: 'Wasabi Wallet',
+ sending: true,
+ receiving: false
+ },
+ {
+ name: 'Zeus',
+ sending: false,
+ receiving: false
+ }
+];
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 8b921a4..f77d34f 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -7,6 +7,7 @@
import H5 from '../components/Header/H5.svelte';
import Icon from '../components/Icon/Icon.svelte';
import Link from '../components/Link.svelte';
+ import AdoptionTable from '../features/AdoptionTable.svelte';
@@ -14,7 +15,7 @@
Better Bitcoin Transactions
A simple protocol that can scale Bitcoin, save fees, and preserve privacy, without changing
+ >A simple protocol that can preserve privacy, scale Bitcoin, and save fees, without changing
how you use it.
@@ -94,14 +95,15 @@
Scaling Upgraded
- Payjoin settles many transfers together in one transaction, saving time spent waiting for block
- confirmations and enabling higher throughput.
+ Payjoin settles many transfers together in one transaction, saving time spent waiting
+ for block confirmations and enabling higher throughput.
Fees Saved
- As a byproduct of the scaling improvements, the many transfers inside each payjoin share the fees of a single transaction.
+ As a byproduct of the scaling improvements, the many transfers inside each payjoin share
+ the fees of a single transaction.
@@ -271,6 +273,14 @@
>
Read the SDK docs
+
+ Supporting Wallets
+ A list of wallets that support sending or receiving payjoin. We need your help growing this
+ list!
+
+
Future Plans
@@ -299,7 +309,6 @@
>
We need your help!
-
Pay it forward. Join the movement.
Payjoin has many benefits for Bitcoin and doesn't require much, we need your help to get
wallets to support it!
diff --git a/src/theme.json b/src/theme.json
index ae706fa..dabc6eb 100644
--- a/src/theme.json
+++ b/src/theme.json
@@ -5,7 +5,8 @@
"current": "currentColor",
"primary": {
"DEFAULT": "#f75394"
- }
+ },
+ "background": "#0f0f0f"
}
}
}