Skip to content

Instantly share code, notes, and snippets.

@domwoe
Last active April 6, 2024 16:08
Show Gist options
  • Save domwoe/1085303f6fa4e30400a04feb1c2547bd to your computer and use it in GitHub Desktop.
Save domwoe/1085303f6fa4e30400a04feb1c2547bd to your computer and use it in GitHub Desktop.
Uniswap interface fixes
git clone https://github.com/Uniswap/interface
cd interface
mkdir apps/web/src/utils/__generated__
touch .env.defaults
// Copy & paste
ALCHEMY_API_KEY = 'key'
AMPLITUDE_EXPERIMENTS_DEPLOYMENT_KEY = 'key'
APPSFLYER_API_KEY = 'key'
APPSFLYER_APP_ID = "123"
FIAT_ON_RAMP_API_URL = 'https://api.uniswap.org'
MOONPAY_API_KEY = 'key'
MOONPAY_API_URL = 'https://api.moonpay.com'
MOONPAY_WIDGET_API_URL = 'https://api.moonpay.com'
INFURA_PROJECT_ID = "123"
ONESIGNAL_APP_ID = "123"
QUICKNODE_BNB_RPC_URL = 'https://api.uniswap.org'
SENTRY_DSN = 'http://sentry.com'
SHAKE_CLIENT_ID = "123"
SHAKE_CLIENT_SECRET = "123"
SIMPLEHASH_API_KEY = 'key'
SIMPLEHASH_API_URL = 'https://api.simplehash.com'
STATSIG_PROXY_URL = 'https://api.statsig.com'
TEMP_SCANTASTIC_URL = 'https://api.uniswap.org'
TRADING_API_KEY = 'key'
TRADING_API_URL = 'https://api.uniswap.org'
UNISWAP_API_KEY = 'key'
UNISWAP_API_BASE_URL = 'https://api.uniswap.org'
UNISWAP_APP_URL = 'https://app.uniswap.org'
WALLETCONNECT_PROJECT_ID = "123"
UNITAGS_API_URL = 'https://api.uniswap.org/unitags'
FIREBASE_APP_CHECK_DEBUG_TOKEN = 'token'
touch dfx.json
{
"canisters": {
"interface": {
"frontend": {
"entrypoint": "apps/web/build/index.html"
},
"source": ["apps/web/build"],
"type": "assets"
}
},
"version": 1
}
add build to package.json scripts
dfx deploy --network=ic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment