diff --git a/.github/workflows/dashboard-ci.yml b/.github/workflows/dapp-ci.yml similarity index 98% rename from .github/workflows/dashboard-ci.yml rename to .github/workflows/dapp-ci.yml index 83aac70a3..480bfda12 100644 --- a/.github/workflows/dashboard-ci.yml +++ b/.github/workflows/dapp-ci.yml @@ -1,4 +1,4 @@ -name: Token Dashboard / CI +name: Dapp / CI on: schedule: @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: yarn install --ignore-scripts --frozen-lockfile - - name: Run token-dashboard post-install script + - name: Run dapp post-install script run: yarn run postinstall - name: Check formatting diff --git a/.github/workflows/dashboard-mainnet.yml b/.github/workflows/dapp-mainnet.yml similarity index 98% rename from .github/workflows/dashboard-mainnet.yml rename to .github/workflows/dapp-mainnet.yml index e53f4189c..5605aec2d 100644 --- a/.github/workflows/dashboard-mainnet.yml +++ b/.github/workflows/dapp-mainnet.yml @@ -1,4 +1,4 @@ -name: Token Dashboard / Mainnet +name: Dapp / Mainnet on: push: @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: yarn install --ignore-scripts --frozen-lockfile - - name: Run token-dashboard post-install script + - name: Run dapp post-install script run: yarn run postinstall # FIXME: It's work in progress, the contracts are not yet published. diff --git a/.github/workflows/reusable-build-and-publish.yml b/.github/workflows/reusable-build-and-publish.yml index d8279aa21..72152573e 100644 --- a/.github/workflows/reusable-build-and-publish.yml +++ b/.github/workflows/reusable-build-and-publish.yml @@ -1,4 +1,4 @@ -name: Build the dashboard and deploy to a GCP Bucket +name: Build the dapp and deploy to a GCP Bucket on: workflow_call: inputs: @@ -99,7 +99,7 @@ jobs: shell: bash run: yarn install --ignore-scripts --frozen-lockfile - - name: Run token-dashboard post-install script + - name: Run dapp post-install script shell: bash run: yarn run postinstall diff --git a/CODEOWNERS b/CODEOWNERS index c6d8575e9..75e41216e 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -.github/workflows/dashboard-mainnet.yml @pdyraga @nkuba @lukasz-zimnoch \ No newline at end of file +.github/workflows/dapp-mainnet.yml @pdyraga @nkuba @lukasz-zimnoch \ No newline at end of file diff --git a/README.md b/README.md index d237a38a1..4f437c192 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Threshold Token Dashboard +# Threshold Token dapp -[![Token Dashboard / CI](https://github.com/threshold-network/token-dashboard/actions/workflows/dashboard-ci.yml/badge.svg?branch=main&event=push)](https://github.com/threshold-network/token-dashboard/actions/workflows/dashboard-ci.yml) +[![Dapp / CI](https://github.com/threshold-network/dapp/actions/workflows/dapp-ci.yml/badge.svg?branch=main&event=push)](https://github.com/threshold-network/dapp/actions/workflows/dapp-ci.yml) [![Docs](https://img.shields.io/badge/docs-website-green)](https://docs.threshold.network) [![Chat with us on Discord](https://img.shields.io/badge/chat-Discord-5865f2.svg)](https://discord.gg/threshold) @@ -72,7 +72,7 @@ yarn upgrade @threshold-network/solidity-contracts@goerli \ using `goerli` tag results in `expected manifest` error - probably caused by bug in Yarn: https://github.com/yarnpkg/yarn/issues/4731. -**NOTE 2:** The `token-dashboard` package contains an indirect dependency to +**NOTE 2:** The `dapp` project contains an indirect dependency to `@summa-tx/relay-sol@2.0.2` package, which downloads one of its sub-dependencies via unathenticated `git://` protocol. That protocol is no longer supported by GitHub. This means that in certain situations installation of the package or @@ -100,7 +100,7 @@ The following procedure allows to deploy T token dashboard to production: and creating a PR with a release branch is not required. Dependencies and project version needs to be updated on the release branch. All `-dev`, `-goerli` dependencies need to be updated to mainnet versions. - See [this commit](https://github.com/threshold-network/token-dashboard/commit/5452b68886ebc514d941a087973dfa9ac3802a7e) + See [this commit](https://github.com/threshold-network/dapp/commit/5452b68886ebc514d941a087973dfa9ac3802a7e) for `v1.0.0` release as a good example. 2. Preview of the release branch will be uploaded to `preview.dashboard.threshold.network` under the directory named after the release branch. For example: diff --git a/package.json b/package.json index 6efee6457..202b65ae2 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "token-dashboard", + "name": "dapp", "version": "1.8.0-pre", "private": true, "dependencies": { diff --git a/src/enums/externalHref.ts b/src/enums/externalHref.ts index 7083ed670..0d5ff2bfe 100644 --- a/src/enums/externalHref.ts +++ b/src/enums/externalHref.ts @@ -1,5 +1,5 @@ export enum ExternalHref { - thresholdGithub = "https://github.com/threshold-network/token-dashboard", + thresholdGithub = "https://github.com/threshold-network/dapp", thresholdDiscord = "https://discord.gg/WXK9PC6SRF", metamaskHomePage = "https://metamask.io/", stakingContractLeanMore = "https://github.com/threshold-network/solidity-contracts/issues/53", diff --git a/src/store/tbtc/tbtcSlice.ts b/src/store/tbtc/tbtcSlice.ts index 0fafce581..bd43e2336 100644 --- a/src/store/tbtc/tbtcSlice.ts +++ b/src/store/tbtc/tbtcSlice.ts @@ -151,5 +151,5 @@ export const registerTBTCListeners = () => { } // TODO: Move to the `../listener` file once we merge -// https://github.com/threshold-network/token-dashboard/pull/302. +// https://github.com/threshold-network/dapp/pull/302. registerTBTCListeners() diff --git a/src/web3/connectors/coinbaseWallet.ts b/src/web3/connectors/coinbaseWallet.ts index 3fc86638d..e4f475a45 100644 --- a/src/web3/connectors/coinbaseWallet.ts +++ b/src/web3/connectors/coinbaseWallet.ts @@ -39,6 +39,6 @@ class CoinbaseWalletConnector extends WalletLinkConnector { export const coinbaseConnector = new CoinbaseWalletConnector({ url: rpcUrl, - appName: "threshold-token-dashboard", + appName: "threshold-dapp", supportedChainIds: [+supportedChainId], })