diff --git a/README.md b/README.md index 73ad26f80..428322a3e 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ -# TANGOSWAP +# TANGOswap Interface + +TANGOswap Interface is a progressive web application for the TANGOswap Protocol. + +## Getting started + +This one-liner assumes you have git, nvm & yarn installed. + +```sh +git clone https://github.com/tangoswap-cash/tangoswap-interface.git && cd tangoswap-interface && nvm use && yarn && yarn dev +``` + +## Add your logo + +Add your logo by opening a PR against tangoswap-cash/assets + +## Licence + +MIT diff --git a/package.json b/package.json index e455ea640..d4cb8e2d8 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@sushiswap/sushi-data": "^1.0.24", "@tailwindcss/jit": "^0.1.18", "@tangoswapcash/core": "0.0.11", - "@tangoswapcash/default-token-list": "0.0.11", + "@tangoswapcash/default-token-list": "0.0.12", "@tangoswapcash/sdk": "^0.0.10", "@transak/transak-sdk": "^1.0.28", "@types/node": "^15.12.2", diff --git a/public/site.webmanifest b/public/site.webmanifest index b404739e7..43e20dc8d 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1,6 +1,6 @@ { "name": "TangoSwap App", - "short_name": "TangoSwap", + "short_name": "TANGO", "icons": [ { "src": "/android-chrome-36x36.png", diff --git a/src/services/graph/fetchers/exchange.ts b/src/services/graph/fetchers/exchange.ts index a7c34161a..c1e8cbc43 100644 --- a/src/services/graph/fetchers/exchange.ts +++ b/src/services/graph/fetchers/exchange.ts @@ -18,7 +18,7 @@ import { GRAPH_HOST } from '../constants' import { pager } from './' export const EXCHANGE = { - [ChainId.SMARTBCH]: 'tangoswap-cash/exchange', + [ChainId.SMARTBCH]: 'tangoswap/exchange', } export const exchange = async (chainId = ChainId.SMARTBCH, query, variables = {}) => diff --git a/src/services/graph/fetchers/masterchef.ts b/src/services/graph/fetchers/masterchef.ts index c4cd46be7..f4bd646b0 100644 --- a/src/services/graph/fetchers/masterchef.ts +++ b/src/services/graph/fetchers/masterchef.ts @@ -13,14 +13,14 @@ import { getTokenSubset } from './exchange' import { request } from 'graphql-request' export const MASTERCHEF_V2 = { - [ChainId.SMARTBCH]: 'sushiswap/master-chefv2', + [ChainId.SMARTBCH]: 'tangoswap/master-chefv2', } export const masterChefV2 = async (query, chainId = ChainId.SMARTBCH, variables = undefined) => request(`${GRAPH_HOST[chainId]}/subgraphs/name/${MASTERCHEF_V2[chainId]}`, query, variables) export const MASTERCHEF_V1 = { - [ChainId.SMARTBCH]: 'sushiswap/master-chef', + [ChainId.SMARTBCH]: 'tangoswap/master-chef', } export const masterChefV1 = async (query, chainId = ChainId.SMARTBCH, variables = undefined) => diff --git a/yarn.lock b/yarn.lock index 20bf7208a..3e485559d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2664,10 +2664,10 @@ dependencies: eip-712 "^0.4.3" -"@tangoswapcash/default-token-list@0.0.11": - version "0.0.11" - resolved "https://registry.yarnpkg.com/@tangoswapcash/default-token-list/-/default-token-list-0.0.11.tgz#a7edd5d962ae3316d7c775e4ae41d73d2dd20988" - integrity sha512-jIzl/9kAcXvuKPBZ4GdJ6qF7ytRR8Ci3hgCrSNg+kM84poB7bmDYZl5F9UBagDNLoM2xNh6zXfOlpd4thkfl+Q== +"@tangoswapcash/default-token-list@0.0.12": + version "0.0.12" + resolved "https://registry.yarnpkg.com/@tangoswapcash/default-token-list/-/default-token-list-0.0.12.tgz#de590a2abb41d332b98d739be038b4030c9adf52" + integrity sha512-DibxtwMW7Eq24rLDD6BxEYDAdxnrZXChGQqdcPnPjK5gI5ch9SEtnDRTH8DX81jFKI21PljWrfCsRr11915ioA== dependencies: commitlint "^13.1.0" lint-staged "^11.1.2"