Ether.fi 백서

Ether.fi

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 61쪽 중 30쪽

ADVANCED OPTIONS` make sure the toggle for `Bypass only signed safe restriction` is on so that the package can be installed. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FCT0QhE1L2O1RNYquzbeX%2Fimage.png?alt=media&amp;token=cf2b08d1-9ceb-4ca0-9f17-e69b87ba121c" alt=""><figcaption></figcaption></figure> Skip all the questions during installation without filling out any fields. After installation is finished, navigate to the Obol Package and click on the tab BACKUP. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F2aVlvXypHEJRluVSK7vA%2Fphoto_2024-01-14%2011.53.19.jpeg?alt=media&amp;token=5779075d-6eb1-4fe7-bedc-7d247e4fd890" alt=""><figcaption></figcaption></figure> Click "Backup Now", which will download a file with a `.tar.xz` ending. Expand the file and you should see the following contents. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FbMuTXoembHuoO52bw0Dr%2Fphoto_2024-01-14%2011.55.37.jpeg?alt=media&amp;token=42302b8f-e1cf-43cf-9127-0460668bb102" alt=""><figcaption></figcaption></figure> Delete all files from the `charon1` directory. Now expand the keyshare file you received from ether.fi and put all the contents into the `charon1` directory. Open the `cluster-lock.json` file and find the `operators` array and find your operator entry. The file you received will have the number of your node in the cluster. Keep in mind that the first node is node0, so node3 would be the fourth operator in the array for example. Next, create a file called `enr` (just `enr` without a file ending). Open the `enr` file in a text editor and paste your enr text from the operator array in the `cluster-lock.json`. Save the file and exit. Your contents should now look like the following: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F7lBeb0aafQRu1NpLTelT%2Fphoto_2024-01-14%2011.55.02.jpeg?alt=media&amp;token=bb60a203-a501-43c7-a218-a05903ab6d10" alt=""><figcaption></figcaption></figure> Only `charon1` has changed. The other folders have to stay unchanged. Now you have to pack all the charon folders back to a `.tar.xz` file. This is different on all OSs but on Linux and macOS, you can do the following in the Terminal: ``` cd directory-with-charon-folders tar -cvf obol-backup.tar ./ xz obol-backup.tar ``` On macOS you might need to install the xz package with Homebrew: <https://formulae.brew.sh/formula/xz> After those commands, you should see an `obol-backup.tar.xz`. You will need it in the next step. Open the Dappnode interface again and go to packages. Make sure to start the package "Obol", as the containers should be stopped right now. You need to be fast with the next step, as otherwise the Obol package will exit again and you need to start it again before continuing. Next, navigate to the Obol packages Backup tab. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F2aVlvXypHEJRluVSK7vA%2Fphoto_2024-01-14%2011.53.19.jpeg?alt=media&amp;token=5779075d-6eb1-4fe7-bedc-7d247e4fd890" alt=""><figcaption></figcaption></figure> Click "Restore" and select your `obol-backup.tar.xz` you created just before. Restore from this file. This should be it. If you notice any errors during Restore, start the obol package again and click restore again. It takes a few tries sometimes to get it right. You can now check your Logs now and tell ether.fi that you finished the process. # Testnet (Holesky) ### Install the Obol Holesky package Find the latest release of the Obol Holesky Dappnode package on [Github](https://github.com/dappnode/DAppNodePackage-holesky-obol/releases) Click on "release details" and copy the IPFS hash. Navigate to the `DAppStore` page and enter the IPFS hash, then click `Search`. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FW8kVTpyFyxLgGoz3g7hz%2Fimage.png?alt=media&amp;token=5cae3105-9ca2-4dcc-b6b8-f7b17e954fc5" alt=""><figcaption></figcaption></figure> Under `ADVANCED OPTIONS` make sure the toggle for `Bypass only signed safe restriction` is on so that the package can be installed. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F426hAj4N9sbxeP83Vmhg%2Fimage.png?alt=media&amp;token=fb5de8ff-5c70-4c26-ae5c-ea0facd15bf3" alt="" width="563"><figcaption></figcaption></figure> Skip all the questions during installation without filling out any fields. After installation is finished, navigate to the Obol Package and click on the tab BACKUP. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F8pEPJx9rji0pUUHIkdTn%2FObol_Holesky.png?alt=media&amp;token=47eac7b3-25ee-4075-bda1-e600e2bd7272" alt=""><figcaption></figcaption></figure> Click "Backup Now", which will download a file with a `.tar.xz` ending. Expand the file and you should see the following contents. <div data-full-width="false"><figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FY8XAzKukbZH7RVn1LYE7%2FScreenshot%202024-07-15%20at%2019.09.48.png?alt=media&amp;token=c8080abe-7471-4ba4-b86c-6868b13d7c75" alt=""><figcaption></figcaption></figure></div> Delete all files from the `charon1` directory. Now expand the keyshare file you received from ether.fi and put all the contents into the `charon1` directory. Open the `cluster-lock.json` file and find the `operators` array and find your operator entry. The file you received will have the number of your node in the cluster. Keep in mind that the first node is node0, so node3 would be the fourth operator in the array for example. Next, create a file called `enr` (just `enr` without a file ending). Open the `enr` file in a text editor and paste your enr text from the operator array in the `cluster-lock.json`. Save the file and exit. Your contents should now look like the following: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F5drvW6s631AdMIoSwH4i%2FScreenshot%202024-07-15%20at%2019.12.41.png?alt=media&amp;token=e9033e6a-1d06-4701-93b7-1f2c19412f37" alt=""><figcaption></figcaption></figure> Only `charon1` has changed. The other folders have to stay unchanged. Now you have to pack all the charon folders back to a `.tar.xz` file. This is different on all OSs but on Linux and macOS, you can do the following in the Terminal: ``` cd directory-with-charon-folders tar -cvf obol-backup.tar ./ xz obol-backup.tar ``` On macOS you might need to install the xz package with Homebrew: <https://formulae.brew.sh/formula/xz> After those commands, you should see an `obol-backup.tar.xz`. You will need it in the next step. Open the Dappnode interface again and go to packages. Make sure to start the package "Holesky Obol", as the containers should be stopped right now. You need to be fast with the next step, as otherwise the Obol package will exit again and you need to start it again before continuing. Next, navigate to the Obol packages Backup tab. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F8pEPJx9rji0pUUHIkdTn%2FObol_Holesky.png?alt=media&amp;token=47eac7b3-25ee-4075-bda1-e600e2bd7272" alt=""><figcaption></figcaption></figure> Click "Restore" and select your `obol-backup.tar.xz` you created just before. Restore from this file. This should be it. If you notice any errors during Restore, start the obol package again and click restore again. It takes a few tries sometimes to get it right. You can now check your Logs now and tell ether.fi that you finished the process. And that should be it! The keyshare has been imported into your Holesky Obol Charon client and once your Testnet Holesky chains are synced, the validator will start to perform its duties 🥳 # Monitoring Dappnode provides monitoring for the Obol packages using the `Dms` package. {% hint style="info" %} **Direct link:** [**http://dms.dappnode/dashboards**](http://dms.dappnode/dashboards) (When connected to your DAppNode wifi or via a VPN) {% endhint %} If this package isn't already installed on your machine, you can find it on the DAppStore: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FSBkLvQVky9XTsFK8TCYq%2Fimage.png?alt=media&amp;token=d26ac025-345e-4f03-927d-3d30996823ae" alt=""><figcaption></figcaption></figure> Open the `Dms` package: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F1db9QkaYhLiNp4CXWnKH%2Fimage.png?alt=media&amp;token=e567deec-52db-4d6c-b31a-fc96b71624ff" alt=""><figcaption></figcaption></figure> Navigate to the `Dms` url: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FmUIMuFh5iNbUvYHBHEzl%2Fimage.png?alt=media&amp;token=8539bf04-0481-4757-b628-3641eade240f" alt=""><figcaption></figcaption></figure> Select the Obol package you want to monitor: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2Fh0GC1GCTOYwJgaVjlEJv%2Fimage.png?alt=media&amp;token=fcd859b9-7a38-4919-b0a2-d8a07f380e2f" alt=""><figcaption></figcaption></figure> View the dashboard and see the cluster heath directly on your machine :eyes: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FrTkLFg8ySbv1agU0B18N%2Fimage.png?alt=media&amp;token=dce16d38-9d24-4082-97ce-a6adad1064fa" alt=""><figcaption></figcaption></figure> # Sending Metrics Once you have uploaded your keys and set up your own monitoring, you should start sending metrics to Obol so they can provide better tech support. Go to the Obol package on your Dappnode and click on Config. On the bottom you will see this: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FuCTXLt6sT2XleTqLcErg%2FScreenshot%202024-12-16%20at%2017.41.25.png?alt=media&amp;token=16364b4e-9b87-4af8-a1ab-2b7b3fcea53b" alt=""><figcaption></figcaption></figure> Are you running multiple Charon clients, i.e. participating in multiple clusters? If not, set "Charons to monitor" to "1". If yes, add all clusters that you want to monitor. Set the prometheus monitoring url to: ``` https://vm.monitoring.gcp.obol.tech/write ``` Set the prometheus monitoring credentials to the value you will receive from the Etherfi or Obol team. ``` obolpF5... ``` # Advanced Config In the Obol package, go to the bottom of the Config page and click on "Show advanced editor". The advanced editor should show lots of config options, like this: <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F9HduXSCmibwJNWWh5rnb%2FScreenshot%202024-12-16%20at%2017.47.01.png?alt=media&amp;token=505b207a-a56b-4194-801a-633b55043e59" alt=""><figcaption></figcaption></figure> Most of those values are correct by default, but you might need to change some of them. Set "ENABLE\_MEV\_BOOST" to true. Set the Graffiti to something you recognize. This will be visible in block proposals lead by your node. Set "USE\_PRODUCE\_BLOCK\_V3" to true. # Additional Configuration * [Remove or Pause Packages](#remove-or-pause-packages) * [Open Ports on your Router](#open-ports-on-your-router) * [Static IP Address](#static-ip-address) ### Remove or Pause Packages Packages can be removed or paused by navigating to the `My DApps` and selecting the `Manage` option. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FG9Vb4cHXBJWCUROd5zcU%2Fimage.png?alt=media&amp;token=6c5211bf-719b-4918-8d29-f5fab54125d2" alt=""><figcaption></figcaption></figure> The package can then be paused or started, or removed if needed. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2Fw115xTrhQGTgCaRldlIS%2Fimage.png?alt=media&amp;token=92cbbaa4-2313-49f4-be3a-81e6528d4bf7" alt="" width="563"><figcaption></figcaption></figure> ### Open Ports on your Router Ethereum operates uses a Peer-to-Peer (P2P) network. For this to function optimally, it requires two-way communication between participants. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2F7C6tk54QeVBsS7XY5NAN%2Fimage.png?alt=media&amp;token=e63d0f8c-0414-4bbb-bf66-1f5b13bdcd92" alt="" width="333"><figcaption><p>Ether.fi P2P network used by the Obol DVT Cluster</p></figcaption></figure> To know which ports you need to look at each package you have installed and see which ports need to be accessible. {% hint style="info" %} **How can I check if a port is accessible?** Firstly, you need to know your IP address. Make sure you are using a device that is on the same network as your Dappnode machine and isn't using any VPN service. To find the IP address of your Dappnode machine, click on the "DAppNode Identity" icon in the top menu. For port checking, you will use the "External IP" but also make a note of the "Internal IP" as that might be needed later when opening the ports. <img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FU9FZM8OPpRR6afwpkZzE%2Fimage.png?alt=media&amp;token=efe0a48a-19f3-4dfe-abf3-ccd62c3d2e47" alt="" data-size="original"> Next, you can use a port checker website e.g. [https://www.portcheckers.com](https://www.portcheckers.com/) to see if a port on your network is open or closed. How to find which ports to check is shown below. {% endhint %} Navigate to `Support` and click on the `Ports` menu. This will list out all the ports that need to be opened for your packages to work correctly. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FoRVqPFrFEHjM3zQnyfpk%2Fimage.png?alt=media&amp;token=1b56a7af-cb44-485b-b983-74daf5280776" alt="" width="563"><figcaption></figcaption></figure> If all of the ports are already open... great! You don't need to do anything else for the port configuration. However, if some or all of the ports are closed, then you should try the following steps to open them as this will significantly increase your P2P connectivity and the overall health of your node and the Ethereum network. {% tabs %} {% tab title="Automated Port Opening" %} If your router has a setting for `uPNP` then you can try enabling that setting. This allows the Dappnode machine to talk to your router and tell it which ports it needs to be open. This is the best way to set up your machine, so that in the future if you add another package, the ports it needs will automatically be opened. {% endtab %} {% tab title="Manual Port Opening" %} On your router, if you have the option, open those specific ports and enable port-forwarding to your Dappnode machine. This will depend on your router and the configuration that it has available. For port forwarding, you will need to know the "Internal IP" address of your Dappnode machine (found in the info box above), so that the router can send traffic coming in from the internet to your Dappnode machine. The logic is looks like this: "Send any traffic that comes in from the internet on port 9000 to the internal IP address 192.168.2.11 (your Dappnode machine) on port 9000" If you get to this step and would like more guidance, please reach out to us on the Ether.fi Discord. {% endtab %} {% endtabs %} If you don't have the option on your router to open any ports, don't worry, it won't stop your Ethereum node from functioning and participating in the network, but it will be slower to find peers and may be less effective as an Obol cluster node. ### Static IP Address By default, most ISPs (Internet Service Providers) will provide users with a dynamic IP address. This is an IP address that changes every time the router restarts. This can cause problems with some configurations e.g. you hardcode an IP address when connecting. Also, not all ISPs provide dynamic IP addresses that can be accessed directly from the internet. For a fee, some ISPs will allow you to purchase a static IP address that won't change when you restart your router and also allow direct connections to the internet. While this may not be a problem for your setup, it is something to consider when you start looking at the P2P connections used when running an Ethereum node and a Charon Cluster. # Dappnode VPN ## What is Dappnode VPN? <a href="#what-is-remote-connect" id="what-is-remote-connect"></a> Dappnode VPN is a package (either Wireguard or OpenVPN) that allows remote connections to your Dappnode machine from anywhere in the world on almost any device. * Want to check your Dappnode machine on your iPhone while taking a walk? VPN ✅ * Want to update a package using your laptop while waiting for a flight? VPN ✅ * Want to isolate your Dappnode machine on its own network but still access it? VPN ✅ The VPN solution is super easy and works in nearly every environment. No need to open any ports on your router or fiddle with config files etc. It works from both your home WiFi and from anywhere in the world with just one configuration. So let’s get it set up! {% embed url="<https://docs.dappnode.io/docs/user/access-your-dappnode/vpn/overview>" %} # Custom Setup {% hint style="info" %} This is the advanced option. Please only use this is you are already familiar with Docker. {% endhint %} If you are not using Dappnode or Avado machines and want to run the Obol clients directly using this repo: {% embed url="<https://github.com/ObolNetwork/charon-distributed-validator-node>" %} You will need to set some env variables specifically for the Etherfi charon instance.\ To send metrics to Obol set ``` PROM_REMOTE_WRITE_TOKEN= ``` to the value you receive from Obol or the Etherfi team. To propose correctly, set: ``` BUILDER_API_ENABLED=true BUILDER_SELECTION=builderalways ``` # Selecting MEV Relays On the machine running your node, run this script developed by Obol to check your MEVBoost relay latency: {% code overflow="wrap" %} ```bash docker run -it obolnetwork/charon:v1.1.0 alpha test mev --endpoints=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d15e31b1cb359caa092c71bbded0bae5b5ea401aab7e@aestus.live,https://0xa7ab7a996c8584251c8f925da3170bdfd6ebc75d50f5ddc4050a6fdc77f2a3b5fce2cc750d0865e05d7228af97d69561@agnostic-relay.net,https://0x8b5d2e73e2a3a55c6c87b8b6eb92e0149a125c852751db1422fa951e42a09b82c142c3ea98d0d9930b056a3bc9896b8f@bloxroute.max-profit.blxrbdn.com,https://0xb0b07cd0abef743db4260b0ed50619cf6ad4d82064cb4fbec9d3ec530f7c5e6793d9f286c4e082c0244ffb9f2658fe88@bloxroute.regulated.blxrbdn.com,https://0xb3ee7afcf27f1f1259ac1787876318c6584ee353097a50ed84f51a1f21a323b3736f271a895c7ce918c038e4265918be@relay.edennetwork.io,https://0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae@boost-relay.flashbots.net,https://0xa1559ace749633b997cb3fdacffb890aeebdb0f5a
프로젝트로 돌아가기