区块链技术博客
www.b2bchain.cn

eth2 validator launchpad 🚀 (blog.ethereum.org). 13 . . . JBSchweitzerEthereum Foundation – Joseph Schweitzer57 commentssharesavehidereportall 57 commentssorted .: top .bestnewcontroversialoldrandomq&alive (beta)Want to add to the .?Post a comment!Create an account[–]granolaguy15 16 .17 .18 . 12 . . (2 children)


.



Yes

Yesss!

Yessssssssssxcellent.

The instructions for Windows don't actually work.

sh is not a windows command / the initial setup is a "shell script" which would require that the Windows system have some sort of bash shell available, which the instructions don't mention at all.

Looking at the bash script it looks like they want cygwin installed, or perhaps just the built in windows bash shell? But, if you either a) don't have that installed, or b) rely on WSL(2) instead, it's not going to work.

Not sure why they didn't just include a good old fashion .bat file for windows….

Heck, if they're going to provide CLI command instructions anyway, I'm not sure why they even have this 4 line shell script anyway…

The commands are basically identical anyway:

pip3 install -r requirements.txt python3 setup.py install python3 ./eth2deposit/deposit.py "$@" 

Now, I also might be doing it wrong, trying to re-create what the shell script does but here's an error for you too:

python deposit.py --num_validators 5 --chain medalla Traceback (most recent call last):   File "deposit.py", line 25, in <module>     languages = get_languages(WORD_LISTS_PATH)   File "C:PythonPython38-32libsite-packageseth2deposit-0.2.0-py3.8.eggeth2depositkey_handlingkey_derivationmnemonic.py", line 53, in get_languages StopIteration 

just remove sh and press tab, it should autocomplete
I guess the instruction needs some work 🙂

Windows does not run bash shell scripts natively out of the box.

However, if the instructions stated that you should execute these commands within the `git CMD` environment, which is what I THINK was the intention, then perhaps it would make more sense. But they don't, hence the problem: nobody actually tried these instructions.

We are the guinea pigs.

if you want to go easy way download git bash

or use msys64 MinGW

Or, and bare with me, … just install Linux instead of jumping through hoops and trying to run GNU tools on windows? Worst case: a linux VM?

Ugh, some of us want our computers to be useful for more than a CLI tool

Also with the exception of TTY ports, WSL Debian is just as good as regular Debian

Ugh, some of us want our computers to be useful for more than a CLI tool

That is not accurate at all. Even if you ignore I was talking about running a server.

Also with the exception of TTY ports, WSL Debian is just as good as regular Debian

That is ridiculous. There are many more missing features when use WSL over actual Bash shell on linux. But I do like WSL in windows as it gives some of the advantages of linux in a windows environment.

No flaming meant. But if you are serious about running anything efficiently and reliably, stop using windows.

If you’re trying to run a test system: install a virtual machine (VirtualBox is free and very powerful, for example).

If you want to run a production server: rent a linux VPS, or install a linux distro natively on a machine you run at home (ras-pi, beaglebone, intel NUC, any old machine that had become completely unusable for windows but isn’t broken, …)

Choices for easy linux distros that are very common, and thus are well documented: – ubuntu (go for the LTS versions for stability) – Debian (ubuntu, but even more stable! (Ubuntu is based of off Debian)) – [ many more options ]

Why do I name Ubuntu and Debian? Because they are stable, have standard toolsets, are well documented and have a large and active community.

Just my professional opinion. You don’t want Micro$oft to decide in the middle of whatever your node is processing that updates have to happen, NOW. And they do, how I know they do…

Edit: also the documentation on any decent development project will require a linux install. Even Micro$oft acknowledged that!! Just look at what platforms VScode, powershell, .NET, … is being released for in the past couple of years. It’s a Trojan horse, but still a recognition of Linux’s value.

Stability, reliability, performance, control: Linux.

My post is not a cry for help about how to run a validator. I've ran plenty of validators on both Windows and Linux. I have plenty of VMs through both Hyper-V and WSL2, as well as docker (on both platforms).

As ridiculous as your post is, it still totally and completely missed the point, which is to provide accurate and complete instructions if you're going provide layman instructions on official sites and support the platform.

No need for personal attacks. I do not agree with you, ghat does not mean I either missed the point, or tried to put you down. Calm your horses.

If we are trying to be as inclusive and as decentralized as possible for hobbyists contributing to the network, so that they don’t just give up and use a custodial exchange, Windows should be actively supported.

I do not agree.

Windows is a closed source, payed to use platform. Not to speak of the insecurities inherent to it. Linux is free, open source, stable and secure. All information on it is freely available to all.

Making the entrance as easy as possible will result in people that do not have a clue what they are doing, running scripts and applications that they have no idea what they actually do, on insecure platforms, resulting in lost funds, network instability, and a lot of frustrations. Frustrations founded in misconceptions and ignorance, but they will manifest themselves as negative attitudes towards the network/platform.

