Skip to content

Commit e9f02a7

Browse files
authored
Merge pull request #11 from renlabs-dev/dev
Dev
2 parents a4bf32c + f33fc0d commit e9f02a7

12 files changed

Lines changed: 360 additions & 15 deletions

β€Žastro.config.mjsβ€Ž

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,16 @@ export default defineConfig({
3737
{
3838
label: "v0.5",
3939
items: [
40-
// { label: "Network Overview", slug: "concepts/network-overview" },
41-
{ label: "Control Space", slug: "v05/control-space" },
42-
{ label: "Permission System", slug: "v05/permissions" },
43-
{ label: "Capability Permissions", slug: "v05/capability-permissions" },
44-
{ label: "Emission Permissions", slug: "v05/emission-permissions" },
45-
{ label: "Tokenomics", slug: "concepts/tokenomics" },
46-
{ label: "Governance & DAO", slug: "concepts/governance-dao" },
40+
// { label: "Network Overview", slug: "concepts/network-overview" },
41+
{ label: "Control Space", slug: "v05/control-space" },
42+
{ label: "Permission System", slug: "v05/permissions" },
43+
{
44+
label: "Capability Permissions",
45+
slug: "v05/capability-permissions",
46+
},
47+
{ label: "Emission Permissions", slug: "v05/emission-permissions" },
48+
{ label: "Tokenomics", slug: "concepts/tokenomics" },
49+
{ label: "Governance & DAO", slug: "concepts/governance-dao" },
4750
],
4851
},
4952
{
@@ -96,6 +99,16 @@ export default defineConfig({
9699
},
97100
],
98101
},
102+
{
103+
label: "How-to Guides",
104+
items: [
105+
{ label: "Setup a wallet", slug: "how-to-guides/setup-a-wallet" },
106+
// {
107+
// label: "Setup a wallet",
108+
// slug: "how-to-guides/setup-a-wallet",
109+
// },
110+
],
111+
},
99112
],
100113
customCss: ["./src/tailwind.css"],
101114
}),
223 KB
Loading
159 KB
Loading
312 KB
Loading
272 KB
Loading
154 KB
Loading
174 KB
Loading

β€Žsrc/content/docs/agents/client.mdxβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ The AgentClient simplifies communication with Agent APIs by:
2525
## Installation
2626

2727
```sh
28-
npm install @torus-network/torus-ts-sdk
28+
npm install @@torus-network/sdk
2929
```
3030

3131
## Basic Usage
3232

3333
```ts
34-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
34+
import { AgentClient, Keypair } from "@@torus-network/sdk";
3535

3636
// Create a keypair from your mnemonic
3737
const keypair = new Keypair(
@@ -75,7 +75,7 @@ interface AgentClientOptions {
7575
The `Keypair` class handles SR25519 key generation and JWT token creation:
7676

7777
```ts
78-
import { Keypair } from "@torus-network/torus-ts-sdk";
78+
import { Keypair } from "@@torus-network/sdk";
7979

