Skip to content

Commit

Permalink
fix: all the envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
avenbreaks committed Jan 20, 2024
1 parent 07070e8 commit 6b411ca
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 54 deletions.
11 changes: 6 additions & 5 deletions .env.engram
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
export REACT_APP_RPC_ENABLED=true
export REACT_APP_RPC_URL=https://engram.tech/testnet
export REACT_APP_RPC_URL=https://tokioswift.engram.tech

export REACT_APP_IS_MAINNET=false
export REACT_APP_CONTRACT_ADDRESS=0x4242424242424242424242424242424242424242
export REACT_APP_ETH_REQUIREMENT=524288
export REACT_APP_ETH_REQUIREMENT=3200
export REACT_APP_ETH_DEPOSIT_OFFSET=6720000
export REACT_APP_TESTNET_LAUNCHPAD_NAME=Tokio
export REACT_APP_EL_TESTNET_NAME=Tokio
export REACT_APP_TESTNET_ITERATION=01
export REACT_APP_CHAIN_ID=130
export REACT_APP_GENESIS_FORK_VERSION=0x1000130b
export REACT_APP_TUTORIAL_URL=https://engramnet.io
export REACT_APP_CHAIN_ID=131
export REACT_APP_GENESIS_FORK_VERSION=0x10000131
export REACT_APP_TUTORIAL_URL=https://engramnet.io
export REACT_APP_TESTNET_LAUNCHPAD_URL=https://launchpad-testnet.engram.tech
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

