Cover photo

Part 3 - Changing Avail appchain IP to static and submitting a PR on github for avail listing

If you are here then you read my part 2 article, if not you can go back and read it before coming here as it is linked together:

https://mirror.xyz/pnokn.eth/rRSnKIDwTwiVNAuI1LvMyf0B9CFyJ_XA4lr6OyGS7Z8

Let’s get started right away by changing our IP to a static one:

Play Video

Changing IP to static

  • Go to VM instances and click on the name of your VM instance you want to change

post image
  • Click on edit and scroll down to external iPv4 address

Click on edit and the top left
Click on edit and the top left
  • Select Reserve static IP address

Select Reserve Static External IP Address
Select Reserve Static External IP Address
  • Add your specified tag (Keep that in mind); I used avail as tag

Add your specified tag
Add your specified tag
  • Click on Save

Allow Acess to all IPs

  1. In Google Cloud Console, go to "VPC network" and select "Firewall rules."

Search VPC networks
Search VPC networks

2. Click on "Create Firewall Rule."

post image
  • Give your rule a name.

  • Set the "Source IP ranges" to 0.0.0.0/0 to allow traffic from any IP, add a tag which you added to your VM. eg: avail

post image

*

  • Set the "Allowed protocols and ports" to the specific protocols and ports your application requires (e.g., tcp:80 for HTTP).

  • Click "Create" to save the rule.

Creating a PR on github

  • Navigate to the avail listing repository and click on create new file:

Click on create file
Click on create file
  • Generate your UUID with this UUID generator. Use that as your file name (UID.json):

https://www.uuidgenerator.net/version4

  • Copy UUID

Copy UUID
Copy UUID
  • Paste UUID as file name and paste this sample content in the file:

    {
      "name": "Hoodrun",
      "logo": "https://r.resimlink.com/qkPWGUVwSd1T.webp",
      "rpc_url": "http://206.189.8.43:9944",
      "explorer_url": "http://206.189.8.43:4000",
      "metrics_endpoint": "http://206.189.8.43:9615/metrics",
      "id": "f280baa2-7da6-4f6d-96fc-5b89008561d9"
    }
    
Paste sample content in file
Paste sample content in file
  • Now start editing by copying your static IP and replacing with the existing IP. Don’t forget to paste your UUID as ID. You can upload and generate your image url with the link below:

https://imgbb.com/

  • Now click commit changes and choose propose changes:

Click Propose Change
Click Propose Change
  • Click on “create pull request” button

Click create pull request
Click create pull request
  • Use same format in the image below and replace AppchainName with your appchain name

Click on create pull request
Click on create pull request
  • Now click create pull request and make sure it passes the checks and able to merge

post image

THAT’s IT! YOU’VE COME TO A SUCCESSFUL END!!!!