Skip to content

Commit 09e3848

Browse files
authored
Merge pull request #125 from dusk-network/docs/market-infrastructure-content
Add market infrastructure, Connect and llm content
2 parents 3f3d942 + 9312ca4 commit 09e3848

20 files changed

Lines changed: 651 additions & 106 deletions

public/llms-full.txt

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# Dusk Docs Full Context
2+
3+
This file summarizes the public Dusk documentation for AI assistants, search systems, and readers that need a compact map of the docs.
4+
5+
## Positioning
6+
7+
Dusk is infrastructure for regulated digital assets and general finance. It is designed for workflows where issuers, venues, institutions, developers, and users need privacy, access controls, deterministic settlement, and selective disclosure.
8+
9+
Dusk should be understood as a stack:
10+
11+
- DuskDS: the Dusk L1 for consensus, settlement, data availability, native transaction models, and native execution.
12+
- DuskEVM: an OP Stack-based EVM execution environment using DUSK as gas and DuskDS for settlement/data availability.
13+
- DuskVM: the WASM execution environment for native Dusk smart contracts.
14+
- Rusk: the Rust node implementation that runs DuskDS.
15+
- Citadel: identity and access primitives for selective disclosure and regulated workflows.
16+
- Dusk Connect: wallet discovery and account connection for Dusk applications.
17+
- Dusk Trade: application-layer market infrastructure for tokenized financial assets.
18+
19+
## Key Concepts
20+
21+
### Regulated Market Workflows
22+
23+
Dusk is designed for workflows such as:
24+
25+
- regulated securities issuance
26+
- investor onboarding and eligibility checks
27+
- wallet binding and access controls
28+
- secondary market transfers
29+
- payment and settlement coordination
30+
- servicing, reporting, corporate actions, and selective disclosure
31+
32+
Relevant docs:
33+
34+
- https://docs.dusk.network/learn/market-infrastructure/
35+
- https://docs.dusk.network/learn/dusk-trade/
36+
- https://docs.dusk.network/learn/tokenization-comparison/
37+
- https://docs.dusk.network/learn/deep-dive/assets-and-regulations/
38+
39+
### Privacy with Selective Disclosure
40+
41+
Dusk supports confidential shielded transfers, public account flows, and selective disclosure patterns. The point is not to make every workflow hidden or every workflow public. Builders can decide which data should be public, which data should remain confidential, and which data should be disclosed to authorized parties.
42+
43+
Relevant docs:
44+
45+
- https://docs.dusk.network/learn/cryptography/
46+
- https://docs.dusk.network/learn/deep-dive/duskds-tx-models/
47+
- https://docs.dusk.network/developer/digital-identity/protocol/
48+
49+
### Transaction Models
50+
51+
DuskDS supports:
52+
53+
- Moonlight: transparent public account flows.
54+
- Phoenix: confidential shielded transfers.
55+
56+
Relevant docs:
57+
58+
- https://docs.dusk.network/learn/deep-dive/duskds-tx-models/
59+
- https://docs.dusk.network/learn/web-wallet/
60+
61+
### Execution Paths
62+
63+
Dusk has two main developer paths:
64+
65+
- DuskEVM: Solidity, EVM tooling, EVM wallets, Ethereum-compatible infrastructure.
66+
- Native Dusk: general-purpose Rust/WASM contracts through DuskVM for protocol-level assets, native transaction models, custom execution, market logic, privacy, or zero-knowledge capabilities close to the settlement layer.
67+
68+
Relevant docs:
69+
70+
- https://docs.dusk.network/developer/overview/
71+
- https://docs.dusk.network/learn/deep-dive/dusk-evm/
72+
- https://docs.dusk.network/learn/deep-dive/dusk-vm/
73+
- https://docs.dusk.network/developer/smart-contracts-dusk-evm/deploy-on-evm/
74+
- https://docs.dusk.network/developer/smart-contracts-duskds/
75+
76+
## Important Pages
77+
78+
### Learn
79+
80+
- Overview: https://docs.dusk.network/learn/overview/
81+
- Market Infrastructure: https://docs.dusk.network/learn/market-infrastructure/
82+
- Dusk Trade: https://docs.dusk.network/learn/dusk-trade/
83+
- Core Components: https://docs.dusk.network/learn/core-components/
84+
- Core Values: https://docs.dusk.network/learn/core-values/
85+
- Native Issuance: https://docs.dusk.network/learn/tokenization-comparison/
86+
- Ecosystem & Partners: https://docs.dusk.network/learn/ecosystem/
87+
- Tokenomics: https://docs.dusk.network/learn/tokenomics/
88+
- Glossary: https://docs.dusk.network/learn/glossary/
89+
90+
### Developer
91+
92+
- Developer Overview: https://docs.dusk.network/developer/overview/
93+
- Deploy on DuskEVM: https://docs.dusk.network/developer/smart-contracts-dusk-evm/deploy-on-evm/
94+
- Smart Contracts on DuskDS: https://docs.dusk.network/developer/smart-contracts-duskds/
95+
- Dusk Connect: https://docs.dusk.network/developer/integrations/dusk-connect/
96+
- Dusk Wallet Extension: https://docs.dusk.network/developer/integrations/wallet-extension/
97+
- Transaction Lifecycle: https://docs.dusk.network/developer/integrations/tx-lifecycle/
98+
- HTTP API: https://docs.dusk.network/developer/integrations/http-api/
99+
- W3sper SDK: https://docs.dusk.network/developer/integrations/w3sper/
100+
- Exchange Integration: https://docs.dusk.network/developer/integrations/exchanges/
101+
- Encoding & Hashing: https://docs.dusk.network/developer/integrations/reference/
102+
- Dusk Improvement Proposals: https://docs.dusk.network/developer/contribute/dips/
103+
- Grants: https://docs.dusk.network/developer/contribute/grants/
104+
105+
### Operators
106+
107+
- Operator Overview: https://docs.dusk.network/operator/overview/
108+
- Provisioner Node: https://docs.dusk.network/operator/provisioner/
109+
- Archive Node: https://docs.dusk.network/operator/archive-node/
110+
- Prover Node: https://docs.dusk.network/operator/prover/
111+
- Networks: https://docs.dusk.network/operator/networks/
112+
- Maintenance & Monitoring: https://docs.dusk.network/operator/maintenance-monitoring/
113+
- Troubleshooting: https://docs.dusk.network/operator/troubleshooting/
114+
115+
### User Tools
116+
117+
- Web Wallet: https://docs.dusk.network/learn/web-wallet/
118+
- Rusk Wallet: https://docs.dusk.network/learn/rusk-wallet/
119+
- Block Explorer: https://docs.dusk.network/learn/block-explorer/
120+
- Staking: https://docs.dusk.network/learn/guides/staking-basics/
121+
- DuskEVM Bridge: https://docs.dusk.network/learn/guides/duskevm-bridge/
122+
123+
## Naming Guidance
124+
125+
Use:
126+
127+
- Dusk for the network/protocol/stack in general contexts.
128+
- DuskDS for the Dusk L1, settlement, consensus, data availability, and native transaction models.
129+
- DuskEVM for the EVM execution layer.
130+
- DuskVM for native WASM smart contract execution.
131+
- Moonlight for public account flows.
132+
- Phoenix for shielded transfer flows.
133+
- Privacy with selective disclosure for regulated privacy patterns.
134+
- Access controls for eligibility, wallet binding, and transfer-rule patterns.
135+
136+
Avoid using “permissioned” to describe Dusk itself. If discussing restricted asset workflows, prefer “access-controlled”, “regulated”, or “eligible participant” unless specifically contrasting with closed permissioned systems.