.idea
.idea
# Local Netlify folder
.netlify
2 changes: 1 addition & 1 deletion src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const _Routes = () => {

const title = formatMessage({ defaultMessage: 'Staking Launchpad' });
const description = formatMessage({
defaultMessage: 'Become a validator and help secure the future of Engram.',
defaultMessage: 'Become a validator and help secure by incentivized staking.',
});
return (
<>
Expand Down
8 changes: 1 addition & 7 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ export const Footer = () => {
<Link to={routesEnum.checklistPage}>
<FormattedMessage defaultMessage="Checklist" />
</Link>
<Link to={routesEnum.FaqPage}>
<FormattedMessage defaultMessage="FAQ" />
</Link>
<Link to={routesEnum.termsOfServicePage}>
<FormattedMessage defaultMessage="Terms of Service" />
</Link>
Expand All @@ -82,13 +79,10 @@ export const Footer = () => {
<Heading level={4}>
<FormattedMessage defaultMessage="More on staking" />
</Heading>
<Link to="https://ethereum.org/en/upgrades/">
<FormattedMessage defaultMessage="The Ethereum upgrades" />
</Link>
<Link to={routesEnum.phishingPage}>
<FormattedMessage defaultMessage="Avoid phishing" />
</Link>
<Link to="https://docs.google.com/spreadsheets/d/15tmPOvOgi3wKxJw7KQJKoUe-uonbYR6HF7u83LR5Mj4/edit#gid=842896204">
<Link to="#">
<FormattedMessage defaultMessage="Staking economics" />
</Link>
<Link to="https://github.com/runtimeverification/deposit-contract-verification/blob/96434de/deposit-contract-verification.pdf">
Expand Down
6 changes: 3 additions & 3 deletions src/intl/compiled/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"+CyDun": [
{
"type": 0,
"value": "Become a validator and help secure the future of Engram."
"value": "Become a validator and help secure by incentivized staking."
}
],
"+L0IkF": [
Expand Down Expand Up @@ -2924,7 +2924,7 @@
"ROHpFF": [
{
"type": 0,
"value": "1. Learn about your responsibilities"
"value": "1. Read our FAQs"
}
],
"RVyb7r": [
Expand Down Expand Up @@ -3970,7 +3970,7 @@
"dQ+baw": [
{
"type": 0,
"value": "Become a validator and help secure the future of Engram"
"value": "Become a validator and help secure by incentivized staking"
}
],
"dTOtPO": [
Expand Down
6 changes: 3 additions & 3 deletions src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Ethereum consists of the {executionLayer} (handling transactions and execution, formerly 'Eth1'), and the {consensusLayer} (handling proof-of-stake consensus tasks, formerly 'Eth2' or 'Ethereum 2.0')."
},
"+CyDun": {
"message": "Become a validator and help secure the future of Engram."
"message": "Become a validator and help secure by incentivized staking."
},
"+L0IkF": {
"message": "Step 2: Generate deposit keys using the Ethereum Foundation deposit tool"
Expand Down Expand Up @@ -1120,7 +1120,7 @@
"message": "Consensus clients"
},
"ROHpFF": {
"message": "1. Learn about your responsibilities"
"message": "1. Read our FAQs"
},
"RVyb7r": {
"message": "Can I stop running my validator for a few days and then start it back up again?"
Expand Down Expand Up @@ -1545,7 +1545,7 @@
"message": "What exactly is a validator?"
},
"dQ+baw": {
"message": "Become a validator and help secure the future of Engram"
"message": "Become a validator and help secure by incentivized staking"
},
"dTOtPO": {
"message": "Top Up"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const Hero = () => {
color="brand"
className="my20"
>
<FormattedMessage defaultMessage="Become a validator and help secure the future of Engram" />
<FormattedMessage defaultMessage="Become a validator and help secure by incentivized staking" />
</Heading>
</ScrollAnimation>
<ScrollAnimation animateIn="fadeInUp" delay={750} animateOnce>
Expand Down
22 changes: 11 additions & 11 deletions src/pages/Landing/SignupSteps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const SignupSteps = (): JSX.Element => {
<Container className="py100">
<ScrollAnimation animateIn="fadeIn" animateOnce>
<Heading level={2} size="medium" color="blueDark" margin="none">
<FormattedMessage defaultMessage="Become a validator" />
<FormattedMessage defaultMessage="Validator's Staking Tips" />
</Heading>
<Subtitle>
<FormattedMessage
Expand All @@ -61,11 +61,11 @@ export const SignupSteps = (): JSX.Element => {
emoji="📚"
emojiAlt={formatMessage({ defaultMessage: 'books' })}
title={formatMessage({
defaultMessage: '1. Learn about your responsibilities',
defaultMessage: '1. Read our FAQs',
})}
content={formatMessage({
defaultMessage:
'The Ethereum upgrades will only be successful if validators understand the risks and responsibilities.',
'The staking program is that will help our public Blockchain protocol to be safer and more resilient. We invite institutions, companies to join and bring their ecosystem on our chain.',
})}
>
<Link to={routesEnum.FaqPage} primary>
Expand All @@ -77,10 +77,10 @@ export const SignupSteps = (): JSX.Element => {
<Step
emoji="🔧"
emojiAlt={formatMessage({ defaultMessage: 'wrench' })}
title={formatMessage({ defaultMessage: '2. Prep nodes' })}
title={formatMessage({ defaultMessage: '2. Prerequisites' })}
content={formatMessage({
defaultMessage:
"You'll need to run an execution client & consensus client to become a validator. Take a look at the checklist to prepare yourself and your equipment.",
"Make sure you complete all of the validator preparation checklist before running the nodes from your computer.",
})}
>
<Link to={routesEnum.checklistPage} primary>
Expand All @@ -95,11 +95,11 @@ export const SignupSteps = (): JSX.Element => {
defaultMessage: 'martial arts uniform',
})}
title={formatMessage({
defaultMessage: '3. Practice on a testnet',
defaultMessage: '3. ⁠Prepare on Engram testnet',
})}
content={formatMessage({
defaultMessage:
'We strongly recommend you go through the entire process on a testnet first to get comfortable before risking real ETH.',
'While risking real GRAM coins on Engram Mainet, we recommend validators and stakers to try and practice on our testnet chain.',
})}
>
{IS_MAINNET ? (
Expand All @@ -117,10 +117,10 @@ export const SignupSteps = (): JSX.Element => {
emojiAlt={formatMessage({
defaultMessage: 'fishing rod',
})}
title={formatMessage({ defaultMessage: '4. Avoid phishing' })}
title={formatMessage({ defaultMessage: '4. Play Safe' })}
content={formatMessage({
defaultMessage:
"Make sure you're aware of how to avoid phishing attacks. We've prepared a list of things to look out for.",
"Make sure you know The things that may affects your staking process, like phishing. Here's the list of things you need to avoid.",
})}
>
<Link to={routesEnum.phishingPage} primary>
Expand All @@ -135,7 +135,7 @@ export const SignupSteps = (): JSX.Element => {
title={formatMessage({ defaultMessage: '5. Time to deposit' })}
content={formatMessage({
defaultMessage:
"Once you're comfortable, you'll go through generating your keys and depositing your ETH.",
"Once you feel comfortable and ready to stake, you can directly launch the deposit contract using your GRAM coin that you can send to your new generated keys.",
})}
>
<Link to={routesEnum.acknowledgementPage} primary>
Expand All @@ -152,7 +152,7 @@ export const SignupSteps = (): JSX.Element => {
})}
content={formatMessage({
defaultMessage:
"Once set up, your validator won't become active straight away. Use this time to complete the checklist and get some extra practice on a testnet.",
"Once you have deposited the GRAM coin to staking contract, it won't be active straight away. Wait the activation process that will take approximately 1 day until it becomes active.",
})}
>
<Link to={routesEnum.checklistPage} primary>
Expand Down
52 changes: 30 additions & 22 deletions src/static/eth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6b411ca

Please sign in to comment.