> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tenderly.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Go-Ethereum (geth) - Node RPC Integration

> onchain डेटा पढ़ने और लिखने के लिए gateway endpoint का उपयोग करते हुए go-ethereum (geth) ethclient के साथ एक Go एप्लिकेशन को Tenderly Node RPC से कनेक्ट करें।

[Go-Ethereum](https://goethereumbook.org/en/) ब्लॉकचेन के साथ इंटरैक्ट करने के लिए Go में आधिकारिक Ethereum कार्यान्वयन है। Go-Ethereum, जिसे संक्षेप में *geth* भी कहा जाता है, सबसे लोकप्रिय Ethereum client है। यह Golang का उपयोग करके एप्लिकेशन विकसित करते समय ब्लॉकचेन में पढ़ने और लिखने के लिए हमें जो भी आवश्यक होगा वह सब कुछ प्रदान करता है। इसे gateway endpoint का उपयोग करके [Node RPC](/node-rpc/overview) से कनेक्ट करें, और समर्थित मेथड्स के लिए [JSON-RPC reference](/node-rpc/rpc-reference) देखें।

```go title="client.go" showLineNumbers theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
package main

import (
    "fmt"
    "log"
    "github.com/ethereum/go-ethereum/ethclient"
)

func main() {
    client, err := ethclient.Dial("https://mainnet.gateway.tenderly.co/<TENDERLY_NODE_ACCESS_KEY_MAINNET>")
    if err != nil {
        log.Fatal(err)
    }

    fmt.Println("we have a connection")
    _ = client // we'll use this in the upcoming sections
}
```
