diff --git a/explorer-ui/.env b/explorer-ui/.env new file mode 100644 index 0000000..0fb3961 --- /dev/null +++ b/explorer-ui/.env @@ -0,0 +1,7 @@ +#REACT_APP_SQUID_ENDPOINT=https://suba.epirus.io/squid/graphql +REACT_APP_SQUID_ENDPOINT=https://substrate.sirato.xyz/squid/graphql +REACT_APP_SQUID_ARCHIVE_ENDPOINT=https://substrate.sirato.xyz:4445/graphql +# REACT_APP_SQUID_ARCHIVE_ENDPOINT=http://localhost:4444/graphql +REACT_APP_SOURCE_CODE_ENABLED=true +REACT_APP_VERIFIER_ENDPOINT=https://ink-verifier.sirato.xyz/api +REACT_APP_VERIFIER_WS_ENDPOINT=wss://ink-verifier.sirato.xyz/api diff --git a/explorer-ui/.env.example b/explorer-ui/.env.example index a89011d..ebf0376 100644 --- a/explorer-ui/.env.example +++ b/explorer-ui/.env.example @@ -1,4 +1,5 @@ -REACT_APP_SQUID_ENDPOINT=http://localhost:4350/graphql -REACT_APP_SOURCE_CODE_ENABLED=false -REACT_APP_VERIFIER_ENDPOINT=http://127.0.0.1:3001 -REACT_APP_VERIFIER_WS_ENDPOINT=ws://127.0.0.1:3001 +REACT_APP_SQUID_ENDPOINT=https://substrate.sirato.xyz/squid/graphql +REACT_APP_SQUID_ARCHIVE_ENDPOINT=https://substrate.sirato.xyz:4445/graphql +REACT_APP_SOURCE_CODE_ENABLED=true +REACT_APP_VERIFIER_ENDPOINT=https://ink-verifier.sirato.xyz/api +REACT_APP_VERIFIER_WS_ENDPOINT=wss://ink-verifier.sirato.xyz/api diff --git a/explorer-ui/.gitignore b/explorer-ui/.gitignore index dfca2c8..3400e72 100644 --- a/explorer-ui/.gitignore +++ b/explorer-ui/.gitignore @@ -13,7 +13,6 @@ # misc .DS_Store -.env npm-debug.log* yarn-debug.log* @@ -21,4 +20,4 @@ yarn-error.log* .analysis/ -/public/runtime-env.js \ No newline at end of file +/public/runtime-env.js diff --git a/explorer-ui/public/runtime-env.js b/explorer-ui/public/runtime-env.js index ebfd9fd..5488882 100644 --- a/explorer-ui/public/runtime-env.js +++ b/explorer-ui/public/runtime-env.js @@ -1 +1 @@ -window.__RUNTIME_CONFIG__ = {"REACT_APP_SQUID_ENDPOINT":"https://aleph-zero.sirato.xyz/query/graphql","REACT_APP_SQUID_ARCHIVE_ENDPOINT":"http://localhost:4444/graphql","REACT_APP_SOURCE_CODE_ENABLED":"true","REACT_APP_VERIFIER_ENDPOINT":"https://ink-source-code-verifier.sirato.xyz/api","REACT_APP_VERIFIER_WS_ENDPOINT":"wss://ink-source-code-verifier.sirato.xyz/api"}; \ No newline at end of file +window.__RUNTIME_CONFIG__ = {"REACT_APP_SQUID_ENDPOINT":"https://substrate.sirato.xyz/squid/graphql","REACT_APP_SQUID_ARCHIVE_ENDPOINT":"https://substrate.sirato.xyz:4445/graphql","REACT_APP_SOURCE_CODE_ENABLED":"true","REACT_APP_VERIFIER_ENDPOINT":"https://ink-verifier.sirato.xyz/api","REACT_APP_VERIFIER_WS_ENDPOINT":"wss://ink-verifier.sirato.xyz/api"}; \ No newline at end of file