wealdtech / ethereal

Apache License 2.0
207 stars 40 forks source link

can we use Ethereal with a local / custom testnet #50

Open SyedMuhamadYasir opened 5 months ago

SyedMuhamadYasir commented 5 months ago

I am looking for a tool to help me make a beacon deposit for a validator i am trying to add to my network

My network, is a local testnet, with a custom chain id

so for the following commands

ethereal beacon

we have a --network flag

can I use the custom chain id instead of a network name ?

can Ethereal be used with a custom testnet ?

all help is appreciated!

mcdee commented 5 months ago

You would need to set the following parameters:

--address
--allow-unknown-contract

These would override the information obtained from the --network parameter.

SyedMuhamadYasir commented 5 months ago

You would need to set the following parameters:

--address
--allow-unknown-contract

These would override the information obtained from the --network parameter.

thanks Jim, i will try and report here!

SyedMuhamadYasir commented 5 months ago

i just realized, the --connection parameter is also required;

--connection http://your_instance_ip:Port_Used_by_Geth

GGiGGu commented 4 months ago

@mcdee hello sir Could I ask something? By using "ethereal" can I deposit to local/custom testnet?

You said we can use "ethereal" for custom beacon!

You would need to set the following parameters:

--address
--allow-unknown-contract

These would override the information obtained from the --network parameter.

But the option that I need to use is "eth2network" when using deposit command. Is it also overriden when I use --address, --allow-unknown-contract?

mcdee commented 4 months ago

If you use the parameters I suggest than eth2network is not required.

GGiGGu commented 4 months ago

If you use the parameters I suggest than eth2network is not required.

@mcdee First Really Thank you for your prompt response!!! I will try the command and options that you suggested. Additionally, do I have to use deposit data created from ethdo for using ethereal? Or can I also use deposit data created from tools like staking-deposit-cli?

mcdee commented 4 months ago

Deposit data should work, but best to try it to confirm.