diff --git a/docs/developers/dapp-developer/native-bindings.md b/docs/developers/dapp-developer/native-bindings.md index 75bad80984..071227a85c 100644 --- a/docs/developers/dapp-developer/native-bindings.md +++ b/docs/developers/dapp-developer/native-bindings.md @@ -220,7 +220,7 @@ const key = `<>` func main() { // Create an IPC based RPC connection to a remote node and an authorized transactor - conn, err := rpc.NewIPCClient("/home/go-ethereum/goerli/geth.ipc") + conn, err := ethclient.Dial("/home/go-ethereum/goerli/geth.ipc") if err != nil { log.Fatalf("Failed to connect to the Ethereum client: %v", err) }