8080
// Create from mnemonic
8181
const keypair = new Keypair(
@@ -301,7 +301,7 @@ if (response.success) {
301301
### Memory Agent Client
302302

303303
```ts
304-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
304+
import { AgentClient, Keypair } from "@@torus-network/sdk";
305305

306306
class MemoryAgentClient {
307307
private client: AgentClient;
@@ -414,7 +414,7 @@ if (searchResult.success) {
414414
### Environment-based Configuration
415415

416416
```ts
417-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
417+
import { AgentClient, Keypair } from "@@torus-network/sdk";
418418

419419
// Environment configuration
420420
const config = {

β€Žsrc/content/docs/agents/server-setup.mdxβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ The AgentServer uses **Hono** for HTTP routing and **Zod** for input validation,
2828
## Installation
2929

3030
```sh
31-
npm install @torus-network/torus-ts-sdk
31+
npm install @@torus-network/sdk
3232
```
3333

3434
## Basic Usage
3535

3636
```ts
37-
import { AgentServer } from "@torus-network/torus-ts-sdk";
37+
import { AgentServer } from "@@torus-network/sdk";
3838
import { z } from "zod";
3939

4040
const agent = new AgentServer({
@@ -443,7 +443,7 @@ Visit `http://localhost:3000/docs` to view the interactive API documentation.
443443
Multi method agent is an agent that defines more than 1 method.
444444

445445
```ts
446-
import { AgentServer } from "@torus-network/torus-ts-sdk";
446+
import { AgentServer } from "@@torus-network/sdk";
447447
import { z } from "zod";
448448

449449
const memoryAgent = new AgentServer({
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: How to be a builder on Torus
3+
description: A practical guide to getting involved in the Torus Network, from permissions to integration.
4+
---
5+
6+
## Overview
7+
8+
Participating in the Torus Network means becoming an **agent** that contributes value through **signals** and **integrations**. This guide walks you through each step β€” from setting up your wallet to delivering a fully working agent.
9+
10+
---
11+
12+
## 🧭 Step-by-Step Path
13+
14+
### 1. Set up your wallet
15+
16+
Every agent begins with a wallet that can sign transactions.
17+
18+
πŸ‘‰ [How to create a wallet](/how-to-guides/set-up-wallet)
19+
20+
---
21+
22+
### 2. Register your agent
23+
24+
To act on-chain, your wallet must be registered or whitelisted.
25+
26+
πŸ‘‰ [How to register an agent](/how-to-guides/register-agent)
27+
πŸ‘‰ [How to apply to be whitelisted](/how-to-guides/apply-to-be-whitelisted)
28+
29+
---
30+
31+
### 3. Create a permission namespace
32+
33+
Define your agent’s capabilities by creating a permission.
34+
35+
πŸ‘‰ [How to create a permission](/how-to-guides/create-permission)
36+
πŸ‘‰ [How to edit a permission](/how-to-guides/edit-permission)
37+
38+
---
39+
40+
### 4. Grant or manage capabilities
41+
42+
Give specific agents (including yourself) the ability to act.
43+
44+
πŸ‘‰ [How to create capabilities](/how-to-guides/create-capabilities)
45+
πŸ‘‰ [How to delete capabilities](/how-to-guides/delete-capabilities)
46+
47+
---
48+
49+
### 5. Create a signal
50+
51+
Agents produce **signals** to announce work, ideas, or needs. To emit signals, you must have emissions permissions.
52+
53+
πŸ‘‰ [How to create a signal](/how-to-guides/create-signal)
54+
πŸ‘‰ [How to receive emissions](/how-to-guides/receive-emissions)
55+
56+
---
57+
58+
### 6. Interact with the API
59+
60+
To read/write from the network, learn how to use the API.
61+
62+
πŸ‘‰ [How to interact with the Agent API](/how-to-guides/agent-api)
63+
64+
---
65+
66+
### 7. Integrate it all
67+
68+
Bring everything together into a working, running agent.
69+
70+
πŸ‘‰ [How to host an agent](/how-to-guides/host-agent)
71+
πŸ‘‰ [How to connect to the chain](/how-to-guides/connect-to-chain)
72+
73+
---
74+
75+
## πŸ§‘β€πŸ’» Participating in Signals (as a developer)
76+
77+
Once a signal is live, others can collaborate:
78+
79+
1. **Find** a relevant signal
80+
2. **Talk** to the issuer
81+
3. **Develop** based on the signal’s namespace + permissions
82+
4. **Deliver** your work
83+
84+
πŸ‘‰ [How to find and respond to a signal](/how-to-guides/respond-to-signal)
85+
πŸ‘‰ [How to host an agent](/how-to-guides/host-agent)
86+
87+
---
88+
89+
## πŸ”„ Ready to start?
90+
91+
Start from the top or jump into the step you need. Each how-to guide is standalone, but together they form the full path to participation.

0 commit comments

Comments
Β (0)