Comment on page
One Click Mirror Node Deployment
Deploy your own mirror node with just a few clicks! The Hedera Mirror Node is open-source software and does not carry an associated license or deployment fee. However, users are responsible for paying for the compute resource used, the data retrieved from Google Cloud Storage buckets, and any other Google Cloud Platform services used during this deployment.
► Before you proceed to the next step, obtain the GCP requester pay information:
In this step, you will generate your Google Cloud Platform HMAC access keys. These keys are needed to authenticate requests between your machine and Google Cloud Storage. They are similar to a username and password. Follow these steps to retrieve your access key, secret, and project ID:
- From the left navigation bar, select Cloud Storage > Settings.
- Click the Interoperability tab and scroll down to the User account HMAC section.
- If you don't already have a default project set, set it now.
- Click create keys to generate access keys for your account.
- Importer GCP access key
- Importer GCS bucket name
- Mainnet: hedera-mainnet-streams
- Testnet: hedera-stable-testnet-streams-2020-08-27
- Importer GCP billing project ID
- Importer GCP secret key
Use the following terminal commands:
GRPC_IP=$(kubectl get service/hedera-mirror-node-1-grpc -n default -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
grpcurl -plaintext "${GRPC_IP}:5600" list
For the REST API, use these terminal commands:
REST_IP=$(kubectl get service/hedera-mirror-node-1-rest -n default -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
curl -s "http://${REST_IP}/api/v1/transactions?limit=1"
Alternatively, you can also submit a
get
request from your browser:- From your Kubernetes Engine navigation bar, click on "Workloads."
- Click on "hedera-mirror-node-1-rest"
- Navigate down to "Exposing services" and click on the "Endpoints" link
Example
GET
request:http://<yourEndpoint>/api/v1/transactions
Last modified 6mo ago