Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage - Wayfinding #1005

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
30 changes: 29 additions & 1 deletion docs/learn/fundamentals/anchors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Anchors
sidebar_position: 90
---

## Overview

An anchor is a Stellar-specific term for the on and off-ramps that connect the Stellar network to traditional financial rails, such as financial institutions or fintech companies. Anchors accept deposits of fiat currencies (such as the US dollar, Argentine peso, or Nigerian naira) via existing rails (such as bank deposits or cash-in points), then sends the user the equivalent digital tokens on the Stellar network. The equivalent digital tokens can either represent that same fiat currency or another digital token altogether. Alternatively, anchors allow token holders to redeem their tokens for the real-world assets they represent.

Stellar has anchor services operating worldwide. View the [Anchor Directory](https://resources.stellar.org/anchors?) for more information on existing Stellar anchors.
Expand All @@ -13,7 +15,7 @@ You can set up an anchor by using the SDF-maintained [Anchor Platform](/platform

Learn how to integrate anchor services into your blockchain-based application by viewing the [Build Apps section](../../build/apps/overview.mdx). If you’re looking specifically for MoneyGram Access, see the Integrate with MoneyGram Access tutorial.

### Stellar Ecosystem Proposals (SEPs)
## Stellar Ecosystem Proposals (SEPs)

Stellar is an open-source network that is designed to interoperate with traditional financial institutions, various types of assets, and other networks. Network participants implement Stellar Ecosystem Proposals (SEPs) to ensure they can interoperate with other products and services on the network. SEPs are publicly created, open-source documents that live in a [GitHub repository](https://github.com/stellar/stellar-protocol/tree/master/ecosystem#stellar-ecosystem-proposals-seps.mdx) and they define how anchors, asset issuers, applications, exchanges, and other service providers should interact and interoperate.

Expand All @@ -29,3 +31,29 @@ For anchors, the most important SEPs are [SEP-6]: Programmatic Deposit and Withd
[sep-24]: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0024.md
[sep-31]: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0031.md
[sep-38]: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0038.md

### Using SEP-6: Programmatic Deposit and Withdrawal versus SEP-24: Hosted Deposit and Withdrawal

A user typically must decide whether they want to set up an anchor using [SEP-6: Programmatic Deposit and Withdrawal](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0006.md) or [SEP-24: Hosted Deposit and Withdrawal](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0024.md). Here are the differences and what to consider when choosing one or the other.

#### SEP-6: Programmatic Deposit and Withdrawal

Defines the standard way for anchors and wallets to interact on behalf of users. With this SEP’s guidance, wallets and other clients can interact with anchors directly without the user needing to leave the wallet to go to the anchor’s site. With SEP-6, the client collects KYC information from the user.

Wallets (clients) must take into consideration when using SEP-6:

- Clients must collect KYC information they may not need
- Clients must know what information to collect per-anchor
- Clients must send the information in a standardized format [(SEP-12: KYC API)](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0012.md)
- Anchors must receive the information via SEP-12’s API

#### SEP-24: Hosted Deposit and Withdrawal

Defines the standard way for anchors and wallets to interact on behalf of users interactively. This means that the user’s application must open a webview hosted by a third-party anchor for the user to provide the information necessary to complete the transaction. With SEP-24, the anchor collects KYC information from the user.

Wallets (clients) must take into consideration when using SEP-24:

- Clients don’t have to collect the anchor’s required KYC information
- Clients & anchors don’t have to implement [SEP-12: KYC API](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0012.md)
- Anchors must create a UI to be rendered by many clients
- Clients must allow anchors to temporarily control UX
4 changes: 2 additions & 2 deletions docs/tools/developer-tools/anchor-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ View all anchors on Stellar, their currencies, and where they operate.

An application for interactively testing anchor services. Lets financial application developers test their integrations and learn how Stellar ecosystem protocols (SEPs) work; use the demo wallet to test Regulated Assets (SEP-8), Hosted Deposit and Withdrawal (SEP-24), and Cross-Border Payments (SEP-31) with any home domain that has a Stellar Info File (also known as SEP-1, or a stellar.toml file).

### [Polaris](https://django-polaris.readthedocs.io/en/stable/)
### [Anchor Test Suite](https://anchor-tests.stellar.org/)

An extendable django app that makes it easy for anchors to facilitate cross-border payments and enable deposits and withdrawals; run a web server supporting any combination of SEP-1, 6, 10, 12, and 24.
A test suite for validating SEP6, SEP24, SEP31 transfer servers.
48 changes: 24 additions & 24 deletions src/components/WayfindingBoxes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,93 +6,93 @@ import styles from './styles.module.css';

const WayfindingWays = [
{
title: 'Stellar 101',
title: 'Asset Issuers',
image: require('@site/static/icons/stellar-101.png').default,
description: (
<>
Learn about the core concepts of Stellar in this educational section.
Issue an asset on the Stellar network or create a custom smart contract token.
</>
),
link: (
<Link
to="/docs/learn/fundamentals">
Dive In
to="#asset-issuers">
Issue an asset
</Link>
),
},
{
title: 'Write a Smart Contract',
title: 'Smart Contract Developers',
image: require('@site/static/icons/contract.png').default,
description: (
<>
Get set up and write your first smart contract on the Stellar network.
Write, test, deploy, and interact with smart contracts on the Stellar network.
</>
),
// temporarily set this to /docs/soroban until "smart contracts" section is done
link: (
<Link
to="/docs/build/smart-contracts/getting-started/setup">
Get Started
to="#smart-contract-developers">
Write a smart contract
</Link>
),
},
{
title: 'Issue an Asset',
title: 'Ramps (anchors)',
image: require('@site/static/icons/issue-assets.png').default,
description: (
<>
Issuing assets on Stellar is easy. Learn how in this tutorial.
Set up an on/off-ramp (also known as an anchor) using the SDF-maintained Anchor Platform tool.
</>
),
link: (
<Link
to="/docs/tokens/how-to-issue-an-asset">
Issue Asset
to="#ramps-anchors">
Set up an anchor
</Link>
),
},
{
title: 'Build an Application',
title: 'Applications',
image: require('@site/static/icons/build-applications.png').default,
description: (
<>
Build an application on Stellar using the Wallet SDK or JS SDK.
For application builders or exchanges that want to list Stellar assets.
</>
),
link: (
<Link
to="/docs/build/apps">
Get Building
to="#applications">
Build an app
</Link>
),
},
{
title: 'Developer Tools',
title: 'Infrastructure Providers',
image: require('@site/static/icons/dev-tools.png').default,
description: (
<>
Stellar has a myriad of community and SDF-maintained tools. Check them out!
Set up Stellar network infrastructure to use yourself or list as a third-party service for others.
</>
),
link: (
<Link
to="/docs/tools/developer-tools">
See Tools
to="#infrastructure-providers">
Set up infrastructure
</Link>
),
},
{
title: 'Access Data',
title: 'Analytics',
image: require('@site/static/icons/access-data.png').default,
description: (
<>
The RPC, Hubble, and Horizon offer all the data capabilities you could possibly need.
Perform analysis on Stellar network data.
</>
),
link: (
<Link
to="/docs/data">
Get the Goods
to="#analytics">
Access Stellar network data
</Link>
),
},
Expand Down
Loading