public/llms.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Dusk Docs
2+
3+
> Dusk is infrastructure for regulated digital assets and general finance. The docs explain how to build, integrate, and operate on Dusk across DuskDS, DuskEVM, DuskVM, Dusk Connect, Citadel, wallets, APIs, and node operations.
4+
5+
## Start Here
6+
7+
- [Overview](https://docs.dusk.network/learn/overview/): high-level introduction to Dusk.
8+
- [Market Infrastructure](https://docs.dusk.network/learn/market-infrastructure/): how Dusk supports regulated asset workflows.
9+
- [Dusk Trade](https://docs.dusk.network/learn/dusk-trade/): product layer for tokenized financial asset workflows on Dusk.
10+
- [Core Components](https://docs.dusk.network/learn/core-components/): DuskDS, Rusk, DuskVM, DuskEVM, Citadel, and application-layer tooling.
11+
- [Core Values](https://docs.dusk.network/learn/core-values/): regulated workflows, access controls, selective disclosure, and deterministic settlement.
12+
- [Native Issuance](https://docs.dusk.network/learn/tokenization-comparison/): digitization, tokenization, and native issuance.
13+
14+
## Developer Docs
15+
16+
- [Build on Dusk](https://docs.dusk.network/developer/overview/): choose between DuskEVM and native Dusk development.
17+
- [Deploy on DuskEVM](https://docs.dusk.network/developer/smart-contracts-dusk-evm/deploy-on-evm/): deploy Solidity contracts on DuskEVM.
18+
- [Smart Contracts on DuskDS](https://docs.dusk.network/developer/smart-contracts-duskds/): write Rust/WASM contracts for native Dusk execution.
19+
- [Dusk Connect](https://docs.dusk.network/developer/integrations/dusk-connect/): integrate wallet discovery and account connection.
20+
- [Dusk Wallet Extension](https://docs.dusk.network/developer/integrations/wallet-extension/): integrate with the first-party browser wallet provider.
21+
- [Transaction Lifecycle](https://docs.dusk.network/developer/integrations/tx-lifecycle/): understand transaction flow.
22+
- [HTTP API](https://docs.dusk.network/developer/integrations/http-api/): integrate with Dusk APIs.
23+
- [W3sper SDK](https://docs.dusk.network/developer/integrations/w3sper/): SDK integration.
24+
25+
## Learn
26+
27+
- [Transaction Models](https://docs.dusk.network/learn/deep-dive/duskds-tx-models/): Moonlight public accounts and Phoenix shielded transfers.
28+
- [DuskEVM](https://docs.dusk.network/learn/deep-dive/dusk-evm/): OP Stack-based EVM execution on Dusk.
29+
- [DuskVM](https://docs.dusk.network/learn/deep-dive/dusk-vm/): WASM execution for native Dusk contracts.
30+
- [Assets & Regulations](https://docs.dusk.network/learn/deep-dive/assets-and-regulations/): regulated asset workflow concepts.
31+
- [Cryptography](https://docs.dusk.network/learn/cryptography/): zero-knowledge proofs and cryptographic building blocks.
32+
33+
## Operators and Tools
34+
35+
- [Operator Overview](https://docs.dusk.network/operator/overview/): run and maintain Dusk infrastructure.
36+
- [Provisioner Node](https://docs.dusk.network/operator/provisioner/): run a provisioner node.
37+
- [Web Wallet](https://docs.dusk.network/learn/web-wallet/): use Dusk in the browser.
38+
- [Block Explorer](https://docs.dusk.network/learn/block-explorer/): inspect public network data.
39+
40+
## Full Context
41+
42+
- [llms-full.txt](https://docs.dusk.network/llms-full.txt): expanded index and terminology for LLM retrieval.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Dusk Connect
3+
description: Integrate Dusk wallet discovery and account connection into applications.
4+
---
5+
6+
Dusk Connect is the wallet integration layer for Dusk applications. It gives dApps a consistent way to discover compatible wallets, request accounts, and build connection flows around Dusk accounts.
7+
8+
Use Dusk Connect when your application needs to:
9+
10+
- detect compatible Dusk wallet providers
11+
- let users select a wallet
12+
- request account access
13+
- handle public and shielded account flows in a consistent UI
14+
- integrate with Dusk wallet software without hardcoding one provider
15+
16+
## Where it fits
17+
18+
Dusk applications often need two kinds of integration:
19+
20+
- **Network integration**: read chain data, submit transactions, and observe events.
21+
- **Wallet integration**: ask a user to connect an account and approve actions.
22+
23+
Dusk Connect is for the wallet side. For network APIs and transaction flow, see [Transaction Lifecycle](/developer/integrations/tx-lifecycle), [HTTP API](/developer/integrations/http-api), and [W3sper SDK](/developer/integrations/w3sper).
24+
25+
If you are testing against the first-party browser wallet, use the [Dusk Wallet Extension](/developer/integrations/wallet-extension) as one compatible provider.
26+
27+
## Typical flow
28+
29+
A dApp integration usually follows this shape:
30+
31+
1. Discover available Dusk wallet providers.
32+
2. Show the user the compatible wallets.
33+
3. Request account access from the selected wallet.
34+
4. Store the active account and provider for the session.
35+
5. Ask the wallet to approve transactions or account actions when needed.
36+
37+
The exact API depends on the version of Dusk Connect you integrate.
38+
39+
## Repository
40+
41+
The Dusk Connect SDK is developed in the Dusk Network GitHub organization:
42+
43+
- <a href="https://github.com/dusk-network/connect" target="_blank" rel="noreferrer">dusk-network/connect</a>
44+
45+
## Read next
46+
47+
- [Dusk Wallet Extension](/developer/integrations/wallet-extension)
48+
- [Web Wallet](/learn/web-wallet)
49+
- [Transaction Lifecycle](/developer/integrations/tx-lifecycle)
50+
- [W3sper SDK](/developer/integrations/w3sper)
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: Dusk Wallet Extension
3+
description: Use the Dusk Wallet browser extension as a first-party wallet for Dusk applications.
4+
---
5+
6+
The Dusk Wallet extension is the first-party browser wallet for Dusk. It gives users a self-custodial wallet in Chrome and Firefox, and gives applications a provider surface for connecting Dusk accounts.
7+
8+
Use the extension when you need:
9+
10+
- a browser wallet for Dusk accounts
11+
- public and shielded account flows
12+
- mainnet, testnet, devnet, or custom node support
13+
- dApp connection through Dusk provider discovery
14+
- a first-party wallet to test Dusk Connect integrations
15+
16+
For users who only need a hosted browser wallet, see [Web Wallet](/learn/web-wallet). For terminal and operator workflows, see [Rusk Wallet](/learn/rusk-wallet).
17+
18+
## How it fits with Dusk Connect
19+
20+
Dusk Connect is the SDK layer for wallet discovery and account connection. The Dusk Wallet extension is one wallet provider that can be discovered through that flow.
21+
22+
A typical dApp flow is:
23+
24+
1. Use Dusk Connect or provider discovery to find available Dusk wallets.
25+
2. Let the user choose the Dusk Wallet extension.
26+
3. Request account access.
27+
4. Ask the wallet to approve account actions or transactions when needed.
28+
29+
See [Dusk Connect](/developer/integrations/dusk-connect) for the SDK-level integration path.
30+
31+
If you are building the application side, start with Dusk Connect. If you are testing or documenting the wallet-provider side, use this page together with the wallet provider API.
32+
33+
## Provider discovery
34+
35+
The extension announces an EIP-1193-style provider through Dusk discovery events. Dusk is not an EVM chain, so wallet methods use Dusk-specific names.
36+
37+
```js
38+
const providers = [];
39+
40+
window.addEventListener("dusk:announceProvider", (event) => {
41+
providers.push(event.detail);
42+
});
43+
44+
window.dispatchEvent(new Event("dusk:requestProvider"));
45+
46+
const dusk = providers[0]?.provider;
47+
const [account] = await dusk.request({ method: "dusk_requestAccounts" });
48+
49+
dusk.on("accountsChanged", console.log);
50+
dusk.on("chainChanged", console.log);
51+
```
52+
53+
For the canonical provider API, see the wallet repository:
54+
55+
- <a href="https://github.com/dusk-network/wallet/blob/main/docs/provider-api.md" target="_blank" rel="noreferrer">Dusk Wallet provider API</a>
56+
57+
## Install for development
58+
59+
The extension builds Chrome and Firefox targets from the same repository.
60+
61+
```bash
62+
git clone https://github.com/dusk-network/wallet
63+
cd wallet
64+
npm install
65+
```
66+
67+
For Chrome:
68+
69+
```bash
70+
npm run build:chrome
71+
```
72+
73+
Then load `dist/` as an unpacked extension in `chrome://extensions` with Developer mode enabled.
74+
75+
For Firefox:
76+
77+
```bash
78+
npm run build:firefox
79+
```
80+
81+
Then load `dist-firefox/` as a temporary add-on in `about:debugging`.
82+
83+
## Repository
84+
85+
- <a href="https://github.com/dusk-network/wallet" target="_blank" rel="noreferrer">dusk-network/wallet</a>
86+
87+
## Read next
88+
89+
- [Dusk Connect](/developer/integrations/dusk-connect)
90+
- [Transaction Lifecycle](/developer/integrations/tx-lifecycle)
91+
- [Web Wallet](/learn/web-wallet)

0 commit comments

Comments
 (0)