Skip to content

Commit

Permalink
add davinci config frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
avenbreaks committed Nov 5, 2024
1 parent e9eb0f7 commit 6eda11c
Show file tree
Hide file tree
Showing 17 changed files with 423 additions and 394 deletions.
17 changes: 17 additions & 0 deletions .env.davinci
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export REACT_APP_IS_MAINNET=true
export REACT_APP_CONTRACT_ADDRESS=0xdeadbeef00000000000000000000000000000000
export REACT_APP_ETH_REQUIREMENT=524288
export REACT_APP_ETH_DEPOSIT_OFFSET=0
export REACT_APP_TESTNET_LAUNCHPAD_NAME=DaVinci
export REACT_APP_RPC_URL=https://rpc.davinci.bz/
export REACT_APP_BEACONCHAIN_URL=https://validator-explorer.davinci.bz
export REACT_APP_EL_EXPLORER_URL=https://mainnet-explorer.davinci.bz/
export REACT_APP_TUTORIAL_URL=
export REACT_APP_FAUCET_URL=

# Reset values
export REACT_APP_TESTNET_ITERATION=
export REACT_APP_CHAIN_ID=293
export REACT_APP_GENESIS_FORK_VERSION=0x10000293
export REACT_APP_PRICE_PER_VALIDATOR=32
export REACT_APP_MIN_DEPOSIT_CLI_VERSION=1.0.0
24 changes: 13 additions & 11 deletions .env.ephemery
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
export REACT_APP_IS_MAINNET=false
export REACT_APP_CONTRACT_ADDRESS=0x4242424242424242424242424242424242424242
export REACT_APP_IS_MAINNET=true
export REACT_APP_CONTRACT_ADDRESS=0xdeadbeef00000000000000000000000000000000
export REACT_APP_ETH_REQUIREMENT=524288
export REACT_APP_ETH_DEPOSIT_OFFSET=0
export REACT_APP_TESTNET_LAUNCHPAD_NAME=Ephemery
export REACT_APP_RPC_URL=https://rpc.ephemery.ethstaker.cc
export REACT_APP_BEACONCHAIN_URL=https://beaconchain.ephemery.dev
export REACT_APP_EL_EXPLORER_URL=https://otter.bordel.wtf
export REACT_APP_TUTORIAL_URL=https://ephemery.dev
export REACT_APP_FAUCET_URL=https://faucet.bordel.wtf/
export REACT_APP_TESTNET_LAUNCHPAD_NAME=DaVinci
export REACT_APP_RPC_URL=https://rpc.davinci.bz/
export REACT_APP_BEACONCHAIN_URL=https://validator-explorer.davinci.bz
export REACT_APP_EL_EXPLORER_URL=https://mainnet-explorer.davinci.bz/
export REACT_APP_TUTORIAL_URL=
export REACT_APP_FAUCET_URL=

# Reset values
export REACT_APP_TESTNET_ITERATION=138
export REACT_APP_CHAIN_ID=39438138
export REACT_APP_GENESIS_FORK_VERSION=0x1000101b
export REACT_APP_TESTNET_ITERATION=
export REACT_APP_CHAIN_ID=293
export REACT_APP_GENESIS_FORK_VERSION=0x10000293
export REACT_APP_PRICE_PER_VALIDATOR=32
export REACT_APP_MIN_DEPOSIT_CLI_VERSION=1.0.0
19 changes: 15 additions & 4 deletions .env.mainnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
export REACT_APP_IS_MAINNET=true
export REACT_APP_CONTRACT_ADDRESS=0x00000000219ab540356cBB839Cbe05303d7705Fa
export REACT_APP_CONTRACT_ADDRESS=0xdeadbeef00000000000000000000000000000000
export REACT_APP_ETH_REQUIREMENT=524288
export REACT_APP_TESTNET_LAUNCHPAD_NAME=Holesky
export REACT_APP_GENESIS_FORK_VERSION=0x00000000
export REACT_APP_IS_MERGE=false
export REACT_APP_ETH_DEPOSIT_OFFSET=0
export REACT_APP_TESTNET_LAUNCHPAD_NAME=DaVinci
export REACT_APP_RPC_URL=https://rpc.davinci.bz/
export REACT_APP_BEACONCHAIN_URL=https://validator-explorer.davinci.bz
export REACT_APP_EL_EXPLORER_URL=https://mainnet-explorer.davinci.bz/
export REACT_APP_TUTORIAL_URL=
export REACT_APP_FAUCET_URL=

# Reset values
export REACT_APP_TESTNET_ITERATION=
export REACT_APP_CHAIN_ID=293
export REACT_APP_GENESIS_FORK_VERSION=0x10000293
export REACT_APP_PRICE_PER_VALIDATOR=32
export REACT_APP_MIN_DEPOSIT_CLI_VERSION=1.0.0
3 changes: 1 addition & 2 deletions src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ const _Routes = () => {

const title = formatMessage({ defaultMessage: 'Staking Launchpad' });
const description = formatMessage({
defaultMessage:
'Become a validator and help secure the future of Ethereum.',
defaultMessage: 'Become a validator and help secure the future of DaVinci.',
});
return (
<>
Expand Down
36 changes: 18 additions & 18 deletions src/intl/compiled/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2887,6 +2887,12 @@
"value": ")"
}
],
"JNfa+M": [
{
"type": 0,
"value": "Become a validator and help secure the future of DaVinci"
}
],
"JPT/TK": [
{
"type": 0,
Expand Down Expand Up @@ -4927,6 +4933,12 @@
"value": "Why is there a wait?"
}
],
"ZhaG9M": [
{
"type": 0,
"value": "Become a validator and help secure the future of DaVinci."
}
],
"ZsXdlw": [
{
"type": 0,
Expand Down Expand Up @@ -5195,24 +5207,12 @@
"value": "Check your favorite Beacon Chain block explorer:"
}
],
"cPsIkp": [
{
"type": 0,
"value": "Become a validator and help secure the future of Ethereum."
}
],
"cRzxes": [
{
"type": 0,
"value": "Current APR"
}
],
"cU/ZP6": [
{
"type": 0,
"value": "Ethereum uses proof-of-stake to reach consensus."
}
],
"cav520": [
{
"type": 0,
Expand Down Expand Up @@ -6265,6 +6265,12 @@
"value": ". This Ethereum Improvement Proposal enables rewards to be automatically withdrawn to the execution layer, and also provides a way for exited validators to unlock their entire balance—no gas required."
}
],
"kTBdEi": [
{
"type": 0,
"value": "DaVinci uses proof-of-stake to reach consensus."
}
],
"kTt/ND": [
{
"type": 0,
Expand Down Expand Up @@ -7887,12 +7893,6 @@
"value": "Protect your funds using monitoring software, and learn how to handle different real world scenarios."
}
],
"vIF140": [
{
"type": 0,
"value": "Become a validator and help secure the future of Ethereum"
}
],
"vJez0K": [
{
"type": 0,
Expand Down
Loading

0 comments on commit 6eda11c

Please sign in to comment.