Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relay join hub and create service #407

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

wujian0327
Copy link
Contributor

changelog:

  1. add new function to join a ztm mesh in ztm module
  2. add new function to create service in ztm module
  3. relay now can join mesh and create service by http request
  4. optimized some code

for example:

  1. change ztm config in config.toml
  2. cargo run --bin mega service relay --host 0.0.0.0
  3. GET http://127.0.0.1:8001/api/v1/certificate?name=relay to get permit json
  4. POST http://127.0.0.1:8001/api/v1/relay_init with permit json to join mesh and create service

like this
image
image

Copy link

vercel bot commented May 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 3:57am

@genedna genedna added this pull request to the merge queue May 31, 2024
Merged via the queue into web3infra-foundation:main with commit ee12ae3 May 31, 2024
4 checks passed
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.

2 participants