-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevelopers.ts
More file actions
189 lines (185 loc) · 4.51 KB
/
developers.ts
File metadata and controls
189 lines (185 loc) · 4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
// RPC Endpoint structure
interface RpcEndpoint {
readonly provider: string;
readonly urls: readonly string[];
}
// Chain with multiple RPC endpoints
interface ChainEndpoints {
readonly name: string;
readonly network: string;
readonly endpoints: readonly RpcEndpoint[];
}
// Faucet structure
interface FaucetInfo {
readonly name: string;
readonly description: string;
readonly url: string;
readonly networks: readonly string[];
}
// Developers page content structure
interface DevelopersPageContent {
readonly hero: {
readonly title: string;
readonly description: string;
readonly badge: string;
};
readonly faucet: {
readonly title: string;
readonly description: string;
readonly faucets: readonly FaucetInfo[];
};
readonly rpcEndpoints: {
readonly title: string;
readonly description: string;
readonly chains: readonly ChainEndpoints[];
};
}
export const DEVELOPERS_PAGE_CONTENT = {
hero: {
title: "Developer Portal",
description:
"Everything you need to build, test, and deploy on Paseo testnet. Access RPC endpoints, download chain specs, and explore comprehensive documentation.",
badge: "For Developers",
},
faucet: {
title: "Get Test Tokens",
description:
"Request free PAS tokens to start building and testing your applications on Paseo testnet.",
faucets: [
{
name: "Polkadot Faucet",
description:
"Official faucet for Paseo testnet. Get PAS tokens instantly via Matrix authentication.",
url: "https://faucet.polkadot.io/",
networks: [
"Paseo Relay Chain",
"Asset Hub",
"Bridge Hub",
"Coretime",
"People",
"Collectives",
],
},
],
},
rpcEndpoints: {
title: "RPC Endpoints",
description:
"Connect to Paseo network instantly using these public RPC endpoints. All endpoints are free to use for development and testing.",
chains: [
{
name: "Paseo Relay Chain",
network: "paseo",
endpoints: [
{ provider: "IBP Network", urls: ["wss://rpc.ibp.network/paseo"] },
{ provider: "Dwellir", urls: ["wss://paseo-rpc.n.dwellir.com"] },
{ provider: "Dotters", urls: ["wss://paseo.dotters.network"] },
{ provider: "Amforc", urls: ["wss://paseo.rpc.amforc.com"] },
{ provider: "Stakeworld", urls: ["wss://pas-rpc.stakeworld.io"] },
],
},
{
name: "Asset Hub",
network: "asset-hub",
endpoints: [
{
provider: "IBP Network",
urls: ["wss://sys.ibp.network/asset-hub-paseo"],
},
{
provider: "Dwellir",
urls: ["wss://asset-hub-paseo-rpc.n.dwellir.com"],
},
{
provider: "Dotters",
urls: ["wss://asset-hub-paseo.dotters.network"],
},
{
provider: "Stakeworld",
urls: ["wss://pas-rpc.stakeworld.io/assethub"],
},
{
provider: "Turboflakes",
urls: ["wss://sys.turboflakes.io/asset-hub-paseo"],
},
],
},
{
name: "Bridge Hub",
network: "bridge-hub",
endpoints: [
{
provider: "IBP Network",
urls: ["wss://sys.ibp.network/bridgehub-paseo"],
},
{
provider: "Dotters",
urls: ["wss://bridge-hub-paseo.dotters.network"],
},
],
},
{
name: "Coretime",
network: "coretime",
endpoints: [
{
provider: "IBP Network",
urls: ["wss://sys.ibp.network/coretime-paseo"],
},
{
provider: "Dotters",
urls: ["wss://coretime-paseo.dotters.network"],
},
],
},
{
name: "People",
network: "people",
endpoints: [
{
provider: "IBP Network",
urls: ["wss://sys.ibp.network/people-paseo"],
},
{ provider: "Dotters", urls: ["wss://people-paseo.dotters.network"] },
{ provider: "Amforc", urls: ["wss://people-paseo.rpc.amforc.com"] },
],
},
{
name: "Collectives",
network: "collectives",
endpoints: [
{
provider: "Dotters",
urls: ["wss://collectives-paseo.dotters.network"],
},
{
provider: "Amforc",
urls: ["wss://collectives-paseo.rpc.amforc.com"],
},
],
},
{
name: "Eth Asset Hub",
network: "eth-asset-hub",
endpoints: [
{
provider: "Dotters",
urls: ["https://eth-asset-hub-paseo.dotters.network"],
},
{
provider: "Polkadot Hub",
urls: ["https://services.polkadothub-rpc.com/testnet"],
},
{
provider: "IBP",
urls: ["http://eth-asset-hub-paseo.ibp.network/"],
},
{
provider: "Polkadot",
urls: ["https://eth-rpc-testnet.polkadot.io/"],
},
],
},
],
},
} as const satisfies DevelopersPageContent;