Open does not mean simple. There is no way to make things ‘monkey proof’, as many technical writers like to out it, if you do not understand what you are doing. Learn the basics, it absolutely is not rocket science.

If you need to ask why you can’t run a bash shell script in a Windows Command shell, you should not be running a validator node based on some scripts you’ve found on the net you don’t understand. Unless you want to lose 32ETH… minimum.

To reiterate: if someone does not know these things today, this does not mean they can’t understand the basics, and enough to run a node, in 7-14 days given enough time and interest. Don’t have the interest, or can’t make the time? Use a pool.

Don’t get me wrong here I prefer Linux for this sort of thing too, but I think the general goal here is to actively dissuade people from using pools as much as possible. There are additional risks with pools or custodial staking, and we want this to be as decentralized as possible.

The fact that there are clients supporting Windows and deposit instructions given for Windows means we should at least try and make the instructions plug and play.

Prysm is not yet compliant with the launchpad keystore JSON. From their Discord:

6:28 PM] terence: Note: we are still working on documentation on integrating launchpad keystore into prysm validator

[6:29 PM] rauljordan: Hi @s420 just a heads up we're not ready yet to support the validator keys from the launchpad in Prysm

[6:29 PM] rauljordan: We'll announce to everyone on the discord here once we're fully compliant

Lighthouse doesn't support it either apparently

https://github.com/sigp/lighthouse/issues/1361

Does anyone know if you need to have RPC port open on the validator or will you be slashed? Currently mine are blocked and I am getting rewards.

Additionally, are there any RPC based attack vectors?

"Slashing" is a severe penalty reserved for people who cheat the network. A far more common penalty is "leakage" and that occurs when you're offline – it's no big deal, it's a loss roughly equal to what you would have earned if you had been online.

Open ports are mostly useful for keeping peers and keeping up with the head of the network. It is best practice to have plenty of peers, but not an absolute requirement.

I am not aware of any attack vectors for opening ports 12000/udp and 13000/tcp.

Also, feel free to join us with asking questions and providing support at /r/ethstaker

You do not need to open any ports on your validator. Your validator should only make outgoing calls to the beacon-node.

I meant beacon chain, but now that I think about it they’re separate anyway so probably this doesn’t matter. Thanks!

You SHOULD open the peering port for the beacon chain, to ensure that you always have plenty of peers and that incoming peering connections are allowed. But you shouldn't open the RPC port to the world, just internally for your validator.

How do you get goeth to stake?

If you're okay with using a social media account, you can include the ETH address you want it sent to in a tweet/facebook post, then post the link to your post here. Prysmatic Labs also runs a discord server with a channel for requesting goeth.

Thank you

This is great!

Im noob with stalking, but does this mean I can start to stalk my REAL ethereum by following this guide?
It is not clear if it is test ethereum or real ethereum that you can stake

It's staking, not stalking.. please don't stalk anyone.

No. Not for REAL EtH.

This is for GoETH or goerli network eth.

Thanks, will try it out anyway, good way to be prepared when this startNow to see how to get GoETH 🙂

Edit: nevermind, need to publish with facebook or twitter to get GoEth, I don't want to reveal my identity, not going to participate

I always use the prylabs faucet for GöETH. Just requires you to click a button. https://prylabs.net/participate

Thanks will try this one out with Portis

Get goETH in discord @ https://discord.com/invite/YMVYzv6 in the request goerli eth channel or get goETH from https://prylabs.net/participate

How do you get goEth?

Get goETH in discord @ https://discord.com/invite/YMVYzv6 in the request goerli eth channel or get goETH from https://prylabs.net/participate

10k I see you?

Considering there's a 0% chance of me being capable of affording the 29 more ETH I need to have enough to be a validator, there's no reason for me to do this.

I hope people in this thread are aware of this since the site does not mention it. You need 32 ETH to be a validator. Right now, that is nearly $10k. Not sure it's worth going through the hassle here if you aren't going to have 32 ETH by the end of the year.

Sorry, bud. Look into pools. For example, I’ve seen Rocketpool thrown around a bunch. Maybe in a few years with some saving and smart investing you can become a validator.

Maybe in a few years with some saving and smart investing you can become a validator.

LOL about as patronizing and condescending as you can get. Not everyone has 10k to drop on extremely risky investments like crypto. It doesn't mean someone hasn't saved or hasn't done smart investing.

Have a little perspective.

Package it in an image so I can run it on a kube cluster. Attach a web service to it for monitoring so I can add alerts. If my validator goes offline or enters a crash loop I want to know before accumulating significant leakage.

Add a dashboard for running n validators like kubernetes.

Edit: Rocketpool has a good head start on managing nodes with redundancy. Look at what they did.

All clients have Dockerfiles for building images in their repos afaik.

Can any laptop run a node?

Common specs are enough. You will need large SSD drive(s) with fast read/write.

Damn … how large? And SSD for real?

ETH2 Phase 0 is not really IO heavy. Ran the previous test nets on a Rock64. Storage required was 3 GBs or so.

I think dataclasses is missing in requirements.txt, at least I didn't have it.

You are probably using an unsupported Python version. The tool requires Python 3.7+ where `dataclasses` is a standard library.

yes you're right, after switching to python3.7 and reinstalling everything it could find it immediately.

I had trouble installing Lighthouse on macos Catalina.

Fixed it installing cmake using brew.

~/lighthouse  master  make RUST_BACKTRACE=1                                                                                                                                       2 ↵  9s  system ⬢ cargo install --path lighthouse --force --locked   Installing lighthouse v0.1.2 (/Users/advanced/lighthouse/lighthouse)     Updating crates.io index    Compiling rusqlite v0.23.1    Compiling leveldb-sys v2.0.6 (https://github.com/michaelsproul/leveldb-sys?branch=v2.0.6-cmake#e784dba0)    Compiling serde_derive v1.0.114    Compiling synstructure v0.12.4    Compiling pin-project-internal v0.4.22    Compiling futures-macro v0.3.5    Compiling prost-derive v0.6.1    Compiling tokio-macros v0.2.5 error: failed to run custom build command for `leveldb-sys v2.0.6 (https://github.com/michaelsproul/leveldb-sys?branch=v2.0.6-cmake#e784dba0)`  Caused by:   process didn't exit successfully: `/Users/advanced/lighthouse/target/release/build/leveldb-sys-5e6a5dd98fba9101/build-script-build` (exit code: 101) --- stdout [build] Started [snappy] Building running: "cmake" "/Users/advanced/.cargo/git/checkouts/leveldb-sys-00e40c6374729f0a/e784dba/deps/snappy-1.1.7" "-DBUILD_SHARED_LIBS=OFF" "-DSNAPPY_BUILD_TESTS=OFF" "-DHAVE_LIBZ=OFF" "-DCMAKE_INSTALL_LIBDIR=/Users/advanced/lighthouse/target/release/build/leveldb-sys-e51b532da5021d18/out/lib" "-DCMAKE_INSTALL_PREFIX=/Users/advanced/lighthouse/target/release/build/leveldb-sys-e51b532da5021d18/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"  --- stderr thread 'main' panicked at ' failed to execute command: No such file or directory (os error 2) is `cmake` not installed?  build script failed, must exit now', /Users/advanced/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5 stack backtrace:    0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt    1: core::fmt::write    2: std::io::Write::write_fmt    3: std::panicking::default_hook::{{closure}}    4: std::panicking::default_hook    5: std::panicking::rust_panic_with_hook    6: rust_begin_unwind    7: std::panicking::begin_panic_fmt    8: cmake::fail    9: cmake::run   10: cmake::Config::build   11: build_script_build::main   12: std::rt::lang_start::{{closure}}   13: std::rt::lang_start_internal   14: main note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.  warning: build failed, waiting for other jobs to finish... error: failed to compile `lighthouse v0.1.2 (/Users/advanced/lighthouse/lighthouse)`, intermediate artifacts can be found at `/Users/advanced/lighthouse/target`  Caused by:   build failed make: *** [install] Error 101 

again troubles with lighthouse, following the official tutorial on https://medalla.launchpad.ethereum.org/lighthouse

I run into an error when running the suggested command

 ~/lighthouse account validator import --directory eth2.0-deposit-cli/validator_keys                                                                                1 ↵  system ⬢  error: Found argument 'import' which wasn't expected, or isn't valid in this context  USAGE:     lighthouse account_manager validator [OPTIONS] [SUBCOMMAND]  For more information try --help 

https://medalla.launchpad.ethereum.org/lighthouse at the bottom of the page, links to a broken URL under "Documentation on importing" –> https://lighthouse-book.sigmaprime.io/validator-import-launchpad.html

So what’s happening , the last testnet is in August 4th? Then mainnet is in November? Is this phase 1?

So what’s happening , the last testnet is in August 4th? Then mainnet is in November? Is this phase 1?

It's still in testnet; when it goes to mainnet, it will be in Phase 0 first (where PoS and PoW chains will live side by side)

赞(0) 打赏
部分文章转自网络,侵权联系删除b2bchain区块链学习技术社区 » eth2 validator launchpad 🚀 (blog.ethereum.org). 13 . . . JBSchweitzerEthereum Foundation – Joseph Schweitzer57 commentssharesavehidereportall 57 commentssorted .: top .bestnewcontroversialoldrandomq&alive (beta)Want to add to the .?Post a comment!Create an account[–]granolaguy15 16 .17 .18 . 12 . . (2 children)
分享到: 更多 (0)

相关推荐

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

b2b链

联系我们联系我们