Skip to content

Instantly share code, notes, and snippets.

@rBurgett
Last active January 23, 2023 20:01
Show Gist options
  • Save rBurgett/f4cfb0a9180d20b7c1a792c851b0f1eb to your computer and use it in GitHub Desktop.
Save rBurgett/f4cfb0a9180d20b7c1a792c851b0f1eb to your computer and use it in GitHub Desktop.
Community Chains Gateway Providers

Provider Story:

  • Provider contacts us and gives us
    • email address
    • pokt address
    • for each gateway
      • public IP address of gateway server
      • each supported chain ID and accompanying local endpoint e.g. http://10.10.0.1:9500.
      • SSH login (w/ sudo privileges) via port 39889
      • Direct public ports from 39880-39888 to the gateway server
  • We create a provider account for them which includes
    • email
    • poktAddress
    • key
  • We create rpc gateway endpoints in the database for them using the data they provided plus a ZeroTier IP address
  • We log in and provision the gateway server
    • We install dependencies
    • We configure firewall
    • We connect it to ZeroTier
    • We initialize the gateway
    • We add the gateway information to the config
      • id
      • region
      • providerId
      • providerKey
      • httpPort
      • hostIp
      • controlPort
  • Test the gateway server and endpoints (some automated way)
  • Enable the gateway (start routing to it via AWS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment