Skip to content

Add node dial API - #46

Merged
snakedye merged 3 commits into
mainfrom
dial-api
Apr 16, 2026
Merged

snakedye merged 3 commits into
mainfrom
dial-api

Conversation

@snakedye

Copy link
Copy Markdown
Owner

Add node dial API to bootstrap the node.

Add RpcRequest::Dial and RpcClient::dial
Implement HelmNode handling to parse Multiaddr and call swarm.dial
Add CLI 'dial' subcommand and cmd_dial that encodes the multiaddr and
uses basic auth
Add axum handler to expose /dial/:multiaddr endpoint
Add dependencies tower-http and urlencoding
Populate NodeInfo.peer_id and attempt a bootstrap dial on startup
Add HELM_BOOTSTRAP_MULTIADDR to .env.template and Config,
parsing it into Config.bootstrap_multiaddr. Remove the CLI
Dial command and the dial API handler. Main now conditionally
dials the configured bootstrap multiaddr at startup (replacing
the previous hardcoded dial)
@snakedye
snakedye merged commit 441aabc into main Apr 16, 2026
1 check passed
@snakedye
snakedye deleted the dial-api branch April 16, 2026 13:19
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