diff --git a/website/blog/2023-11-10-liquidity-requirements.md b/website/blog/2023-11-10-liquidity-requirements.md index 46569bd..2cf9b9b 100644 --- a/website/blog/2023-11-10-liquidity-requirements.md +++ b/website/blog/2023-11-10-liquidity-requirements.md @@ -18,7 +18,7 @@ All transactions within Ark must be funded by the Ark Service Provider (ASP) in This post discusses some considerations on this topic and calculates the funding needs of the ASP. -Refer to [nomenclature docs](/docs/nomenclature) for any doubt +Refer to [nomenclature docs](/nomenclature) for any doubt ## Ark liquidity requirements diff --git a/website/docs/intro.md b/website/docs/intro.md index 7d62fb3..cd38159 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -12,7 +12,7 @@ Bitcoin is the most secure and censorship blockchain in the world. However, it i ## 👷♂️ How does it work? - Start by reading the [Nomenclature](/docs/nomenclature.md) section to understand the key concepts and terminology used in Ark. Then, you can learn how to [Board the Ark](intro/boarding.md) and [Send Payments](intro/payments.md). Finally, you can learn how to [Leave the Ark](intro/leaving.md) and withdraw your funds back to the Bitcoin blockchain if the server is unresponsive. + Start by reading the [Nomenclature](/nomenclature.md) section to understand the key concepts and terminology used in Ark. Then, you can learn how to [Board the Ark](intro/boarding.md) and [Send Payments](intro/payments.md). Finally, you can learn how to [Leave the Ark](intro/leaving.md) and withdraw your funds back to the Bitcoin blockchain if the server is unresponsive. ## 👶🏼 ELI5 diff --git a/website/docs/intro/boarding.md b/website/docs/intro/boarding.md index cbc9a74..c0134f2 100644 --- a/website/docs/intro/boarding.md +++ b/website/docs/intro/boarding.md @@ -12,17 +12,17 @@ Alice wants to board the Ark of a well-known Ark service provider (ASP). It requ ### The timeline of events -1. Alice creates a [Funding transaction](/docs/nomenclature#funding-transaction) +1. Alice creates a [Funding transaction](/nomenclature#funding-transaction) -2. Alice adds any inputs she wants to cover the values the [VTXO](/docs/nomenclature#vtxo-1) she will receive, plus on-chain fees. +2. Alice adds any inputs she wants to cover the values the [VTXO](/nomenclature#vtxo-1) she will receive, plus on-chain fees. 3. Alice adds an output with **two spending conditions**: - `(ASP in 1 month)` - - A covenant output that forces coins to be spent by a [Redeem transaction](/docs/nomenclature#redeem-transaction) with an output with **two** spending conditions: + - A covenant output that forces coins to be spent by a [Redeem transaction](/nomenclature#redeem-transaction) with an output with **two** spending conditions: - `(Alice + ASP)` - `(Alice in 24 hours)` -4. Alice notifies ASP about the [Funding transaction](/docs/nomenclature#funding-transaction) +4. Alice notifies ASP about the [Funding transaction](/nomenclature#funding-transaction) -5. Alice has now a [VTXO](/docs/nomenclature#vtxo-1). +5. Alice has now a [VTXO](/nomenclature#vtxo-1). diff --git a/website/docs/intro/payments.md b/website/docs/intro/payments.md index 9857fe1..ebfb05e 100644 --- a/website/docs/intro/payments.md +++ b/website/docs/intro/payments.md @@ -14,12 +14,12 @@ Alice wants to send funds to Bob inside the Ark. ### Timeline of events -1. Alice tells ASP to send [VTXO](/docs/nomenclature#vtxo-1) to Bob -2. ASP (with Alice) prepares next [Pool transaction](/docs/nomenclature#pool-transaction-aka-ark-transaction) -3. Alice creates a [Forfeit transaction](/docs/nomenclature#forfeit-transaction): +1. Alice tells ASP to send [VTXO](/nomenclature#vtxo-1) to Bob +2. ASP (with Alice) prepares next [Pool transaction](/nomenclature#pool-transaction-aka-ark-transaction) +3. Alice creates a [Forfeit transaction](/nomenclature#forfeit-transaction): - spends from VTXO (1) via `Alice + ASP` - adds connector output from Pool transaction (2) as input - signs (SIGHASH_ALL) and sends it to the ASP -4. ASP broadcasts [Pool transaction](/docs/nomenclature#pool-transaction-aka-ark-transaction) -5. Bob has now a new [VTXO](/docs/nomenclature#vtxo-1) -6. For at most 4 weeks, Alice will be able to double spend her’s [VTXO](/docs/nomenclature#vtxo-1), but if she does it, the ASP will have time to grab the funds from the [VTXO](/docs/nomenclature#vtxo-1) to itself using the [Forfeit transaction](/docs/nomenclature#forfeit-transaction) +4. ASP broadcasts [Pool transaction](/nomenclature#pool-transaction-aka-ark-transaction) +5. Bob has now a new [VTXO](/nomenclature#vtxo-1) +6. For at most 4 weeks, Alice will be able to double spend her’s [VTXO](/nomenclature#vtxo-1), but if she does it, the ASP will have time to grab the funds from the [VTXO](/nomenclature#vtxo-1) to itself using the [Forfeit transaction](/nomenclature#forfeit-transaction) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index ce7c444..21053b9 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -9,7 +9,7 @@ const config = { title: 'Ark', tagline: 'TBD', favicon: 'img/ark-logo.png', - url: 'https://dev.arkpill.me', + url: 'https://arkdev.info', baseUrl: '/', organizationName: 'Ark', projectName: 'Ark Website', @@ -26,6 +26,7 @@ const config = { /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { + routeBasePath: "/", sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. // Remove this to remove the "edit this page" links. @@ -37,9 +38,6 @@ const config = { // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/ark-network/edit/master/website/blog/', }, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, }), ], ], @@ -50,7 +48,7 @@ const config = { // Replace with your project's social card image: 'img/ark-og-image.png', navbar: { - title: 'Developer Portal', + title: 'Ark', logo: { alt: 'Ark Logo', src: 'img/ark-logo.png', @@ -78,15 +76,15 @@ const config = { items: [ { label: 'What Ark is', - to: '/docs/specs/index', + to: '/specs/index', }, { label: 'Join the Ark', - to: '/docs/user/intro', + to: '/user/intro', }, { label: 'Create an Ark', - to: '/docs/provider/intro', + to: '/provider/intro', }, ], }, diff --git a/website/src/components/HomepageFeatures/index.js b/website/src/components/HomepageFeatures/index.js deleted file mode 100644 index 78026b4..0000000 --- a/website/src/components/HomepageFeatures/index.js +++ /dev/null @@ -1,57 +0,0 @@ -import React from 'react'; -import clsx from 'clsx'; -import styles from './styles.module.css'; - -const FeatureList = [ - { - title: 'Fast', - description: ( - <> - TBD. - > - ), - }, - { - title: 'Secure', - description: ( - <> - TBD. - > - ), - }, - { - title: 'Convenient', - description: ( - <> - TBD. - > - ), - }, -]; - -function Feature({Svg, title, description}) { - return ( -
{description}
-{siteConfig.tagline}
-