Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alerts/events/using-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function handleLastTradePriceChangeEvent(event) {

We're developing advanced event detection for newly launched tokens that meet specific safety and quality criteria. This system will focus on tokens with "staying power" rather than short-lived movements.

Learn more about our approach: See the [Trending Tokens Events](/alerts/events/trending-tokens-events) section for detailed information about detection criteria, safety filters, and the quality-first methodology.
Learn more about our approach: See the [Trending Tokens Events](/alerts/events/trending-token) section for detailed information about detection criteria, safety filters, and the quality-first methodology.

<Tip>
**Early Access Available**
Expand Down
2 changes: 1 addition & 1 deletion alerts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Have a look at our inbox that lets your users also receive notifications from ot
**[Introduction](/alerts/integrate-inbox/index)** - Build notification experiences for your users:
- **[User Management](/alerts/integrate-inbox/user-management)**: Subscription flows and preferences
- **[API Integration](/alerts/integrate-inbox/api/index)**: Custom notification interfaces
- **[SDK Components](/alerts/integrate-inbox/sdk/index)**: Pre-built React components
- **[SDK Components](/alerts/integrate-inbox/sdk/setup-configuration)**: Pre-built React components
- **[Universal Inbox](/alerts/integrate-inbox/universal-inbox)**: Cross-app notification history


Expand Down
10 changes: 5 additions & 5 deletions alerts/integrate-inbox/api/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ Before integrating the notification inbox API, ensure you have completed:

Follow this recommended implementation flow:

1. **[Authentication](authentication)** - Set up wallet-based user authentication using JWT tokens and client keys
1. **[Authentication](/alerts/integrate-inbox/api/authentication)** - Set up wallet-based user authentication using JWT tokens and client keys
2. **[User Management](/alerts/integrate-inbox/user-management)** - Understand subscription, channel, and topic management (see API tabs in each section)
3. **[Notifications](notifications)** - Retrieve notification history and manage read states
4. **[Push Notifications](push-notifications)** - Complete mobile push notification integration
3. **[Notifications](/alerts/integrate-inbox/api/notifications)** - Retrieve notification history and manage read states
4. **[Push Notifications](/alerts/integrate-inbox/api/push-notifications)** - Complete mobile push notification integration

## API vs SDK vs Components

Expand All @@ -49,8 +49,8 @@ Follow this recommended implementation flow:
- ✅ Full control over user data and flows

**Consider the alternatives:**
- **[React Components](/alerts/integrate-inbox/sdk/index)** - For frontend React applications with built-in UI
- **[TypeScript SDK](/alerts/integrate-inbox/sdk/index)** - For frontend applications needing programmatic control
- **[React Components](/alerts/integrate-inbox/sdk/setup-configuration)** - For frontend React applications with built-in UI
- **[TypeScript SDK](/alerts/integrate-inbox/sdk/setup-configuration)** - For frontend applications needing programmatic control


## What's Next?
Expand Down
4 changes: 2 additions & 2 deletions alerts/integrate-inbox/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pre-built React components for quick integration with minimal setup. Perfect for
- **Notifications**: Standalone component with full styling control
- Built-in user management and authentication flows

**[Get started with React Components →](/alerts/integrate-inbox/sdk/index)**
**[Get started with React Components →](/alerts/integrate-inbox/sdk/setup-configuration)**

### 🔧 REST API
Direct API integration for maximum flexibility and control. Ideal for server-side implementations, custom authentication flows, or non-JavaScript environments.
Expand Down Expand Up @@ -86,6 +86,6 @@ All integration approaches build on the same user management system. Understandi
## What's Next?

- **New to Dialect?** Start with [User Management](/alerts/integrate-inbox/user-management) to understand the foundation
- **Building a React app?** Jump to [React Components](/alerts/integrate-inbox/sdk/index)
- **Building a React app?** Jump to [React Components](/alerts/integrate-inbox/sdk/setup-configuration)
- **Need API control?** Begin with [REST API](/alerts/integrate-inbox/api/index)
- **Want cross-app notifications?** Explore [Universal Inbox](/alerts/integrate-inbox/universal-inbox)
26 changes: 13 additions & 13 deletions alerts/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Get your users the notifications they need, when and where they ne

<Info>
**Inbox Now Available!**
Our latest update introduces the [Universal Inbox](integrate-inbox/universal-inbox) feature, allowing users to receive notifications from multiple applications in a single feed. This brings a more streamlined experience for your users and enables wallet applications to show cross-app notifications.
Our latest update introduces the [Universal Inbox](/alerts/integrate-inbox/universal-inbox) feature, allowing users to receive notifications from multiple applications in a single feed. This brings a more streamlined experience for your users and enables wallet applications to show cross-app notifications.
</Info>

**Get your users the notifications they need, when and where they need them.** Dialect Alerts is a notification infrastructure that powers messaging for over 30 of the most-loved apps and wallets on Solana.
Expand Down Expand Up @@ -36,30 +36,30 @@ Establish a direct line of communication to your users:

### New to Alerts?

**[Quick Start Guide](quick-start)** - With our Quick Start Guide, you can send your first notification in under 15 minutes. Learn how you can register your app, subscribe to notifications and send a test notification.
**[Quick Start Guide](/alerts/quick-start)** - With our Quick Start Guide, you can send your first notification in under 15 minutes. Learn how you can register your app, subscribe to notifications and send a test notification.

### Want to Send Alerts?

Sending alerts can be achieved through multiple approaches, from simple no-code solutions to powerful programmatic integrations:

**[Introduction](send/index)** - Choose the best approach for your app:
- **[REST API](send/api/index)**: HTTP endpoints for basic notification sending from any language or platfor incl. mobile
- **[React SDK](send/sdk/index)**: Rich developer experience with type safety, helper functions, and UI components
- **[Dashboard](send/dashboard)**: No-code solution for marketing and announcements
- **[Monitoring](alerts-and-monitoring/index)**: Automated alerts based on blockchain events
**[Introduction](/alerts/send/index)** - Choose the best approach for your app:
- **[REST API](/alerts/send/api/index)**: HTTP endpoints for basic notification sending from any language or platfor incl. mobile
- **[React SDK](/alerts/send/sdk/index)**: Rich developer experience with type safety, helper functions, and UI components
- **[Dashboard](/alerts/send/dashboard)**: No-code solution for marketing and announcements
- **[Monitoring](/alerts/alerts-and-monitoring/index)**: Automated alerts based on blockchain events

### Want to Receive Alerts?

Send your users the information they need when they need it. We recommend integrating our alerts using our SDKs for the best experience.

Have a look at our inbox that lets your users also receive notifications from other apps, so they don't have to leave your app to stay informed.

**[Introduction](integrate-inbox/index)** - Build notification experiences for your users:
- **[User Management](integrate-inbox/user-management)**: Subscription flows and preferences
- **[API Integration](integrate-inbox/api/index)**: Custom notification interfaces
- **[SDK Components](integrate-inbox/sdk/index)**: Pre-built React components
- **[Universal Inbox](integrate-inbox/universal-inbox)**: Cross-app notification history
**[Introduction](/alerts/integrate-inbox/index)** - Build notification experiences for your users:
- **[User Management](/alerts/integrate-inbox/user-management)**: Subscription flows and preferences
- **[API Integration](/alerts/integrate-inbox/api/index)**: Custom notification interfaces
- **[SDK Components](/alerts/integrate-inbox/sdk/setup-configuration)**: Pre-built React components
- **[Universal Inbox](/alerts/integrate-inbox/universal-inbox)**: Cross-app notification history


## Questions?
Check our [FAQ](faq) or explore specific topics in the navigation menu.
Check our [FAQ](/alerts/faq) or explore specific topics in the navigation menu.
2 changes: 1 addition & 1 deletion alerts/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,6 @@ You'll find detailed styling options including:
- **[Sending Guide](/alerts/send/index)** - Send alerts to your users either programmatic or by using or no-code Dashboard
- **[Universal Inbox Guide](/alerts/integrate-inbox/index)** - Integrate an Inbox using APIs or advanced UI components
- **[Event Detection and Monitoring](/alerts/alerts-and-monitoring/index)**: Use events to send notifications to your users
- **[API Guide](/api-guide)** - Get an overview of available API endpoints
- **[API Guide](/standard-blinks-library)** - Get an overview of available API endpoints

**🎉 You're all set!** You now have notifications working in your app. Your users can receive important updates directly in their wallets, and you can reach them programmatically from your backend.
10 changes: 5 additions & 5 deletions alerts/send/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Send alerts directly from your backend code using our APIs or SDKs. This is the
**Best for:** Real-time notifications, complex business logic, high-volume sending, custom integrations.

**Options:**
- **[REST API](api/index)**: Direct HTTP calls for any programming language
- **[TypeScript SDK](sdk/index)**: Simplified integration with type safety and helper functions
- **[REST API](/alerts/send/api/index)**: Direct HTTP calls for any programming language
- **[TypeScript SDK](/alerts/send/sdk/index)**: Simplified integration with type safety and helper functions

### 2. Dashboard Alerts
Send alerts through our no-code [dashboard](dashboard) interface. Perfect for marketing announcements, product updates, and any other type of communications that don't require backend integration.
Send alerts through our no-code [dashboard](/alerts/send/dashboard) interface. Perfect for marketing announcements, product updates, and any other type of communications that don't require backend integration.

**Best for:** Marketing teams, product announcements, scheduled campaigns (soon), non-technical users.

Expand All @@ -42,6 +42,6 @@ Before sending alerts, understand these core concepts:

## Getting Started

1. **For immediate testing**: Start with [Dashboard Alerts](dashboard) - no coding required
2. **For production integration**: Begin with programmatic alerts using our [API](api/index) or [SDK](sdk/index)
1. **For immediate testing**: Start with [Dashboard Alerts](/alerts/send/dashboard) - no coding required
2. **For production integration**: Begin with programmatic alerts using our [API](/alerts/send/api/index) or [SDK](/alerts/send/sdk/index)
3. **For automated notifications**: Explore [Monitoring and Event Detection](/alerts/alerts-and-monitoring/index) for hands-off operation
6 changes: 3 additions & 3 deletions alerts/setup/register-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Your app is now ready to send notifications! 🎉

After successful registration:

1. **[Understand core concepts](topics-channels-subscribers)** - Learn about topics, channels, and subscribers
2. **[Explore the dashboard](dashboard-introduction)** - Manage your app and monitor usage
3. **[Send your first notification](/alerts/send)** - Start integrating notification sending
1. **[Understand core concepts](/alerts/setup/topics-channels-subscribers)** - Learn about topics, channels, and subscribers
2. **[Explore the dashboard](/alerts/setup/dashboard-introduction)** - Manage your app and monitor usage
3. **[Send your first notification](/alerts/send/index)** - Start integrating notification sending
4. **[Universal Inbox Guide](/alerts/integrate-inbox/index)** - Integrate an Inbox using APIs or advanced UI components
2 changes: 1 addition & 1 deletion blinks/blinks-client/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Our UI components provide ready-to-use React components that handle the renderin

## Testing

For testing blink unfurling, we recommend you to use either our [dial.to](https://dial.to) website or our [scaffolds](/blinks/blinks-scaffolds/index) which also have a blink client pre-configured.
For testing blink unfurling, we recommend you to use either our [dial.to](https://dial.to) website or our [scaffolds](/blinks/blinks-starters/index) which also have a blink client pre-configured.

## Non-React Integration

Expand Down
2 changes: 1 addition & 1 deletion blinks/blinks-provider/build-your-first-blink.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Learn how to create a blink that donates SOL to another wallet usi

<Tip>
This is the first of may tutorials that we offer. If you are looking for more
advanced tutorials, checkout our [guides section](guides/index.mdx)
advanced tutorials, checkout our [guides section](/blinks/blinks-provider/guides/index)
</Tip>

The best way to understand how blinks work, is to build one. This guide will show you, how you can create a blink that donates SOL to another wallet.
Expand Down
2 changes: 1 addition & 1 deletion blinks/blinks-provider/fallbacks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ By hosting a simple website with Dialect's blink client, you guarantee that user

<img src="https://res.cloudinary.com/dnxjhra4h/image/upload/f_auto,q_auto/dialect-docs/monad-scaffold-preview.png" alt="Screenshot from blink scaffold monad landing page" />

The recommended way to create this fallback website is by using our [scaffolds](/blinks/blinks-scaffolds/index). These are ready-to-go `NextJS` projects, pre-loaded with all the required configurations and dependencies.
The recommended way to create this fallback website is by using our [scaffolds](/blinks/blinks-starters/index). These are ready-to-go `NextJS` projects, pre-loaded with all the required configurations and dependencies.

With scaffolds, you can skip the tedious setup and jump straight into coding.

Expand Down
4 changes: 2 additions & 2 deletions blinks/blinks-provider/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Ready to dive in? Here are three paths to get you started!
<Card
title="Beginner"
icon="graduation-cap"
href="build-your-first-blink"
href="/blinks/blinks-provider/build-your-first-blink"
>
Want to get started? Let's build your first blink together! Follow our step-by-step tutorial to see it in action.
</Card>
<Card
title="Advanced"
icon="code"
href="guides/index"
href="/blinks/blinks-provider/guides/index"
>
Not your first rodeo or need more complex solutions? Check out our guides section for in-depth examples and best practices.
</Card>
Expand Down
6 changes: 3 additions & 3 deletions blinks/blinks-provider/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ Ready to dive in? Here are three paths to get you started!
### Beginner

Want to get started? Let's build your first blink together!
Follow our [step-by-step tutorial](build-your-first-blink) to see it in action.
Follow our [step-by-step tutorial](/blinks/blinks-provider/build-your-first-blink) to see it in action.

### Advanced

Not your first rodeo or need more complex solutions? Check out our [guides section](guides/index) for in-depth examples and best practices.
Not your first rodeo or need more complex solutions? Check out our [guides section](/blinks/blinks-provider/guides/index) for in-depth examples and best practices.

### Freestyler

Prefer to experiment on your own? Clone our [scaffolds](/blinks/blinks-scaffolds/index) and start building right away.
Prefer to experiment on your own? Clone our [scaffolds](/blinks/blinks-starters/index) and start building right away.
58 changes: 58 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,64 @@
}
]
},
"redirects": [
{
"source": "/alerts/events/trending-tokens-events",
"destination": "/alerts/events/trending-token"
},
{
"source": "/alerts/events/new-tokens",
"destination": "/alerts/events/trending-token"
},
{
"source": "/alerts/integrate-inbox/sdk/index",
"destination": "/alerts/integrate-inbox/sdk/setup-configuration"
},
{
"source": "/blinks/blinks-scaffolds",
"destination": "/blinks/blinks-starters"
},
{
"source": "/blinks/blinks-scaffolds/index",
"destination": "/blinks/blinks-starters"
},
{
"source": "/api-guide",
"destination": "/standard-blinks-library"
},
{
"source": "/api-guide/standard-blinks-library",
"destination": "/standard-blinks-library"
},
{
"source": "/api-reference/positions/pnl",
"destination": "/api-reference/positions/get-pnl-data-for-wallet-positions"
},
{
"source": "/api-reference/mint/get-mint-blink",
"destination": "/api-reference/earn/get-mint-blink"
},
{
"source": "/api-reference/lend-borrow/borrow-deposit",
"destination": "/api-reference/lend-borrow/deposit"
},
{
"source": "/api-reference/lend/earn-deposit",
"destination": "/api-reference/lend-earn/deposit"
},
{
"source": "/api-reference/lend/borrow-deposit",
"destination": "/api-reference/lend-borrow/deposit"
},
{
"source": "/api-reference/positions",
"destination": "/api-reference/positions/list-all-market-positions-by-wallet-address"
},
{
"source": "/mcp",
"destination": "/mcp-server"
}
],
"footer": {
"socials": {
"website": "https://www.dialect.to/",
Expand Down
2 changes: 1 addition & 1 deletion index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If you're new to Dialect, start here to learn the essentials and start building.
<Card
title="Standard Blinks Library"
icon="book"
href="/api-guide/standard-blinks-library"
href="/standard-blinks-library"
>
Ready-to-use Blinks from top Solana ecosystem projects. Copy, paste, done.
</Card>
Expand Down
4 changes: 2 additions & 2 deletions markets/market-types/prediction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ If you need more filter options, please [reach out](https://form.typeform.com/to

## Tracking Prediction Positions

Our [Positions API](/api-reference/positions/list-all-market-positions-by-wallet-address) and [PnL API](/api-reference/positions/get-pn-l-data-for-wallet-positions) give you everything you need to track a user's prediction market activity. Without them, tracking DFlow positions requires multiple steps:
Our [Positions API](/api-reference/positions/list-all-market-positions-by-wallet-address) and [PnL API](/api-reference/positions/get-pnl-data-for-wallet-positions) give you everything you need to track a user's prediction market activity. Without them, tracking DFlow positions requires multiple steps:

1. Fetch all token accounts for a wallet
2. Get tokenized account mints
Expand Down Expand Up @@ -453,7 +453,7 @@ Notice that after the full exit, the new buy starts fresh with no carryover from

PnL allows the user to see how their positions are performing. It answers the question: **"Am I profitable or am I loosing money?"**

The [Positions API](/api-reference/positions/list-all-market-positions-by-wallet-address) returns PnL for **active positions** only. Once a user fully redeems their outcome tokens, the position is closed and no longer returned. Use the [PnL API](/api-reference/positions/get-pn-l-data-for-wallet-positions) to access PnL across all positions, including closed ones.
The [Positions API](/api-reference/positions/list-all-market-positions-by-wallet-address) returns PnL for **active positions** only. Once a user fully redeems their outcome tokens, the position is closed and no longer returned. Use the [PnL API](/api-reference/positions/get-pnl-data-for-wallet-positions) to access PnL across all positions, including closed ones.

#### Response Fields

Expand Down
Loading