diff --git a/.env.artio b/.env.artio deleted file mode 100644 index dbd9b5b1a..000000000 --- a/.env.artio +++ /dev/null @@ -1,141 +0,0 @@ -# Block Explorer =================================================================== -NEXT_PUBLIC_BLOCK_EXPLORER_NAME="Beratrails" -NEXT_PUBLIC_BLOCK_EXPLORER="https://artio.beratrail.io" -# Homepage/foundation ============================================================== -NEXT_PUBLIC_HOMEPAGE_NAME="Berachain Foundation" -NEXT_PUBLIC_HOMEPAGE_URL="https://www.berachain.com" -# HONEY =================================================================== -NEXT_PUBLIC_HONEY_NAME="Honey" -NEXT_PUBLIC_HONEY_URL="https://artio.honey.berachain.com" - -# BGT =================================================================== -NEXT_PUBLIC_BGT_NAME="BGT Station" -NEXT_PUBLIC_BGT_URL="https://artio.station.berachain.com" -# DEX =================================================================== -NEXT_PUBLIC_DEX_NAME="BEX" -NEXT_PUBLIC_DEX_URL="https://artio.bex.berachain.com" -# LEND =================================================================== -NEXT_PUBLIC_LEND_NAME="BEND" -NEXT_PUBLIC_LEND_URL="https://artio.bend.berachain.com" -NEXT_PUBLIC_LEND_DOCS_URL="https://docs.bend.berachain.com" -# LEND contract address ========================================================== -NEXT_PUBLIC_LEND_POOL_ADDRESS_PROVIDER="0x40C33CcbF44F554E1Bf8379BE1a5151Ab0F80f65" -NEXT_PUBLIC_LEND_ORACLE_ADDRESS="0x3031fE6A015f367D675476F48499C8A9517cEc34" -NEXT_PUBLIC_LEND_POOL_IMPLEMENTATION_ADDRESS="0x9261b5891d3556e829579964B38fe706D0A2D04a" -NEXT_PUBLIC_LEND_UI_DATA_PROVIDER_ADDRESS="0xfb618D1e361C362adDE4E148A4Dc85465a0A4A22" -NEXT_PUBLIC_LEND_REWARDS_ADDRESS="0x9e01a57C1febb35Cd366a8520F961dFee566E5ff" -NEXT_PUBLIC_LEND_HONEY_DEBT_TOKEN_ADDRESS="0x7f8E75356015fECfafF66e2B34F181A093Dc4519" -NEXT_PUBLIC_PERIPHERY_DEBT_TOKEN_ADDRESS= # todo: this is missing on artio -# PERPS =================================================================== -NEXT_PUBLIC_PERPS_NAME="BERPS" -NEXT_PUBLIC_PERPS_URL="https://artio.berps.berachain.com" -NEXT_PUBLIC_PERPS_DOCS_URL="https://docs.berps.berachain.com" -NEXT_PUBLIC_PERPS_ENDPOINT_URL="https://artio-bts-api-classic.berachain.com" -NEXT_PUBLIC_PERPS_PRICES_ENDPOINT_URL="https://hermes.pyth.network" -NEXT_PUBLIC_PERPS_PRICES_BENCHMARK_URL="https://benchmarks.pyth.network" -NEXT_PUBLIC_PERPS_COMPETITION_ID="default" -NEXT_PUBLIC_PERPS_PYTH_PRICES_MOCKED="false" -NEXT_PUBLIC_PERPS_TRADINGVIEW_ENABLED="false" - -# PERPS contract address ========================================================== -NEXT_PUBLIC_TRADING_CONTRACT_ADDRESS="0x9251319b7bb51165a200cd03db0b0e4f94340258" -NEXT_PUBLIC_STORAGE_CONTRACT_ADDRESS="0x9324fcd4d9f09ab437de73370aecc14b115bdc28" -NEXT_PUBLIC_BORROWING_FEES_CONTRACT_ADDRESS="0x0f432fd81e1f4590bc80f6333d6b0ba9920450e2" -NEXT_PUBLIC_PAIRS_STORAGE_CONTRACT_ADDRESS="0x1d24186859f1a7a1f1bb2e7164fb44ea14a8a45a" -NEXT_PUBLIC_BHONEY_VAULT_CONTRACT_ADDRESS="" # todo: this is missing on artio -NEXT_PUBLIC_BHONEY_GAUGE_VAULT_CONTRACT_ADDRESS="" # todo: this is missing on artio -NEXT_PUBLIC_REFERRALS_CONTRACT_ADDRESS="0x340b8ca1c5289e3848067f5ecc11e067e43d933d" -NEXT_PUBLIC_PYTH_CONTRACT_ADDRESS="" # todo: this is missing on artio -# Faucet =================================================================== -NEXT_PUBLIC_FAUCET_NAME="Faucet" -NEXT_PUBLIC_FAUCET_URL="https://artio.faucet.berachain.com" - -# Cloudinary & Media =================================================================== -NEXT_PUBLIC_TOKEN_LIST="https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/tokens/testnet/defaultTokenList.json" -NEXT_PUBLIC_MARKETS_LIST="" # todo: this is missing on artio -NEXT_PUBLIC_GAUGE_LIST="" # todo: this is missing on artio -NEXT_PUBLIC_VALIDATOR_LIST="https://raw.githubusercontent.com/berachain/default-token-list/main/src/validators/testnet/defaultValidatorList.json" -NEXT_PUBLIC_CLOUDINARY_URL="https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1" -NEXT_PUBLIC_DOCS_URL="https://docs.berachain.com" -NEXT_PUBLIC_CAREERS_URL="https://careers.berachain.com/" -NEXT_PUBLIC_MEDIA_KIT_URL="https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6" -NEXT_PUBLIC_BERAERA_BLOG_URL="https://medium.com/berachain-foundation/the-bera-era-has-begun-49a18c6d77c0" -NEXT_PUBLIC_FEEDBACK_URL="" - -# Socials =================================================================== -NEXT_PUBLIC_TWITTER="https://twitter.com/berachain" -NEXT_PUBLIC_TELEGRAM="https://t.me/BerachainPortal" -NEXT_PUBLIC_DISCORD="https://discord.com/invite/berachain" -NEXT_PUBLIC_GITHUB="https://github.com/berachain" - -# Chain =================================================================== -NEXT_PUBLIC_CHAIN_ID="80085" -NEXT_PUBLIC_CHAIN_NAME="Berachain-Artio" -NEXT_PUBLIC_NETWORK_NAME="Berachain-Artio" -NEXT_PUBLIC_JSON_RPC_URL="https://artio.rpc.berachain.com" -NEXT_PUBLIC_PUBLIC_JSON_RPC_URL="https://artio.rpc.berachain.com" -NEXT_PUBLIC_NETWORK_ICON_URL="https://res.cloudinary.com/duv0g402y/raw/upload/v1717603357/src/assets/bera.png" -NEXT_PUBLIC_NETWORK_CURRENCY="BERA" -NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS="18" -NEXT_PUBLIC_NETWORK_CURRENCY_NAME="Bera" - -# Chain contracts =================================================================== - -NEXT_PUBLIC_MULTICALL_ADDRESS="0x9d1dB8253105b007DDDE65Ce262f701814B91125" -# NEXT_PUBLIC_MULTICALL_CREATION_BLOCK="6983" - -# This is only going to work on whitelisted domains. -# Please create your own API key and add it to your .env.local file -NEXT_PUBLIC_DYNAMIC_API_KEY="b8a5104d-47e0-4965-b56a-0bcc31cf56f4" - - -# in seconds -NEXT_PUBLIC_BLOCKTIME="5" - -# Honey Addresses =================================================================== -NEXT_PUBLIC_HONEY_ROUTER_ADDRESS="0xAd1782b2a7020631249031618fB1Bd09CD926b31" -# Honey Tokens ====================================================================== -NEXT_PUBLIC_HONEY_ADDRESS="0x7EeCA4205fF31f947EdBd49195a7A88E6A91161B" -NEXT_PUBLIC_WBERA_ADDRESS="0x5806E416dA447b267cEA759358cF22Cc41FAE80F" -NEXT_PUBLIC_BERA_ADDRESS="0x0000000000000000000000000000000000000000" -NEXT_PUBLIC_STGUSDC_ADDRESS="0x1d0f659ff50d1830e449dd88e533cb11fb7a25e4" -NEXT_PUBLIC_WBTC_ADDRESS="0x9DAD8A1F64692adeB74ACa26129e0F16897fF4BB" -NEXT_PUBLIC_WETH_ADDRESS="0x8239FBb3e3D0C2cDFd7888D8aF7701240Ac4DcA4" -NEXT_PUBLIC_AHONEY_ADDRESS= # todo: this is missing on artio -NEXT_PUBLIC_VDHONEY_ADDRESS= # todo: this is missing on artio - -# Dex Addresses =================================================================== -NEXT_PUBLIC_RPC_CROC_DEX= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_QUERY= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_IMPACT= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_MULTIPATH= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_MULTISWAP= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_ROUTER_ENDPOINT= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_INDEXER_ENDPOINT= # todo: this is missing on artio - -# BGT Addresses =================================================================== -NEXT_PUBLIC_BGT_ADDRESS="0xAcD97aDBa1207dCf27d5C188455BEa8a32E80B8b" -NEXT_PUBLIC_BGT_STAKER= # todo: this is missing on artio -NEXT_PUBLIC_BGT_ENDPOINT= # todo: this is missing on artio -NEXT_PUBLIC_BGT_VAULT_BLACKLIST= # todo: this is missing on artio - -# Subgraphs =================================================================== -NEXT_PUBLIC_BEND_SUBGRAPH_URL= # todo: this is missing on artio -NEXT_PUBLIC_HONEY_SUBGRAPH_URL= # todo: this is missing on artio -NEXT_PUBLIC_RPC_CROC_SUBGRAPH= # todo: this is missing on artio -NEXT_PUBLIC_BGT_SUBGRAPH_URL= # todo: this is missing on artio -NEXT_PUBLIC_BGT_STAKER_SUBGRAPH_URL= # todo: this is missing on artio - -# Analytics - To be updated in .env.local ======================================== -NEXT_PUBLIC_MIXPANEL_PROJECT_TOKEN="" -NEXT_PUBLIC_SENTRY_DSN="" -SENTRY_AUTH_TOKEN="" -SENTRY_ORG="" -SENTRY_PROJECT="" -NEXT_PUBLIC_PROJECT_NAME="" -# Uncomment the following line to activate analytics locally -# NEXT_PUBLIC_DEVELOPMENT_ANALYTICS="true" - -# IPFS =================================================================== -# Uncomment the following line to build for IPFS -# NEXT_PUBLIC_HOST="ipfs" diff --git a/.env.bartio b/.env.bartio index 38c4d0aed..e2c29defa 100644 --- a/.env.bartio +++ b/.env.bartio @@ -8,9 +8,10 @@ NEXT_PUBLIC_HOMEPAGE_URL="https://www.berachain.com" NEXT_PUBLIC_HONEY_NAME="Honey" NEXT_PUBLIC_HONEY_URL="https://bartio.honey.berachain.com" -# BGT =================================================================== -NEXT_PUBLIC_BGT_NAME="BGT Station" -NEXT_PUBLIC_BGT_URL="https://bartio.station.berachain.com" +# Hub =================================================================== +NEXT_PUBLIC_HUB_NAME="BeraHub" +NEXT_PUBLIC_HUB_URL="https://hub.berachain.com" + # DEX =================================================================== NEXT_PUBLIC_DEX_NAME="BEX" NEXT_PUBLIC_DEX_URL="https://bartio.bex.berachain.com" @@ -26,6 +27,7 @@ NEXT_PUBLIC_LEND_UI_DATA_PROVIDER_ADDRESS="0xa0f2eA8A4D77c7055BfddDC434C65f17868 NEXT_PUBLIC_LEND_REWARDS_ADDRESS="0x2E8410239bB4b099EE2d5683e3EF9d6f04E321CC" NEXT_PUBLIC_LEND_HONEY_DEBT_TOKEN_ADDRESS="0x1339503343be5626B40Ee3Aee12a4DF50Aa4C0B9" NEXT_PUBLIC_PERIPHERY_DEBT_TOKEN_ADDRESS="0x1339503343be5626B40Ee3Aee12a4DF50Aa4C0B9" + # PERPS =================================================================== NEXT_PUBLIC_PERPS_NAME="BERPS" NEXT_PUBLIC_PERPS_URL="https://bartio.berps.berachain.com" @@ -88,10 +90,6 @@ NEXT_PUBLIC_MULTICALL_CREATION_BLOCK="6983" # Please create your own API key and add it to your .env.local file NEXT_PUBLIC_DYNAMIC_API_KEY="b8a5104d-47e0-4965-b56a-0bcc31cf56f4" - -# in seconds -NEXT_PUBLIC_BLOCKTIME="4" - # Honey Addresses =================================================================== NEXT_PUBLIC_HONEY_ROUTER_ADDRESS="0xAd1782b2a7020631249031618fB1Bd09CD926b31" # Honey Tokens ====================================================================== @@ -113,24 +111,27 @@ NEXT_PUBLIC_RPC_CROC_MULTISWAP="0x21e2C0AFd058A89FCf7caf3aEA3cB84Ae977B73D" NEXT_PUBLIC_RPC_CROC_ROUTER_ENDPOINT="https://bartio-bex-router.berachain-devnet.com" NEXT_PUBLIC_RPC_CROC_INDEXER_ENDPOINT="https://bartio-bex-indexer.berachain-devnet.com/gcgo/" -# BGT Addresses =================================================================== +# HUB Addresses =================================================================== NEXT_PUBLIC_BGT_ADDRESS="0xbDa130737BDd9618301681329bF2e46A016ff9Ad" NEXT_PUBLIC_BGT_STAKER="0x791fb53432eED7e2fbE4cf8526ab6feeA604Eb6d" NEXT_PUBLIC_BGT_ENDPOINT="https://bartio-pol-indexer.berachain-devnet.com/berachain/v1alpha1/beacon" NEXT_PUBLIC_BGT_VAULT_BLACKLIST="0x2E8410239bB4b099EE2d5683e3EF9d6f04E321CC" NEXT_PUBLIC_BERA_CHEF_ADDRESS="0xfb81E39E3970076ab2693fA5C45A07Cc724C93c2" +NEXT_PUBLIC_GOVERNANCE_TIMELOCK_ADDRESS="0xcB364028856f2328148Bb32f9D6E7a1F86451b1c" +NEXT_PUBLIC_GOVERNANCE_TOKEN_ADDRESS="0xbDa130737BDd9618301681329bF2e46A016ff9Ad" +NEXT_PUBLIC_GOVERNOR_ADDRESS="0xE3EDa03401Cf32010a9A9967DaBAEe47ed0E1a0b" + # Subgraphs =================================================================== +NEXT_PUBLIC_GOVERNANCE_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/v0.4.1/gn" +NEXT_PUBLIC_CHAIN_BLOCKS_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/v0.0.1/gn" NEXT_PUBLIC_BEND_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bend-subgraph/v1/gn" NEXT_PUBLIC_HONEY_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/v1/gn" NEXT_PUBLIC_RPC_CROC_SUBGRAPH="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/v0.1.4/gn" NEXT_PUBLIC_BGT_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/v0.1.4/gn" NEXT_PUBLIC_BGT_STAKER_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bgt-staker-subgraph/v1/gn" -# Governance =================================================================== -NEXT_PUBLIC_GOVERNANCE_SUBGRAPH_URL="https://api.tally.xyz/query" -NEXT_PUBLIC_GOVERNANCE_ORGANIZATION_ID="2353392782418118594" -NEXT_PUBLIC_GOVERNANCE_TIMELOCK_ADDRESS="0xcB364028856f2328148Bb32f9D6E7a1F86451b1c" -NEXT_PUBLIC_GOVERNANCE_TOKEN_ADDRESS="0xbDa130737BDd9618301681329bF2e46A016ff9Ad" -NEXT_PUBLIC_GOVERNOR_ADDRESS="0xE3EDa03401Cf32010a9A9967DaBAEe47ed0E1a0b" + +# in seconds +NEXT_PUBLIC_FALLBACK_BLOCKTIME="1.9" \ No newline at end of file diff --git a/.env.v2 b/.env.v2 deleted file mode 100644 index e2c29defa..000000000 --- a/.env.v2 +++ /dev/null @@ -1,137 +0,0 @@ -# Block Explorer =================================================================== -NEXT_PUBLIC_BLOCK_EXPLORER_NAME="Beratrails" -NEXT_PUBLIC_BLOCK_EXPLORER="https://bartio.beratrail.io" -# Homepage/foundation ============================================================== -NEXT_PUBLIC_HOMEPAGE_NAME="Berachain Foundation" -NEXT_PUBLIC_HOMEPAGE_URL="https://www.berachain.com" -# HONEY =================================================================== -NEXT_PUBLIC_HONEY_NAME="Honey" -NEXT_PUBLIC_HONEY_URL="https://bartio.honey.berachain.com" - -# Hub =================================================================== -NEXT_PUBLIC_HUB_NAME="BeraHub" -NEXT_PUBLIC_HUB_URL="https://hub.berachain.com" - -# DEX =================================================================== -NEXT_PUBLIC_DEX_NAME="BEX" -NEXT_PUBLIC_DEX_URL="https://bartio.bex.berachain.com" -# LEND =================================================================== -NEXT_PUBLIC_LEND_NAME="BEND" -NEXT_PUBLIC_LEND_URL="https://bartio.bend.berachain.com" -NEXT_PUBLIC_LEND_DOCS_URL="https://docs.bend.berachain.com" -# LEND contract address ========================================================== -NEXT_PUBLIC_LEND_POOL_ADDRESS_PROVIDER="0x8297A07f87a8576b88d46e636c05B84E4Ea8265D" -NEXT_PUBLIC_LEND_ORACLE_ADDRESS="0x18fDa978e01196B2D5037dF9a9c0C9d3ab843344" -NEXT_PUBLIC_LEND_POOL_IMPLEMENTATION_ADDRESS="0x30A3039675E5b5cbEA49d9a5eacbc11f9199B86D" -NEXT_PUBLIC_LEND_UI_DATA_PROVIDER_ADDRESS="0xa0f2eA8A4D77c7055BfddDC434C65f17868Dfaca" -NEXT_PUBLIC_LEND_REWARDS_ADDRESS="0x2E8410239bB4b099EE2d5683e3EF9d6f04E321CC" -NEXT_PUBLIC_LEND_HONEY_DEBT_TOKEN_ADDRESS="0x1339503343be5626B40Ee3Aee12a4DF50Aa4C0B9" -NEXT_PUBLIC_PERIPHERY_DEBT_TOKEN_ADDRESS="0x1339503343be5626B40Ee3Aee12a4DF50Aa4C0B9" - -# PERPS =================================================================== -NEXT_PUBLIC_PERPS_NAME="BERPS" -NEXT_PUBLIC_PERPS_URL="https://bartio.berps.berachain.com" -NEXT_PUBLIC_PERPS_DOCS_URL="https://docs.berps.berachain.com" -NEXT_PUBLIC_PERPS_ENDPOINT_URL="https://bartio-berps.berachain-devnet.com" -NEXT_PUBLIC_PERPS_PRICES_ENDPOINT_URL="https://hermes.pyth.network" -NEXT_PUBLIC_PERPS_PRICES_BENCHMARK_URL="https://benchmarks.pyth.network" -NEXT_PUBLIC_PERPS_COMPETITION_ID="default" -NEXT_PUBLIC_PERPS_PYTH_PRICES_MOCKED="false" -NEXT_PUBLIC_PERPS_TRADINGVIEW_ENABLED="false" - -# PERPS contract address ========================================================== -NEXT_PUBLIC_TRADING_CONTRACT_ADDRESS="0xb3395EeeA7701E0037bBC6Ab52953C6fB0c3326c" -NEXT_PUBLIC_STORAGE_CONTRACT_ADDRESS="0xB87196E95A7C38192D57087D54b3a5F996D17F1A" -NEXT_PUBLIC_BORROWING_FEES_CONTRACT_ADDRESS="0x0B92C464a41e515559064A737F6A165d43F01d43" -NEXT_PUBLIC_PAIRS_STORAGE_CONTRACT_ADDRESS="0x61C3ADb0a2c48B80F8fFcF51551d20053f686aCF" -NEXT_PUBLIC_BHONEY_VAULT_CONTRACT_ADDRESS="0x1306D3c36eC7E38dd2c128fBe3097C2C2449af64" -NEXT_PUBLIC_BHONEY_GAUGE_VAULT_CONTRACT_ADDRESS="0xC5Cb3459723B828B3974f7E58899249C2be3B33d" -NEXT_PUBLIC_REFERRALS_CONTRACT_ADDRESS="0x50023e115ead2111e29AFf61DBd8BE04F0CC94A6" -NEXT_PUBLIC_PYTH_CONTRACT_ADDRESS="0x2880aB155794e7179c9eE2e38200202908C17B43" -# Faucet =================================================================== -NEXT_PUBLIC_FAUCET_NAME="Faucet" -NEXT_PUBLIC_FAUCET_URL="https://bartio.faucet.berachain.com" - -# Cloudinary & Media =================================================================== -NEXT_PUBLIC_TOKEN_LIST="https://raw.githubusercontent.com/berachain/default-lists/main/src/tokens/bartio/defaultTokenList.json" -NEXT_PUBLIC_MARKETS_LIST="https://raw.githubusercontent.com/berachain/default-lists/main/src/gauges/bartio/defaultGaugeList.json" -NEXT_PUBLIC_GAUGE_LIST="https://raw.githubusercontent.com/berachain/default-lists/main/src/gauges/bartio/defaultGaugeList.json" -NEXT_PUBLIC_VALIDATOR_LIST="https://raw.githubusercontent.com/berachain/default-lists/main/src/validators/bartio/defaultValidatorList.json" -NEXT_PUBLIC_CLOUDINARY_URL="https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1" -NEXT_PUBLIC_DOCS_URL="https://docs.berachain.com" -NEXT_PUBLIC_CAREERS_URL="https://careers.berachain.com/" -NEXT_PUBLIC_MEDIA_KIT_URL="https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6" -NEXT_PUBLIC_BERAERA_BLOG_URL="https://medium.com/berachain-foundation/the-bera-era-has-begun-49a18c6d77c0" -NEXT_PUBLIC_FEEDBACK_URL="" - -# Socials =================================================================== -NEXT_PUBLIC_TWITTER="https://twitter.com/berachain" -NEXT_PUBLIC_TELEGRAM="https://t.me/BerachainPortal" -NEXT_PUBLIC_DISCORD="https://discord.com/invite/berachain" -NEXT_PUBLIC_GITHUB="https://github.com/berachain" - -# Chain =================================================================== -NEXT_PUBLIC_CHAIN_ID="80084" -NEXT_PUBLIC_CHAIN_NAME="Berachain-bartio" -NEXT_PUBLIC_NETWORK_NAME="Berachain-bartio" -NEXT_PUBLIC_JSON_RPC_URL="https://bartio.rpc.berachain.com/" -NEXT_PUBLIC_PUBLIC_JSON_RPC_URL="https://bartio.rpc.berachain.com/" -NEXT_PUBLIC_NETWORK_ICON_URL="https://res.cloudinary.com/duv0g402y/raw/upload/v1717603357/src/assets/bera.png" -NEXT_PUBLIC_NETWORK_CURRENCY="BERA" -NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS="18" -NEXT_PUBLIC_NETWORK_CURRENCY_NAME="Bera" - -# Chain contracts =================================================================== - -NEXT_PUBLIC_MULTICALL_ADDRESS="0x2A92Cb4C05eF36bd589EB8A70472dbA10c1F1212" -NEXT_PUBLIC_MULTICALL_CREATION_BLOCK="6983" - -# This is only going to work on whitelisted domains. -# Please create your own API key and add it to your .env.local file -NEXT_PUBLIC_DYNAMIC_API_KEY="b8a5104d-47e0-4965-b56a-0bcc31cf56f4" - -# Honey Addresses =================================================================== -NEXT_PUBLIC_HONEY_ROUTER_ADDRESS="0xAd1782b2a7020631249031618fB1Bd09CD926b31" -# Honey Tokens ====================================================================== -NEXT_PUBLIC_HONEY_ADDRESS="0x0E4aaF1351de4c0264C5c7056Ef3777b41BD8e03" -NEXT_PUBLIC_WBERA_ADDRESS="0x7507c1dc16935B82698e4C63f2746A2fCf994dF8" -NEXT_PUBLIC_BERA_ADDRESS="0x0000000000000000000000000000000000000000" -NEXT_PUBLIC_STGUSDC_ADDRESS="0xd6D83aF58a19Cd14eF3CF6fe848C9A4d21e5727c" -NEXT_PUBLIC_WBTC_ADDRESS="0x286F1C3f0323dB9c91D1E8f45c8DF2d065AB5fae" -NEXT_PUBLIC_WETH_ADDRESS="0x6E1E9896e93F7A71ECB33d4386b49DeeD67a231A" -NEXT_PUBLIC_AHONEY_ADDRESS="0xD08391c5977ebF1a09bB5915908EF5cd95Edb7E0" -NEXT_PUBLIC_VDHONEY_ADDRESS="0x0bF0Eb9aE016A624E2149D4C5F47fD9276285C82" - -# Dex Addresses =================================================================== -NEXT_PUBLIC_RPC_CROC_DEX="0xAB827b1Cc3535A9e549EE387A6E9C3F02F481B49" -NEXT_PUBLIC_RPC_CROC_QUERY="0x8685CE9Db06D40CBa73e3d09e6868FE476B5dC89" -NEXT_PUBLIC_RPC_CROC_IMPACT="0xCfEa3579a06e2e9a596D311486D12B3a49a919Cd" -NEXT_PUBLIC_RPC_CROC_MULTIPATH="0xaC6a0430517E078b48b41De9736e4652B35DF5c2" -NEXT_PUBLIC_RPC_CROC_MULTISWAP="0x21e2C0AFd058A89FCf7caf3aEA3cB84Ae977B73D" -NEXT_PUBLIC_RPC_CROC_ROUTER_ENDPOINT="https://bartio-bex-router.berachain-devnet.com" -NEXT_PUBLIC_RPC_CROC_INDEXER_ENDPOINT="https://bartio-bex-indexer.berachain-devnet.com/gcgo/" - -# HUB Addresses =================================================================== -NEXT_PUBLIC_BGT_ADDRESS="0xbDa130737BDd9618301681329bF2e46A016ff9Ad" -NEXT_PUBLIC_BGT_STAKER="0x791fb53432eED7e2fbE4cf8526ab6feeA604Eb6d" -NEXT_PUBLIC_BGT_ENDPOINT="https://bartio-pol-indexer.berachain-devnet.com/berachain/v1alpha1/beacon" -NEXT_PUBLIC_BGT_VAULT_BLACKLIST="0x2E8410239bB4b099EE2d5683e3EF9d6f04E321CC" -NEXT_PUBLIC_BERA_CHEF_ADDRESS="0xfb81E39E3970076ab2693fA5C45A07Cc724C93c2" - -NEXT_PUBLIC_GOVERNANCE_TIMELOCK_ADDRESS="0xcB364028856f2328148Bb32f9D6E7a1F86451b1c" -NEXT_PUBLIC_GOVERNANCE_TOKEN_ADDRESS="0xbDa130737BDd9618301681329bF2e46A016ff9Ad" -NEXT_PUBLIC_GOVERNOR_ADDRESS="0xE3EDa03401Cf32010a9A9967DaBAEe47ed0E1a0b" - -# Subgraphs =================================================================== -NEXT_PUBLIC_GOVERNANCE_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/v0.4.1/gn" -NEXT_PUBLIC_CHAIN_BLOCKS_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/v0.0.1/gn" -NEXT_PUBLIC_BEND_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bend-subgraph/v1/gn" -NEXT_PUBLIC_HONEY_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/v1/gn" -NEXT_PUBLIC_RPC_CROC_SUBGRAPH="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/v0.1.4/gn" -NEXT_PUBLIC_BGT_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/v0.1.4/gn" -NEXT_PUBLIC_BGT_STAKER_SUBGRAPH_URL="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bgt-staker-subgraph/v1/gn" - - - -# in seconds -NEXT_PUBLIC_FALLBACK_BLOCKTIME="1.9" \ No newline at end of file diff --git a/.github/workflows/ipfs-deploy.yml b/.github/workflows/ipfs-deploy.yml index 2da27d427..7b2656200 100644 --- a/.github/workflows/ipfs-deploy.yml +++ b/.github/workflows/ipfs-deploy.yml @@ -38,7 +38,7 @@ jobs: run: pnpm i -g @fleek-platform/cli - name: Set environment variables - run: pnpm setenv:v2 + run: pnpm setenv:bartio - name: Build all projects env: diff --git a/.github/workflows/ipfs-static-build-test.yml b/.github/workflows/ipfs-static-build-test.yml index f7bcc49be..ccbd52be2 100644 --- a/.github/workflows/ipfs-static-build-test.yml +++ b/.github/workflows/ipfs-static-build-test.yml @@ -31,7 +31,7 @@ jobs: run: pnpm install - name: Set environment variables - run: pnpm setenv:v2 + run: pnpm setenv:bartio - name: Build all projects env: diff --git a/README.md b/README.md index 9290bd37a..435df862c 100755 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ In order to setup your local environment, run ``` pnpm i -pnpm setenv v2 +pnpm setenv bartio ``` You'll also need to run @@ -36,8 +36,7 @@ All Berachain dapps are built to be single chain applications. | Environment Variables | Environment | | --------------------- | ---------------------------------------------------------------------------------------------- | -| `.env.v2` | Environment variables for future release of Berachain dapps | -| `.env.bartio` | Environment variables used for testing on `bartio` branch. It's not supported on `v2` branch. | +| `.env.bartio` | Environment variables for Berachain bartio testnet | ## Commands diff --git a/package.json b/package.json index a74610bbf..113127925 100755 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "setenv": "node ./.scripts/set-env.js", "setenv:artio": "pnpm run setenv artio", "setenv:bartio": "pnpm run setenv bartio", - "setenv:v2": "pnpm run setenv v2", "dev": "turbo dev --concurrency=20", "build:hub": "turbo build --filter=hub --filter='./packages/*' --concurrency=20", "build:honey": "turbo build --filter=honey --filter='./packages/*' --concurrency=20", diff --git a/turbo.json b/turbo.json index c3018e019..6770bc6e5 100755 --- a/turbo.json +++ b/turbo.json @@ -26,7 +26,7 @@ "dev": { "persistent": true, "cache": false, - "env": [".env.v2"] + "env": [".env.bartio"] }, "check-types": { "dependsOn": ["^build"],