-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: reorganize the sidebar and landing (#18)
* chore: clean getBalance * chore: improve wording for email log in * chore: reorganize the sidebar and landing
- Loading branch information
Showing
9 changed files
with
153 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
id: intro | ||
title: Intro | ||
slug: / | ||
hide_table_of_contents: false | ||
--- | ||
# Welcome to the Blink API Documentation | ||
|
||
A powerful, cost-effective, and reliable solution for easily integrating simple, reliable Bitcoin & Lightning payments into your projects, regardless of your experience level. | ||
|
||
Enable onchain and Layer two Lightning payments denominated in bitcoin or USD in just minutes! | ||
|
||
## Feature overview | ||
⚡ Unleash the benefits of Bitcoin & Lightning | ||
|
||
Lightning payments give the power of low-cost instant settlement to every business in the world.<br /> | ||
With the Blink API you can quickly enable Lightning and onchain payments for your business to unlock: | ||
|
||
* **Instant transactions** – no waiting for funds to arrive | ||
* **Final settlement** – no more chargebacks | ||
* **Low cost** – save 2-5% compared to credit cards | ||
* **Micropayments** – no minimum payment amount | ||
* **Interoperability** – permissionless payment network | ||
|
||
## Pricing | ||
💲 Zero fee for Blink-to-Blink transactions! | ||
|
||
Robust infrastructure (built on [Galoy](https://dev.galoy.io)) and well-managed Lightning channels allow us to provide the lowest possible fees, whether for Lightning (LN) payments, on-chain bitcoin transactions, or BTC to Stablesats conversions. | ||
|
||
* Intraledger (between Blink users) – no fee! | ||
* Outgoing Lightning – only pay routing fees (~0.02%) | ||
* Onchain deposit – 0% for payments over 1M sats | ||
* Stablesats conversion – 0.2% spread, no fees | ||
|
||
A detailed FAQ entry on [pricing](https://faq.blink.sv/transaction-fees/what-are-the-transaction-fees-for-using-blink-wallet) | ||
|
||
## Why choose the [Blink API](/api) | ||
📖 Blink makes receiving bitcoin simple whether you sell products in person, receive remittances or donations from abroad, or simply send sats between friends. | ||
|
||
* **Bitcoin-only** - Built by Bitcoiners for everyone, Proudly based in El Salvador | ||
* **Reliable** - Uptime & 24/7 team, check the [Blink Status Page](https://blink.statuspage.io/) | ||
* **Low fees** – Lightning-first, competitive pricing | ||
* **Simple to use**: Avoid the cost and the complexities of channel management. The Galoy backend handles it all, saving you valuable time and resources. | ||
* **Open source** – Transition to self-hosted | ||
* **USD-enabled** – Synthetic USD via Stablesats. Dive deeper on [stablesats.com](https://stablesats.com/) | ||
|
||
## Get started: [Register in 2 minutes](/api/start) | ||
➡️ Registering and logging into the Blink API is simple and can be done in under a minute. | ||
|
||
* Register account with phone number (note: unavailable in the US and some other countries) | ||
* Add email for 2FA | ||
* Start building! | ||
|
||
## Interactive tutorials: [Try it out](/api#-tutorials) | ||
🧪 API integration made easy | ||
|
||
Sending and receiving Bitcoin and Stablesats via API is simple, and available using both Lightning and onchain. Check out these simple interactive tutorials: | ||
* **Receive Stablesats USD** ([Lightning](/api/usd-ln-receive) | [Onchain](/api/usd-onchain-receive)) | ||
* **Send Stablesats USD** ([Lightning](/api/usd-ln-send) | [Onchain](/api/usd-onchain-send)) | ||
* **Receive BTC** ([Lightning](/api/btc-ln-receive) | [Onchain](/api/btc-onchain-receive)) | ||
* **Send BTC** ([Lightning](/api/btc-ln-send) | [Onchain](/api/btc-onchain-send)) | ||
|
||
## Host it yourself – [build with Galoy](https://dev.galoy.io) | ||
🏠 Become a sovereign organization | ||
|
||
Blink is built on the Galoy open source bitcoin banking stack.<br /> | ||
When you're ready, you can host the API on your own terms and seamlessly transition everything to your own infrastructure.<br /> | ||
Visit [dev.galoy.io](https://dev.galoy.io) for more information on our open-source offerings. | ||
|
||
[Join our Mattermost](https://chat.galoy.io/) | ||
|
||
[Start with the API](https://dev.blink.sv/api/start) | ||
|
||
Join us in enabling a Bitcoin-powered future with the Blink API powered by Galoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,18 +71,12 @@ const config = { | |
// Replace with your project's social card | ||
image: 'img/blink-logo.jpg', | ||
navbar: { | ||
title: 'Developer Documentation', | ||
title: 'API Documentation', | ||
logo: { | ||
alt: 'Blink logo', | ||
src: 'img/blink-logo-orange.svg', | ||
}, | ||
items: [ | ||
{ | ||
type: 'docSidebar', | ||
sidebarId: 'apiSidebar', | ||
position: 'left', | ||
label: 'Hosted API', | ||
}, | ||
{ | ||
href: 'https://chat.galoy.io', | ||
label: 'Join the Community', | ||
|
@@ -94,33 +88,33 @@ const config = { | |
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Docs', | ||
title: 'Follow us', | ||
items: [ | ||
{ | ||
label: 'Hosted API', | ||
to: '/api', | ||
label: 'GitHub', | ||
href: 'https://github.com/GaloyMoney', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Twitter', | ||
label: 'X/Twitter', | ||
href: 'https://twitter.com/blinkbtc', | ||
}, | ||
{ | ||
label: 'Telegram', | ||
href: 'https://t.me/blinkbtc', | ||
}, | ||
{ | ||
label: 'Nostr', | ||
href: 'https://snort.social/p/[email protected]', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Galoy Mattermost', | ||
href: 'https://chat.galoy.io', | ||
}, | ||
{ | ||
label: 'Telegram', | ||
href: 'https://t.me/blinkbtc', | ||
}, | ||
], | ||
}, | ||
{ | ||
|
@@ -131,8 +125,12 @@ const config = { | |
href: 'https://www.blink.sv', | ||
}, | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/GaloyMoney', | ||
label: 'Status page', | ||
href: 'https://blink.statuspage.io', | ||
}, | ||
{ | ||
label: 'About Galoy', | ||
href: 'https://galoy.io', | ||
}, | ||
], | ||
}, | ||
|
@@ -149,21 +147,25 @@ const config = { | |
darkTheme: darkCodeTheme, | ||
}, | ||
}), | ||
plugins: [ | ||
[ | ||
'@docusaurus/plugin-client-redirects', | ||
{ | ||
redirects: [ | ||
/* | ||
{ | ||
to: '/api/start', | ||
from: ['/api'], | ||
} | ||
*/ | ||
], | ||
}, | ||
], | ||
plugins: [ | ||
[ | ||
'@docusaurus/plugin-client-redirects', | ||
{ | ||
redirects: [ | ||
{ | ||
to: '/api/start', | ||
from: ['/api'], | ||
}, | ||
/* | ||
{ | ||
to: '/api/start', | ||
from: ['/api'], | ||
} | ||
*/ | ||
], | ||
}, | ||
], | ||
}; | ||
], | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.