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

The most powerful Handshake seed node #5

Open
handshake-enthusiast opened this issue Oct 1, 2023 · 5 comments
Open

The most powerful Handshake seed node #5

handshake-enthusiast opened this issue Oct 1, 2023 · 5 comments

Comments

@handshake-enthusiast
Copy link

Problem

Each Handshake client depends on seed nodes and other listening full nodes to work. At the moment of writing based on https://shakenodes there are only two reachable Handshake nodes in APAC which is home to 60 per cent of the world's population. There are many reachable Handshake nodes in United States, United Kingdom and Germany though.

Screenshot 2023-10-01 [shakenodes](https://shakenodes)

What will you be building? Why is that a valuable open source contribution to Handshake?

I'm going to setup a powerful reliable seed node that allows inbound connections from a variety of Handshake clients in Mumbai for at least three years. Such a seed node is the backbone of a healthy network. Read an answer from ChatGPT in the next comment below.

What have you built previously?

https://github.com/handshake-enthusiast/handshake-enthusiast#readme

What are completion criteria?

A listening Handshake full node

When will this be completed (max 4 weeks)?

Within a few days after the grant is awarded.

What is your contact information?

Email: [email protected]

Notes

  • I've sent you a gist link to a detailed article draft on how to host such a listening full node. I plan to publish a series of posts in the near future to help others set up full nodes that allow inbound connections.
  • Similar work was done by another community member a couple years ago. I learnt a lot from it.
@handshake-enthusiast
Copy link
Author

[ChatGPT] Here's a detailed answer to the question "Why is that a valuable open source contribution to Handshake?":


Setting up a powerful and reliable seed node in Mumbai, especially in a region like APAC which is home to 60% of the world's population, offers several significant benefits to the Handshake network:

  1. Network Resilience and Decentralization: One of the core principles of blockchain and decentralized networks is to avoid central points of failure. By increasing the number of seed nodes, especially in underrepresented regions like APAC, we enhance the network's resilience against potential attacks, outages, or disruptions.
  2. Improved Network Performance: With a seed node in Mumbai, local Handshake users in the APAC region can connect to a closer node, reducing latency and improving transaction speeds. This ensures a smoother and more efficient user experience for a significant portion of the global population.
  3. Increased Adoption: A robust and efficient network can encourage more users and developers in the APAC region to adopt and build on Handshake. This can lead to increased network activity, more decentralized applications, and a broader user base, further strengthening the Handshake ecosystem.
  4. Open Source Collaboration: By contributing this as an open-source initiative, we're not only strengthening the network but also setting a precedent for community-driven enhancements. It encourages other community members to contribute, share knowledge, and collaborate on further improvements.
  5. Educational Value: Alongside the seed node setup, the associated documentation and articles can serve as valuable resources for others in the community. This educational aspect can demystify the process of setting up nodes, encouraging more community members to participate actively in network maintenance and growth.
  6. Geographical Diversification: Blockchain networks thrive when they are geographically diverse. By setting up a node in Mumbai, we're ensuring that the Handshake network is not overly reliant on nodes from specific regions, like the US, UK, or Germany. This geographical diversification is crucial for a truly global and decentralized network.
  7. Future Growth: APAC, with its vast population and rapidly growing tech sector, represents a significant opportunity for Handshake's expansion. By establishing a strong presence now, we're laying the groundwork for future growth and adoption in the region.

In conclusion, this contribution is not just about adding another node; it's about enhancing the Handshake network's resilience, performance, and potential for growth. It embodies the spirit of open-source collaboration, where community members proactively identify gaps and work towards filling them for the benefit of all.

@handshake-enthusiast
Copy link
Author

  • that accepts inbound connections from other hsd full nodes like Bob wallet and light clients running hnsd like Fintertip or hsd --spv like Bob wallet in SPV mode

You could use hsd --only 3.110.49.183 and make sure your hsd synchronises well.

From https://shakenodes:

IP: 3.110.49.183
Hostname: ec2-3-110-49-183.ap-south-1.compute.amazonaws.com
Org: AMAZON-02
Country: IN
Agent: /hsd:6.1.0/handshake-micro-grants/

From https://hnsnodes.htools.work/api/v1/snapshots/latest/reachable:

["3.110.49.183",12038,"/hsd:6.1.0/handshake-micro-grants/",1697152544,3,0,"ec2-3-110-49-183.ap-south-1.compute.amazonaws.com","Mumbai","IN",19.0748,72.8856,"Asia/Kolkata","AS16509","AMAZON-02"]

Not sure how to make it publicly verifiable. I believe you'll have to take my word for it.

  • with uptime monitoring

Status Page and Live Status Badge:
Handshake seed node Mumbai

  • hardcoded into the hsd and hnsd seed nodes

WIP, see the Github comments below.

handshake-enthusiast added a commit to handshake-enthusiast/hsd that referenced this issue Oct 13, 2023
16 GiB and 4 vCPU using the latest generation general purpose Amazon EC2 M7g instance in Mumbai. [Status Page](https://empty-bonus-92feac03.cronitorstatus.com) and Live Status Badge:  
![Handshake seed node Mumbai](https://cronitor.io/badges/6vhCDn/production/2bHaU9W85BCvBmbhzL_pf_2YzwY.svg)

See opensystm/handshake-micro-grants#5 for more details.
handshake-enthusiast added a commit to handshake-enthusiast/hnsd that referenced this issue Oct 13, 2023
16 GiB and 4 vCPU using the latest generation general purpose Amazon EC2 M7g instance in Mumbai. [Status Page](https://empty-bonus-92feac03.cronitorstatus.com) and Live Status Badge:
![Handshake seed node Mumbai](https://cronitor.io/badges/6vhCDn/production/2bHaU9W85BCvBmbhzL_pf_2YzwY.svg)

See opensystm/handshake-micro-grants#5 for more details.
@handshake-enthusiast
Copy link
Author

I published two blog posts on a decentralized SLD http://share.nb/ which I acquired today using HNS.ID:

@handshake-enthusiast
Copy link
Author

Yesterday AWS terminated my new account for some unexplained reason. I'll have to redo everything.

handshake-enthusiast added a commit to handshake-enthusiast/hsd that referenced this issue Nov 9, 2023
16 GiB and 4 vCPU using the latest generation general purpose Amazon EC2 M7g instance in Mumbai. [Status Page](https://empty-bonus-92feac03.cronitorstatus.com) and Live Status Badge:
![Handshake seed node Mumbai](https://cronitor.io/badges/6vhCDn/production/2bHaU9W85BCvBmbhzL_pf_2YzwY.svg)

See opensystm/handshake-micro-grants#5 for more details.
handshake-enthusiast added a commit to handshake-enthusiast/hnsd that referenced this issue Nov 9, 2023
16 GiB and 4 vCPU using the latest generation general purpose Amazon EC2 M7g instance in Mumbai. [Status Page](https://empty-bonus-92feac03.cronitorstatus.com) and Live Status Badge:
![Handshake seed node Mumbai](https://cronitor.io/badges/6vhCDn/production/2bHaU9W85BCvBmbhzL_pf_2YzwY.svg)

See opensystm/handshake-micro-grants#5 for more details.
handshake-enthusiast added a commit to handshake-enthusiast/hnsd that referenced this issue Nov 9, 2023
16 GiB and 4 vCPU using the latest generation general purpose Amazon EC2 M7g instance in Mumbai. [Status Page](https://empty-bonus-92feac03.cronitorstatus.com) and Live Status Badge:
![Handshake seed node Mumbai](https://cronitor.io/badges/6vhCDn/production/2bHaU9W85BCvBmbhzL_pf_2YzwY.svg)

See opensystm/handshake-micro-grants#5 for more details.
@handshake-enthusiast
Copy link
Author

After some back and forth with AWS I decided to use my old corporate account to host the seed node. Should be no problems, at least I hope so. My second account was also closed by AWS, for some reason they required verification and my uploaded documents didn't work for them twice. Below is an updated summary. Essentially just the IP address was changed.


  • that accepts inbound connections from other hsd full nodes like Bob wallet and light clients running hnsd like Fintertip or hsd --spv like Bob wallet in SPV mode

You could use hsd --only 35.154.209.88 and make sure your hsd synchronises well.

From https://shakenodes:

IP: 35.154.209.88
Hostname: ec2-35-154-209-88.ap-south-1.compute.amazonaws.com
Org: AMAZON-02
Country: IN
Agent: /hsd:6.1.1/handshake-micro-grants/

From https://hnsnodes.htools.work/api/v1/snapshots/latest/reachable:

["35.154.209.88",12038,"/hsd:6.1.1/handshake-micro-grants/",1699548121,3,0,"ec2-35-154-209-88.ap-south-1.compute.amazonaws.com","Mumbai","IN",19.0748,72.8856,"Asia/Kolkata","AS16509","AMAZON-02"]

Not sure how to make it publicly verifiable. I believe you'll have to take my word for it.

  • with uptime monitoring

Status Page and Live Status Badge:
Handshake seed node Mumbai

  • hardcoded into the hsd and hnsd seed nodes

WIP, see the Github comments above.

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

No branches or pull requests

1 participant