description: Integrate Polygon with Zeeve’s platform using our API and tools. Our documentation provides technical details on authentication, making requests and handling responses for interacting with Polygon and the Zeeve platform.

meta:

  • name: robots content: noindex


Polygon Dedicated Node Setup

This section will guide you about different actions you can perform for Polygon

  1. Dedicated nodes

  2. Api endpoints

Dedicated nodes

  1. Create network

  2. Add a node

  3. Delete a node

  4. Delete network

Create a network

This section will provide you with detailed steps for creating a network of Polygon.


NOTE Please make sure to follow the steps mentioned earlier before proceeding.


On the Network Configuration page you will have different cards with different network configurations for Polygon, which looks similar to the image provided below.

img


NOTE: These cards can be different for your case. Card configurations totally depend on your purchased subscription.


You can Choose Managed-AWS (Zeeve’s managed hosting) for the infrastructure of your node or you can use your own cloud account (AWS/DO) for hosting your node.

Choose the configuration you want. Click on the card and follow the steps accordingly.

  1. Network Info Clicking on the card you will be landed on a page similar to the below image. In this section, we have to provide network-related information for ex- Network Name, Network type, etc.

img

  • Name of Network: In order to uniquely identify your network, this field requires a unique name for it. Unique over here is in terms of the account in which you are creating your network. In case you have created some network earlier, and now you are trying to create with the same name, then the Zeeve platform won’t allow you to create it.

  • Deployment Type: Deployment type

  • Type Of Network

    • MainNet: This will deploy your network on the network mainnet. This is suggested for deploying production-grade Polygon dapps.

    • TestNet: This will deploy your network on the network testnet. you can use this for your non-production needs like testing or demonstrations.

  • Workspace: This represents the workspace in which the network will be added after successful creation.

After providing all the details correctly go to the next step by clicking on the Next Step button.

  1. Node Configuration

In this section, you have to fill in the details of the nodes you want to add to your network.

img

  • Username & Password: Choose the username and password of your choice. These will be used as RPC API credentials.

  • Email: Fill email of yours.

  • Node Name: In order to identify your nodes, this field will be used.

  • Rpc Server: RPC, which stands for “Remote Procedure Call,” is a group of protocols and interfaces that let us talk to the blockchain system. Through the RPC interface, we can ask for information about the blockchain (such as block number, blocks, node connection, etc.) and send a request for a transaction. > * HTTP: Uses individual HTTP requests and responses for each call, similar to a RESTful API. > * ws: WebSocket uses a persistent connection that allows the server to push data to the client.

  • JSON RPC APIs: JSON RPC API is a bridge that allows dApps to connect to nodes.

After providing the details click on Next step to go to the last step.

  1. Cloud Configuration

This is the step for the configuration of the cloud for your nodes. This step can be different based on your selection of Network configuration cards

  1. Manged - AWS

  2. BYOC - AWS

  3. BYOC - DO


Managed - AWS


In the case of Managed - AWS, you don’t have to bother about anything, just select the region for the network by clicking on Select Region.

img

  • Region: It indicates the region of cloud service. These regions are the geographic locations where your network instances are going to be hosted. In the case of AWS, each of its regions has multiple, isolated locations known as Availability Zones. Amazon RDS provides you the ability to place resources, such as instances, and data in multiple locations. Resources aren’t replicated across AWS Regions unless you do so specifically. Ref.


BYOC - AWS


In the case of BYOC - AWS, select the region for the network by clicking on Select Region, select the AWS account you want to use by clicking on Select Cloud Account, also choose the instance type as your requirement by clicking on Select Instance Type.

img

  • Region: It indicates the region of cloud service. These regions are the geographic locations where your network instances are going to be hosted. In the case of AWS, each of its regions has multiple, isolated locations known as Availability Zones. Amazon RDS provides you the ability to place resources, such as instances, and data in multiple locations. Resources aren’t replicated across AWS Regions unless you do so specifically. Ref.

  • Cloud Account: It represents the AWS cloud account that is going to be used for network creation.

  • Type of Instance: It defines the combination of CPU cores and memory. Choose the configuration which could handle loads of your network. This parameter is useful for scaling up the network. The type of Instances may vary from cloud to cloud.


BYOC - DO


In the case of BYOC - DO, select the region for the network by clicking on Select Region, select the Digital Ocean account you want to use by clicking on Select Cloud Account, also choose the instance type as your requirement by clicking on Select Instance Type.

img

  • Region: It indicates the region of cloud service. These regions are the geographic locations where your network instances are going to be hosted. In the case of AWS, each of its regions has multiple, isolated locations known as Availability Zones. Amazon RDS provides you the ability to place resources, such as instances, and data in multiple locations. Resources aren’t replicated across AWS Regions unless you do so specifically. Ref.

  • Cloud Account: It represents the AWS cloud account that is going to be used for network creation.

  • Type of Instance: It defines the combination of CPU cores and memory. Choose the configuration which could handle loads of your network. This parameter is useful for scaling up the network. The type of Instances may vary from cloud to cloud.

  1. Click on the Create button. A pop-up window will appear similar to the below image, which ensures the successful creation of your network.

    img

  2. Click on continue and you will be redirected to a page similar to the below image where you can see the nodes listed you’ve just added to the network.

Add node to a network

This section will guide you on how you can add a node to a network.

  1. Select the network to which you want to add a node, and click on the network card Ref.. You will get to see similar to the below image.

    img

  2. Click on the Actions button on the top right, and select the Add Node option. You will get to see a web page similar to that provided below.

    img

  3. Fill in the details for the new node and click on the Next button. In this step, the cloud configuration and region will be prefilled according to the configuration of the network. Click on the Create button and it’s done!

    img

Delete node in a network

  1. Select the network, you want to perform the deleted node to, and click on the network card Ref.. You will get to see similar to the below image.

    img

  2. Click on the delete icon present alongside the node. A pop-up window will open for the confirmation, click on the yes button to confirm.

Delete a network

  1. Select the network you want to delete, and click on the network cardRef.. You will get to see similar to the below image.

    img

  2. Click on the Actions button on the top right, and select the Delete Network option. A confirmation window will open, click on the Yes button, attached to it.

    img


NOTE It can take a few minutes to delete a network.