ethereum / ethereum/staking-launchpad

Support Custom Network?

Open
#622 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
304
Forks
226
PR merge metrics
No merged PRs in 30d

Description

Configuration Custom Network :

```
REACT_APP_IS_MAINNET=false
REACT_APP_RPC_ENABLED=true
REACT_APP_RPC_URL=https://rpc-phase1.cartenz.works/
REACT_APP_CONTRACT_ADDRESS=0x4242424242424242424242424242424242424242
REACT_APP_ETH_REQUIREMENT=2048
REACT_APP_ETH_DEPOSIT_OFFSET=0
REACT_APP_PRICE_PER_VALIDATOR=32
REACT_APP_TESTNET_LAUNCHPAD_NAME=Cartenz
REACT_APP_EL_TESTNET_NAME=Cartenz
REACT_APP_TESTNET_ITERATION=1
REACT_APP_CHAIN_ID=1881
REACT_APP_GENESIS_FORK_VERSION=0x00677693
REACT_APP_TUTORIAL_URL=https://docs.gitshock.com/gitshock-testnet-overview/gitshock-chain-evm-testnet
REACT_APP_MIN_DEPOSIT_CLI_VERSION=1.0.0
REACT_APP_LIGHTHOUSE_INSTALLATION_URL=https://lighthouse-book.sigmaprime.io/
REACT_APP_NIMBUS_INSTALLATION_URL=https://nimbus.guide/intro.html
REACT_APP_PRYSM_INSTALLATION_URL=https://docs.prylabs.network/docs/install/install-with-script
REACT_APP_TEKU_INSTALLATION_URL=https://docs.teku.pegasys.tech/en/latest/HowTo/Get-Started/Build-From-Source/
REACT_APP_FORTMATIC_KEY=pk_live_97B46AB6B178EBCE
```

Staking-Deposit-Cli
im rebuild and adding the `genesis validator root` `GENESIS_FORK` and network, but after to send deposit.json on launchpad cannot accept.

Example Deposit Data:
```
[
{
"pubkey": "90df119f92292368c61d502b378be78ee9ea6f1217b4b357308969e7091c7e0d7e0da3bc77b6ddf78340a6078b4afba4",
"withdrawal_credentials": "00bb6491fe1d325a9db909ae5922e7cfc80c78c16a84a4e2a61919d9f223f758",
"amount": 32000000000,
"signature": "8090781a74f2dcb5d6787a487820113b6c198e4cc3c80a508e5fb9cc86b84735a5a4820f48e0c9644ed53f34f90ddffe119d74be3ffd99a2afb98461e9f40a2dd2ffbae79d3e4587dab2bc93305a471fcdc55fd75ddaf6aca6c4e9eed4943ce2",
"deposit_message_root": "eea28bd78f207adbcf971283735e54050214f5261d975c18575bf7648e5f6a0f",
"deposit_data_root": "e39ff4c68f38a5b5d04a65a4f31eacbd63e307d5cc6d1f6e1886166185294650",
"fork_version": "00677693",
"network_name": "cartenz",
"deposit_cli_version": "2.5.0"
}
]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the custom network configuration values and the launchpad's handling of the supplied deposit.json, especially fork_version, network_name, and the genesis validator root. Reproduce the reported rejection with the Cartenz configuration and staking-deposit-cli output; done means a supported custom network deposit is accepted or the required configuration limits are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.