# Using Geth as an Execution Layer client for Staking

<details>

<summary><img src="https://lh6.googleusercontent.com/gZ7DCQpqveGSzTKNcr-k_t3Wk-jrE61E6mHUOLBFdSfaK0OYWLgVi8P2OMErakMo4XqNJah49l6IPq68mDQEOU8751C1664qZ8PUCAZUfAX_Dbf93ccv74wqiNGLsx3To0EqHeRTCe1NAY5Dq__ezC_tlJGVnjU1OeS01dD9AQMGA6qzo5E8MLlm7g" alt="" data-size="line">   <strong>Prysm Client</strong></summary>

To connect geth pre-synced node to the Prysm client, follow the reference document here.

* Use the following command to start a beacon node that connects to your local execution node:

**`./prysm.sh beacon-chain --http-web3provider=http://YourGethIP:8545 --mainnet`**

</details>

<details>

<summary><img src="https://lh4.googleusercontent.com/VL4PJiF1OAd2PQWiwTzVTkDjbGLZgdpM4VNVy_1wOzlKYPwXx8z8xf43XQl328J1Czx8T7aqJ6BH0NyoX-goiTlj3JAiiVfNMItmgHsoYMaVhQZYZKWvpP74Pagxc7E3IevZuLCcGHD8Xw0Cibb0GpuiKzo7CBQ9HxbGdE5SsVuZ99x-oQnf8SnQfg" alt="" data-size="line">  <strong>Lighthouse client</strong></summary>

To connect geth pre-synced node to the Lighthouse client, follow the reference document here.

* Start the beacon node with the HTTP server listening on http://localhost:8545:

**`lighthouse bn --eth1-endpoints http://YourGethIP:8545`**

</details>

<details>

<summary><img src="https://lh6.googleusercontent.com/p5l_y83y1mvGP3BU8oZBDaNpFMOAQB8mmcAVqJp3EGFCxH_QxY9bhiQlfgaCKl6UJijU9oGOUfhqZDTpfaIOCq5KwK5XXzo0e7tjSgccfT-W9r_C5eoaD1MLxyFNDxxnK9WJat08O2u0NS9a4gid0rD9B7C0GjJhtQorGGwy69BsIk5JHJ0WJD8LNA" alt="" data-size="line">  <strong>Teku client</strong></summary>

To connect geth pre-synced node to the Lighthouse client, follow the reference document here.

* Use the following command to run Teku as a beacon node.

`teku --network=prater --eth1-endpoint=http://YourGethIP:8545`\
`--metrics-enabled --rest-api-enabled`

</details>

