@clawlabz/clawnetwork 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts CHANGED
@@ -23,9 +23,11 @@ const MAX_RESTART_ATTEMPTS = 3
23
23
  const BOOTSTRAP_PEERS: Record<string, string[]> = {
24
24
  mainnet: [
25
25
  '/ip4/178.156.162.162/tcp/9711',
26
+ '/ip4/39.102.144.231/tcp/9711',
26
27
  ],
27
28
  testnet: [
28
29
  '/ip4/178.156.162.162/tcp/9721',
30
+ '/ip4/39.102.144.231/tcp/9721',
29
31
  ],
30
32
  devnet: [], // local dev, no bootstrap
31
33
  }
@@ -1710,7 +1712,7 @@ async function handle(req, res) {
1710
1712
  if (cfg.syncMode) syncMode = cfg.syncMode;
1711
1713
  if (cfg.extraBootstrapPeers) extraPeers = cfg.extraBootstrapPeers;
1712
1714
  } catch {}
1713
- const bootstrapPeers = { mainnet: ['/ip4/178.156.162.162/tcp/9711'], testnet: ['/ip4/178.156.162.162/tcp/9721'], devnet: [] };
1715
+ const bootstrapPeers = { mainnet: ['/ip4/178.156.162.162/tcp/9711', '/ip4/39.102.144.231/tcp/9711'], testnet: ['/ip4/178.156.162.162/tcp/9721', '/ip4/39.102.144.231/tcp/9721'], devnet: [] };
1714
1716
  const peers = [...(bootstrapPeers[network] || []), ...extraPeers];
1715
1717
  const args = ['start', '--network', network, '--rpc-port', String(RPC_PORT), '--p2p-port', String(p2pPort), '--sync-mode', syncMode, '--allow-genesis'];
1716
1718
  for (const peer of peers) { args.push('--bootstrap', peer); }
@@ -2,7 +2,7 @@
2
2
  "id": "clawnetwork",
3
3
  "name": "ClawNetwork Node",
4
4
  "description": "Run a ClawNetwork blockchain node inside OpenClaw. Every agent is a node.",
5
- "version": "0.1.0",
5
+ "version": "0.1.10",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawlabz/clawnetwork",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Run a ClawNetwork blockchain node inside OpenClaw. Every agent is a blockchain node.",
5
5
  "type": "module",
6
6
  "license": "MIT",