diff --git a/package.json b/package.json index 75cfdfc..aa107f0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "test": "echo \"Error: no test specified\" && exit 1", "prepare": "husky install", "start:testnet": "LINEAR_BOS_URL=https://test.near.org/linear-builder.testnet/widget/LiNEAR && open $LINEAR_BOS_URL && echo \"Preview at: $LINEAR_BOS_URL\"", - "dev": "yarn start:testnet && bos-loader linear-builder.testnet --path src" + "start:mainnet": "LINEAR_BOS_URL=https://dev.near.org/linearprotocol.near/widget/LiNEAR && open $LINEAR_BOS_URL && echo \"Preview at: $LINEAR_BOS_URL\"", + "dev": "yarn start:testnet && bos-loader linear-builder.testnet --path src", + "dev:mainnet": "yarn start:mainnet && bos-loader linearprotocol.near --path src" }, "repository": { "type": "git", diff --git a/src/LiNEAR/Data/Stake.jsx b/src/LiNEAR/Data/Stake.jsx index 5d8480b..822ce8e 100644 --- a/src/LiNEAR/Data/Stake.jsx +++ b/src/LiNEAR/Data/Stake.jsx @@ -4,7 +4,7 @@ const accountId = props.accountId || context.accountId; const LiNEAR_DECIMALS = 24; const subgraphApiUrl = context.networkId === "mainnet" - ? "https://gateway-arbitrum.network.thegraph.com/api/70c104a4cbe006bc60a3701a27d959bf/subgraphs/id/H5F5XGL2pYCBY89Ycxzafq2RkLfqJvM47X533CwwPNjg" + ? "https://api.studio.thegraph.com/query/76854/linear/version/latest" : "https://api.studio.thegraph.com/query/76854/linear-testnet/version/latest"; const { config, onLoad } = props;