We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc5af2 commit 7feb404Copy full SHA for 7feb404
examples/smoldot_read.js
@@ -8,8 +8,8 @@ async function main() {
8
9
// Download the raw chain spec from an RPC node.
10
// Note: The dApps or the actual application should not connect to any external RPC node,
11
- // but should instead use chain specs provided directly.
12
- // 12346 is Bob's validator rpc port, because Alice does not have `bootNodes`.
+ // but should instead use chain specs provided directly.
+ // 12346 is Bob's validator rpc port, because Alice does not have `bootNodes`.
13
const ws = new WsProvider('ws://localhost:12346');
14
const api = await ApiPromise.create({ provider: ws });
15
await api.isReady;
0 commit comments