Skip to content

feat: devnet examples for ant-gui E2E testing#29

Closed
Nic-dorman wants to merge 2 commits intomainfrom
feat/devnet-examples
Closed

feat: devnet examples for ant-gui E2E testing#29
Nic-dorman wants to merge 2 commits intomainfrom
feat/devnet-examples

Conversation

@Nic-dorman
Copy link
Copy Markdown
Contributor

Summary

  • Updated start-local-devnet: 25 nodes (was 5), writes manifest to ant-gui config dir, 8MB thread stack for Windows, cleanup on Ctrl+C
  • New start-devnet-sepolia: 25 nodes with ArbitrumSepoliaTest EVM, uses existing deployed Sepolia contracts

Both examples write devnet-manifest.json to ~/.config/autonomi/ant-gui/ that ant-gui auto-detects on startup.

Usage

# Local Anvil devnet
cargo run --release --example start-local-devnet

# Sepolia devnet (needs funded wallet for uploads)
cargo run --release --example start-devnet-sepolia

Test plan

  • start-local-devnet starts 25 nodes + Anvil, manifest written
  • start-devnet-sepolia starts 25 nodes on Sepolia, manifest written
  • ant-gui detects manifest and enters devnet/Sepolia mode
  • Ctrl+C cleans up manifest file

🤖 Generated with Claude Code

Nic-dorman and others added 2 commits April 7, 2026 17:38
- Updated start-local-devnet: 25 nodes (was 5), writes manifest to
  ant-gui config dir, 8MB thread stack for Windows, cleanup on Ctrl+C
- New start-devnet-sepolia: 25 nodes with ArbitrumSepoliaTest EVM,
  uses existing deployed Sepolia contracts, writes manifest for GUI

Both examples write devnet-manifest.json that ant-gui auto-detects
on startup to configure bootstrap peers and EVM contract addresses.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Nic-dorman
Copy link
Copy Markdown
Contributor Author

Closing — writing the manifest to ant-gui's config dir couples ant-core to a specific GUI app. Moving to a shared manifest location in ant-core's data directory instead (see WithAutonomi/ant-ui for the consumer-side PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant